Public Beta Testing of react-scripts@1.0.0
Created by: gaearon
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 react-scripts@1.0.0
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 (https://github.com/facebookincubator/create-react-app/pull/1291)
- Jest 20 (https://github.com/facebookincubator/create-react-app/pull/1614, https://github.com/facebookincubator/create-react-app/pull/2171)
- Code splitting with dynamic
import()
(https://github.com/facebookincubator/create-react-app/pull/1538) - Runtime overlay for uncaught errors (https://github.com/facebookincubator/create-react-app/pull/1101)
- Local and environment-specific
env
files (https://github.com/facebookincubator/create-react-app/pull/1344) - Multiple proxies (https://github.com/facebookincubator/create-react-app/pull/1790)
- Accidental usage of non-obvious globals is forbidden (https://github.com/facebookincubator/create-react-app/pull/2130)
- Some Jest options are overridable (https://github.com/facebookincubator/create-react-app/pull/1830)
- Nicer warning and error output (https://github.com/facebookincubator/create-react-app/pull/2120, https://github.com/facebookincubator/create-react-app/pull/2125, https://github.com/facebookincubator/create-react-app/pull/2161)
- You can use a Node script as a
BROWSER
variable (https://github.com/facebookincubator/create-react-app/pull/1590) - Only image assets are inlined (https://github.com/facebookincubator/create-react-app/pull/1305)
- Only tests in
src
run now (https://github.com/facebookincubator/create-react-app/pull/1808) - Some flexbox bugs are autofixed, and support for 2009 spec is dropped (https://github.com/facebookincubator/create-react-app/pull/1771)
- Editing the
public
folder refreshes the page (https://github.com/facebookincubator/create-react-app/pull/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.