Description
Known Issues:
- None (please report!)
Updates:
- Published the first canary.
- Published another canary that fixes the path issue and disables
require.ensure()
warning. - Published another canary that re-enables parsing of
require.ensure()
. - Published a canary with more legible colors on Windows and port detection fixes
- Published a canary with Jest fixes, stricter module resolution, Uglify fix, and more consistent overlay styling
- Published a canary with fixed npm package, more visual fixes to overlays, better build messages, and smaller post eject code size
- Final call for testing: Published the last canary with IE fixes.
Today I invite you to help us beta test [email protected]
for a few days before the public release.
It used to be called 0.10
but we figured there’s enough improvements to make it 1.0.
To create a new app with it, run:
create-react-app my-app --scripts-version react-scripts@canary
To upgrade an existing app, replace "react-scripts": "0.9.5"
in your package.json
with:
"react-scripts": "canary"
and run npm install
(or yarn
).
There is no changelog yet, but you can open the milestone to get a sense of included changes.
A few highlights:
- Webpack 2 (Upgrade to webpack v2 #1291)
- Jest 20 (Update to Jest 19 #1614, Use Jest 20 #2171)
- Code splitting with dynamic
import()
(Add support for dynamic import & disable require.ensure #1538) - Runtime overlay for uncaught errors (Add runtime error overlay #1101)
- Local and environment-specific
env
files (Feature/different env config files #1343 #1344) - Multiple proxies (Change proxy handling to allow multiple proxies in development #1790)
- Accidental usage of non-obvious globals is forbidden (Blacklist confusing global variables #2130)
- Some Jest options are overridable (Make coverage and snapshot Jest options overridable in package.json #1830)
- Nicer warning and error output (Omit ESLint warnings when there are ESLint errors #2120, Only show the first compilation error #2125, Make error/warning output more useful #2161)
- You can use a Node script as a
BROWSER
variable (Support node scripts in BROWSER #1590) - Only image assets are inlined (Whitelist files that can be embedded through url-loader #1305)
- Only tests in
src
run now (Only run tests in <rootDir>/src (#544) #1808) - Some flexbox bugs are autofixed, and support for 2009 spec is dropped (Adding plugin postcss-flexbugs-fixes and flexbox: 'no-2009' to Autoprefixer #1771)
- Editing the
public
folder refreshes the page (Enable page reloading for files inpublic/
#1546)
There are a few more changes we plan to get into 1.0.0, but this should be enough the first public testing.
Please report any issues you bump into in this thread. We want this release to be as solid as possible, even though it’s unlikely we’ll keep it unreleased for much longer.
Big thanks to all the contributors. This will be our biggest release yet.