Releases: facebookarchive/prepack
v0.2.54
- Fix referentialization of optimized functions
- Fix serialization issues for nested optimized functions
- Model aliasing effects for array loop operators
- Fix dependency issues with cyclic prototype dependencies
- Fix problem where a bind call can use a variable before its definition
- Speed up visitor by skipping redundant generator scopes
v0.2.52
v0.2.51
v0.2.50
Highlights:
Make simplification more robust when complexity limits are reached
reduces loop iteration counter to 6 before bailing out
We weren’t using the correct initializerAstNodeName in two places
Tease apart expressions vs. statements for operation descriptors
Simplify equality expressions where types are known
Refactor AbstractObjectValue to use evaluateWithAbstractConditional
Allow invalid render return values in the React reconciler
update Babel 7 to stable release
Speed up simplifier by using an implication cache per path branch
Add basic support for throws in React
v0.2.49
v0.2.48
Fixes #2151 #2222 #2279 #2393 #2399 #2404 #2411 #2414 #2415
Added a fuzz testing tool
Added test cases
Turn crash in JSON.stringify into a diagnostic
Adds a arrayNestedOptimizedFunctionsEnabled
flag to enable nested optimized functions derived from Array.prototype methods (like map
) and Array.from
Refactor assignment on partial or possibly deleted property
Rewrote the joining logic to always do a full join at every join point
Removed last remnants of delayUnsupportedRequires
v0.2.47
v0.2.46
- Bugfixes, refactors
- extended use of simplification to prepack more code
- improved shape modeling
- Added ability to materialize objects without havocing
- new
--reproUnconditionally
and--reproOnFatal
options in Prepack- creates zip file with all files needed to debug the failure
- creates
repro.sh
script that can open Nuclide debugger, pre-populating the original arguments causing the failure
v0.2.45
- Enhanced dead code elimination for optimized functions
- Much of the buildNode and inline Babel logic has been moved to a dedicated ResidualOperationSerializer class
- Provide a way to temporarily disable effects tracking
- Simplified forked completion constructors
- React components can have their props modelled via
__optimizeReactComponentTree