Skip to content

Commit 22ce349

Browse files
Merge remote-tracking branch 'facebook/master' into lerna
2 parents f114211 + 4704382 commit 22ce349

File tree

13 files changed

+1076
-1019
lines changed

13 files changed

+1076
-1019
lines changed

CHANGELOG.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,80 @@
1+
## 3.0.1 (2019-05-08)
2+
3+
v3.0.1 is a maintenance release that adjusts some ESLint rules for TypeScript along with other minor bug fixes and documentation updates.
4+
5+
#### :boom: Breaking Change
6+
7+
- `babel-preset-react-app`
8+
- [#6887](https://github.com/facebook/create-react-app/pull/6887) Update dependencies of Babel preset with recent changes ([@skoging](https://github.com/skoging))
9+
10+
#### :bug: Bug Fix
11+
12+
- `react-error-overlay`, `react-scripts`
13+
- [#7007](https://github.com/facebook/create-react-app/pull/7007) Unpin `babel-jest` ([@ianschmitz](https://github.com/ianschmitz))
14+
- [#7002](https://github.com/facebook/create-react-app/pull/7002) Temporary fix for `babel-jest` preflight error ([@ianschmitz](https://github.com/ianschmitz))
15+
- `eslint-config-react-app`
16+
- [#6987](https://github.com/facebook/create-react-app/pull/6987) Disable `no-dupe-class-members` rule for TypeScript ([@ianschmitz](https://github.com/ianschmitz))
17+
- [#6862](https://github.com/facebook/create-react-app/pull/6862) Fix `no-useless-constructor` rule in TypeScript ([@ianschmitz](https://github.com/ianschmitz))
18+
- `eslint-config-react-app`, `react-scripts`
19+
- [#6937](https://github.com/facebook/create-react-app/pull/6937) Disable `default-case` lint rule for TypeScript ([@ianschmitz](https://github.com/ianschmitz))
20+
- `react-dev-utils`
21+
- [#6876](https://github.com/facebook/create-react-app/pull/6876) Change cssmodule classname hash to use relative paths ([@vg-stan](https://github.com/vg-stan))
22+
23+
#### :nail_care: Enhancement
24+
25+
- `react-dev-utils`, `react-scripts`
26+
- [#6856](https://github.com/facebook/create-react-app/pull/6856) Adds the configuration for PnP/Typescript ([@arcanis](https://github.com/arcanis))
27+
- `babel-preset-react-app`
28+
- [#6887](https://github.com/facebook/create-react-app/pull/6887) Update dependencies of Babel preset with recent changes ([@skoging](https://github.com/skoging))
29+
- `react-scripts`
30+
- [#6706](https://github.com/facebook/create-react-app/pull/6706) Generate SVG component name in Jest fileTransform ([@dallonf](https://github.com/dallonf))
31+
- [#6300](https://github.com/facebook/create-react-app/pull/6300) Remove body padding reset from templates ([@Hurtak](https://github.com/Hurtak))
32+
33+
#### :memo: Documentation
34+
35+
- Other
36+
- [#6979](https://github.com/facebook/create-react-app/pull/6979) Add note to restart the dev server after changing .env file ([@MostafaNawara](https://github.com/MostafaNawara))
37+
- [#6945](https://github.com/facebook/create-react-app/pull/6945) Add clarifying note to TypeScript docs warning about global install of CRA ([@methodbox](https://github.com/methodbox))
38+
- [#6898](https://github.com/facebook/create-react-app/pull/6898) Update GraphQL docs ([@nagman](https://github.com/nagman))
39+
- [#6810](https://github.com/facebook/create-react-app/pull/6810) Call to action button now reacts to being hovered ([@joerez](https://github.com/joerez))
40+
- [#6881](https://github.com/facebook/create-react-app/pull/6881) Fix typo in deployment docs ([@david-cho-lerat-HL2](https://github.com/david-cho-lerat-HL2))
41+
- `react-app-polyfill`
42+
- [#6879](https://github.com/facebook/create-react-app/pull/6879) Update README.md ([@david-cho-lerat-HL2](https://github.com/david-cho-lerat-HL2))
43+
44+
#### :house: Internal
45+
46+
- `react-scripts`
47+
- [#6854](https://github.com/facebook/create-react-app/pull/6854) Remove `Object.assign` from `MiniCssExtractPlugin` options ([@swashcap](https://github.com/swashcap))
48+
49+
#### Committers: 12
50+
51+
- Chris Shaffer ([@methodbox](https://github.com/methodbox))
52+
- Cory Reed ([@swashcap](https://github.com/swashcap))
53+
- Dallon Feldner ([@dallonf](https://github.com/dallonf))
54+
- David Cho-Lerat ([@david-cho-lerat-HL2](https://github.com/david-cho-lerat-HL2))
55+
- Ian Schmitz ([@ianschmitz](https://github.com/ianschmitz))
56+
- Joe Rezendes ([@joerez](https://github.com/joerez))
57+
- Maël Nison ([@arcanis](https://github.com/arcanis))
58+
- Mostafa Nawara ([@MostafaNawara](https://github.com/MostafaNawara))
59+
- Petr Huřťák ([@Hurtak](https://github.com/Hurtak))
60+
- Tore Hammervoll ([@skoging](https://github.com/skoging))
61+
- [@nagman](https://github.com/nagman)
62+
- [@vg-stan](https://github.com/vg-stan)
63+
64+
### Migrating from 3.0.0 to 3.0.1
65+
66+
Inside any created project that has not been ejected, run:
67+
68+
```sh
69+
npm install --save --save-exact [email protected]
70+
```
71+
72+
or
73+
74+
```sh
75+
yarn add --exact [email protected]
76+
```
77+
178
## 3.0.0 (April 22, 2019)
279

380
Create React App 3.0 brings some exciting new features including support for [Hooks](https://reactjs.org/docs/hooks-intro.html)!

docusaurus/docs/adding-relay.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ id: adding-relay
33
title: Adding Relay
44
---
55

6-
Relay is a framework for building data-driven React applications powered by GraphQL. The current release candidate of Relay works with Create React App projects out of the box using Babel Macros. Simply set up your project as laid out in the [Relay documentation](https://facebook.github.io/relay/), then make sure you have a version of the babel plugin providing the macro.
6+
Relay is a framework for building data-driven React applications powered by GraphQL. The current release of Relay works with Create React App projects out of the box using Babel Macros. Simply set up your project as laid out in the [Relay documentation](https://facebook.github.io/relay/), then make sure you have a version of the babel plugin providing the macro.
77

88
To add it, run:
99

1010
```sh
11-
npm install --save babel-plugin-relay@dev
11+
npm install --save babel-plugin-relay
1212
```
1313

1414
Alternatively you may use `yarn`:
1515

1616
```sh
17-
yarn upgrade babel-plugin-relay@dev
17+
yarn upgrade babel-plugin-relay
1818
```
1919

2020
Then, wherever you use the `graphql` template tag, import the macro:

docusaurus/docs/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ For example, to create a build environment for a staging environment:
150150
```json
151151
{
152152
"scripts": {
153-
"build:staging": "env-cmd .env.staging npm run build"
153+
"build:staging": "env-cmd -f .env.staging npm run build"
154154
}
155155
}
156156
```

packages/babel-preset-react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-preset-react-app",
3-
"version": "8.0.0",
3+
"version": "9.0.0",
44
"description": "Babel preset used by Create React App",
55
"repository": {
66
"type": "git",

packages/create-react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-app",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"keywords": [
55
"react"
66
],

0 commit comments

Comments
 (0)