From 87ab20e2c22659db17435ba62563867123220b07 Mon Sep 17 00:00:00 2001 From: Herman Venter Date: Mon, 21 May 2018 10:32:35 -0700 Subject: [PATCH] Weekly release v0.x.y: speed ups, new features, bug fixes 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 01bbda3680..74d3002d3f 100644 --- a/package.json +++ b/package.json @@ -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": {