Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Releases: facebookarchive/prepack

0.2.32

19 Apr 16:29
Compare
Choose a tag to compare

Works on windows now
There was nothing that verified that our yarn.lock was up-to-date in our CI. Added the --frozen-lockfile option to CircleCI and package.json to make sure that we update the yarn.lock when we put up a commit.
Improved code generation in the presence of branching
CI uses Node 8.9.4 for better performance and prepublishOnly for NPM publishing
Execute Do/While loop condition in the proper place
Introducting new option --invariantLevel NUMBER and dropping --omitInvariants
AddscreateRef and forwardRef to the React compiler
Diagnostic PP1001 for variable write conflict among optimized functions

0.2.31

11 Apr 21:30
Compare
Choose a tag to compare

Fix problem where the results of To.ToObject were lost during serialization
__optimize calls now search for newly registered functions.
Statistics about abstract interpretation
Better support for o[p] where p is unknown and the runtime value denotes a property on the prototype.
Do not inline functions accessing mutable free variables #1058
Emitting informational diagnostics when Math.random() uses fixed random seed
Using custom JSONTokenizer and streaming instead of JSON.stringify for cpuprofiles
Option whether to throw or call console function on invariant violation.
Dropped entries in WeakSet and WeakMap that are not referenced elsewhere from serialized output. #680.
Aggregate common captured scope cases #995, #1707
adds React 16.3 getDerivedStateFromProps support to the React compiler

v0.2.30

04 Apr 21:28
Compare
Choose a tag to compare

Weekly release 0.2.30:

  • Several improvements to simplifier, including more aggressive simplification of !e expressions, and better simplification in the presence of == and !=
  • For npm/yarn, prepack command renamed to prepack-cli
  • Many refactorings and bug fixes, including #1645, #1675, #1558, #1665 (crash in REPL on http://prepack.io), #1627 (Stop generator entries from being serialized twice), #1598

v0.2.29

27 Mar 20:30
Compare
Choose a tag to compare
  • More tests
  • Improved readability of synthesized code
  • Various code cleanup
  • Bugfixes

0.2.27

19 Mar 04:07
Compare
Choose a tag to compare

Adds React verbose mode
Simplify conditions like c ? {} : null to just c if used in a condition context
Fix delayed conversions of abstract values to objects in pure mode
Allow additional functions to return PossiblyNormalCompletions.
Make short-circuit logic similar to React Hoisting
__registerAdditionalFunction is now __optimize
Handles more implicit abstract conversions during binary ops

v0.2.25

09 Mar 00:41
Compare
Choose a tag to compare

Make terminology more standard (Leak -> Havoc).
Ensure React component tree roots are only evaluated once.
New --repro command line option for easier bug reporting.
Allow complex React class components to fold into simple class components.
Fixing an ordering issue with generators + additional functions.
Change how to signal React components for optimization.
Added "node-react" compatibility mode.
Enable hasOwnProperty for abstract objects in pure mode.
Do not havoc leaked objects if they are frozen.
Allow switch statements to have abstract switch expressions.
Adds a new React reconciler rendering mode called firstRenderOnly.
Allow simple object computed property access with abstract property keys.
Prepack now ships Node 6.1+ compatible source.
Better error message when base of a member expression is abstract and of unknown type.
Adapted Prepack source code to latest Flow

v0.2.24

01 Mar 18:45
Compare
Choose a tag to compare

Summary of changes:
- Removing dependency on Base62 npm package which collects Google Analytics information at installation time
- New option --stripFlow to parse and strip Flow annotations
- Support for Object.freeze, Object.seal, and Object.preventExtensions
- Better support for abstract values in Object.assign calls
- Support for transitive simple objects
- Basic support for arguments for additional functions
- Improvements to partial evaluator
- Lots of work on the React Compiler
- Lots of bug fixes and little improvements

v0.2.23

09 Feb 19:23
Compare
Choose a tag to compare

Weekly release v0.2.23: React improvements and several bug fixes

Summary:
* A lot of react native work
* Fixes #1409
* add --emitConcreteModel option to emit concrete model from abstract model.
* Fixes a bug in delayInitializations

v0.2.22

30 Jan 03:01
Compare
Choose a tag to compare

Lots of work on React Native compiler.
Added a --check option.
Added --compatibility mobile option
Fixed double reporting of diagnostics.
Fixed #1235 and #979
Some refactoring

v0.2.20

24 Jan 22:10
Compare
Choose a tag to compare

Various bugfixes and refactors.