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

Commit

Permalink
Weekly release v0.x.y: speed ups, new features, bug fixes
Browse files Browse the repository at this point in the history
Summary:
Support switch statements where the switch value is abstract and one or more cases throw.
Fixed bug with implicitly converting unknown values to Object.
The React reconciler now throw a FatalError upon encountering side-effects in a render.
Fix while and for loops with unlabeled breaks
Removing --simpleClosures option.
Improve code generation in presence of exceptions.
Default to StrictMode when mixed StrictMode is serialized between function entries.
Better debug logging with --debugScopes
Allocate by using `new Array(n)`.
Fix problems with duplicated and missing statements.
Do not generate code for unreachable global code statements.
Simplify the ToObject serialization output.
Serialization outputFixes an issue with getOwnPropertyDescriptor when dealing with a native prototype function.
More compact code generation by avoiding introducing local variables for abstract values when possible.
Fixes problem with result of Array.filter (and similar) applied to arrays with unknown properties.
Adds support for spread syntax.
Speeding up Prepack by 22%, saving 8% memory.
Add reading wiki link to places.
Make some files flow strict.
Better crash logging.
Provide error feedback when timing out.
Implement const/let pattern declarations.
Adds support for more console methods.
More simplification rules.
Stop the prototype cycle check if an object (e.g. proxy) uses non-ordinary prototype methods.
Fix numerous problems with code ordering.

issues fixed

Reviewed By: simonhj

Differential Revision: D8048481

fbshipit-source-id: 36a464feb74233f68f3476c74f4070103e6a2584
  • Loading branch information
Herman Venter authored and facebook-github-bot committed May 21, 2018
1 parent 3545cd8 commit 87ab20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prepack",
"version": "0.2.35-alpha.0",
"version": "0.2.35",
"description": "Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.",
"homepage": "https://github.com/facebook/prepack",
"repository": {
Expand Down

0 comments on commit 87ab20e

Please sign in to comment.