|
| 1 | +## 2.1.1 (October 31, 2018) |
| 2 | + |
| 3 | +Happy Halloween 🎃 👻! This spooky release brings a treat: decorator support in TypeScript files! |
| 4 | + |
| 5 | +#### :bug: Bug Fix |
| 6 | + |
| 7 | +- `babel-preset-react-app` |
| 8 | + - [#5659](https://github.com/facebook/create-react-app/pull/5659) Add support for decorators. ([@Timer](https://github.com/Timer)) |
| 9 | +- `react-scripts` |
| 10 | + - [#5621](https://github.com/facebook/create-react-app/pull/5621) fix 'Duplicate string index signature' in ProcessEnv. ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 11 | + |
| 12 | +#### :nail_care: Enhancement |
| 13 | + |
| 14 | +- `babel-preset-react-app` |
| 15 | + - [#5659](https://github.com/facebook/create-react-app/pull/5659) Add support for decorators. ([@Timer](https://github.com/Timer)) |
| 16 | + |
| 17 | +#### :memo: Documentation |
| 18 | + |
| 19 | +- [#5658](https://github.com/facebook/create-react-app/pull/5658) Update making-a-progressive-web-app.md. ([@jakeboone02](https://github.com/jakeboone02)) |
| 20 | +- [#5635](https://github.com/facebook/create-react-app/pull/5635) Update minimum node version to 8.10 in README. ([@iansu](https://github.com/iansu)) |
| 21 | +- [#5629](https://github.com/facebook/create-react-app/pull/5629) Add link to cra-ts migration guide. ([@Vinnl](https://github.com/Vinnl)) |
| 22 | + |
| 23 | +#### :house: Internal |
| 24 | + |
| 25 | +- `react-error-overlay` |
| 26 | + - [#4709](https://github.com/facebook/create-react-app/pull/4709) Expose `reportRuntimeError`. ([@hipstersmoothie](https://github.com/hipstersmoothie)) |
| 27 | +- `babel-plugin-named-asset-import` |
| 28 | + - [#5575](https://github.com/facebook/create-react-app/pull/5575) add tests for named-asset-imports plugin. ([@NShahri](https://github.com/NShahri)) |
| 29 | +- `react-scripts` |
| 30 | + - [#5651](https://github.com/facebook/create-react-app/pull/5651) Make serviceWorker config argument optional in typescript. ([@eddedd88](https://github.com/eddedd88)) |
| 31 | + |
| 32 | +#### Committers: 8 |
| 33 | + |
| 34 | +- Andrew Lisowski ([hipstersmoothie](https://github.com/hipstersmoothie)) |
| 35 | +- Eduardo Duran ([eddedd88](https://github.com/eddedd88)) |
| 36 | +- Ian Sutherland ([iansu](https://github.com/iansu)) |
| 37 | +- Jake Boone ([jakeboone02](https://github.com/jakeboone02)) |
| 38 | +- Joe Haddad ([Timer](https://github.com/Timer)) |
| 39 | +- Nima Shahri ([NShahri](https://github.com/NShahri)) |
| 40 | +- Vincent ([Vinnl](https://github.com/Vinnl)) |
| 41 | +- ZHAO Jinxiang ([xiaoxiangmoe](https://github.com/xiaoxiangmoe)) |
| 42 | + |
| 43 | +### Migrating from 2.1.0 to 2.1.1 |
| 44 | + |
| 45 | +Inside any created project that has not been ejected, run: |
| 46 | + |
| 47 | +```bash |
| 48 | +npm install --save --save-exact react-scripts@2.1.1 |
| 49 | +``` |
| 50 | + |
| 51 | +or |
| 52 | + |
| 53 | +``` |
| 54 | +yarn add --exact react-scripts@2.1.1 |
| 55 | +``` |
| 56 | + |
| 57 | +## 2.1.0 (October 29, 2018) |
| 58 | + |
| 59 | +Create React App 2.1 adds support for TypeScript! Read [the documentation](https://facebook.github.io/create-react-app/docs/adding-typescript) to get started. |
| 60 | + |
| 61 | +New applications can be created using TypeScript by running: |
| 62 | + |
| 63 | +```bash |
| 64 | +$ npx create-react-app my-app --typescript |
| 65 | +``` |
| 66 | + |
| 67 | +#### :rocket: New Feature |
| 68 | + |
| 69 | +- `create-react-app`, `react-scripts` |
| 70 | + - [#5550](https://github.com/facebook/create-react-app/pull/5550) Add TypeScript app creation ([@Timer](https://github.com/Timer)) |
| 71 | +- `babel-preset-react-app`, `react-scripts` |
| 72 | + - [#4837](https://github.com/facebook/create-react-app/pull/4837) TypeScript support using Babel 7 ([@brunolemos](https://github.com/brunolemos)) |
| 73 | + |
| 74 | +#### :bug: Bug Fix |
| 75 | + |
| 76 | +- `react-scripts` |
| 77 | + - [#5611](https://github.com/facebook/create-react-app/pull/5611) Remove react-scripts type reference on eject. ([@Timer](https://github.com/Timer)) |
| 78 | + - [#5614](https://github.com/facebook/create-react-app/pull/5614) Ignore json files from TypeScript type checking. ([@brunolemos](https://github.com/brunolemos)) |
| 79 | + - [#5609](https://github.com/facebook/create-react-app/pull/5609) Remove unsupported options. ([@Timer](https://github.com/Timer)) |
| 80 | + - [#5608](https://github.com/facebook/create-react-app/pull/5608) Ignore test files from reported type errors. ([@Timer](https://github.com/Timer)) |
| 81 | + - [#5589](https://github.com/facebook/create-react-app/pull/5589) Update react-app.d.ts. ([@brunolemos](https://github.com/brunolemos)) |
| 82 | + - [#5557](https://github.com/facebook/create-react-app/pull/5557) Add typings for process.env. ([@brunolemos](https://github.com/brunolemos)) |
| 83 | + - [#5532](https://github.com/facebook/create-react-app/pull/5532) Use TypeScript parser to read tsconfig.json. ([@brunolemos](https://github.com/brunolemos)) |
| 84 | + - [#5527](https://github.com/facebook/create-react-app/pull/5527) Update Workbox dependency. ([@jeffposnick](https://github.com/jeffposnick)) |
| 85 | +- `react-dev-utils`, `react-scripts` |
| 86 | + - [#5549](https://github.com/facebook/create-react-app/pull/5549) Automatically setup TypeScript when detected. ([@Timer](https://github.com/Timer)) |
| 87 | + - [#5537](https://github.com/facebook/create-react-app/pull/5537) Respect tsconfig.json extends when validating config. ([@ianschmitz](https://github.com/ianschmitz)) |
| 88 | + |
| 89 | +#### :nail_care: Enhancement |
| 90 | + |
| 91 | +- `create-react-app`, `react-scripts` |
| 92 | + - [#5593](https://github.com/facebook/create-react-app/pull/5593) Refine how TypeScript types are handled. ([@Timer](https://github.com/Timer)) |
| 93 | +- `react-scripts` |
| 94 | + - [#5531](https://github.com/facebook/create-react-app/pull/5531) Enable TypeScript json module resolver. ([@brunolemos](https://github.com/brunolemos)) |
| 95 | + - [#5524](https://github.com/facebook/create-react-app/pull/5524) Validate tsconfig when using TypeScript. ([@Timer](https://github.com/Timer)) |
| 96 | + - [#5516](https://github.com/facebook/create-react-app/pull/5516) Check for TypeScript install in preflight. ([@Timer](https://github.com/Timer)) |
| 97 | + - [#5515](https://github.com/facebook/create-react-app/pull/5515) Always type check TypeScript when being used. ([@Timer](https://github.com/Timer)) |
| 98 | +- `react-dev-utils`, `react-scripts` |
| 99 | + - [#5529](https://github.com/facebook/create-react-app/pull/5529) Add TypeScript error formatting. ([@Timer](https://github.com/Timer)) |
| 100 | + |
| 101 | +#### :memo: Documentation |
| 102 | + |
| 103 | +- Other |
| 104 | + - [#5552](https://github.com/facebook/create-react-app/pull/5552) Fixing Internal Links. ([@ehfeng](https://github.com/ehfeng)) |
| 105 | + - [#5551](https://github.com/facebook/create-react-app/pull/5551) Add Algolia search bar to Docusaurus. ([@amyrlam](https://github.com/amyrlam)) |
| 106 | + - [#5533](https://github.com/facebook/create-react-app/pull/5533) Simplified TypeScript steps. ([@brunolemos](https://github.com/brunolemos)) |
| 107 | + - [#5492](https://github.com/facebook/create-react-app/pull/5492) Add "edit" feature to Docusaurus pages. ([@amyrlam](https://github.com/amyrlam)) |
| 108 | + - [#5499](https://github.com/facebook/create-react-app/pull/5499) Fix title on Safari. ([@yuyokk](https://github.com/yuyokk)) |
| 109 | + - [#5494](https://github.com/facebook/create-react-app/pull/5494) Fix typo. ([@noelyoo](https://github.com/noelyoo)) |
| 110 | + - [#5493](https://github.com/facebook/create-react-app/pull/5493) Fixed typo in getting-started. ([@jessepeterman](https://github.com/jessepeterman)) |
| 111 | + - [#5344](https://github.com/facebook/create-react-app/pull/5344) Add some headings to the getting started section. ([@selbekk](https://github.com/selbekk)) |
| 112 | + - [#5251](https://github.com/facebook/create-react-app/pull/5251) Add SoMe links to documentation. ([@selbekk](https://github.com/selbekk)) |
| 113 | +- `react-scripts` |
| 114 | + - [#5512](https://github.com/facebook/create-react-app/pull/5512) Update doc links in template README. ([@iansu](https://github.com/iansu)) |
| 115 | + - [#5475](https://github.com/facebook/create-react-app/pull/5475) Fix typo. ([@thompk2](https://github.com/thompk2)) |
| 116 | + - [#5449](https://github.com/facebook/create-react-app/pull/5449) Remove dot from the end of the link to fix it when using from GitHub. ([@ranyitz](https://github.com/ranyitz)) |
| 117 | + |
| 118 | +#### :house: Internal |
| 119 | + |
| 120 | +- `react-scripts` |
| 121 | + - [#5607](https://github.com/facebook/create-react-app/pull/5607) Turn on certain TypeScript options. ([@Timer](https://github.com/Timer)) |
| 122 | + - [#5559](https://github.com/facebook/create-react-app/pull/5559) Change import syntax from typescript declaration. ([@brunolemos](https://github.com/brunolemos)) |
| 123 | + - [#5469](https://github.com/facebook/create-react-app/pull/5469) Avoid pushing .pnp folder to git. ([@NShahri](https://github.com/NShahri)) |
| 124 | + - [#5527](https://github.com/facebook/create-react-app/pull/5527) Update Workbox dependency. ([@jeffposnick](https://github.com/jeffposnick)) |
| 125 | +- `eslint-config-react-app` |
| 126 | + - [#5586](https://github.com/facebook/create-react-app/pull/5586) Fixing the code splitting links in the ESLint output. ([@jheijmans](https://github.com/jheijmans)) |
| 127 | + |
| 128 | +#### Committers: 15 |
| 129 | + |
| 130 | +- Amy Lam ([amyrlam](https://github.com/amyrlam)) |
| 131 | +- Bruno Lemos ([brunolemos](https://github.com/brunolemos)) |
| 132 | +- Eric Feng ([ehfeng](https://github.com/ehfeng)) |
| 133 | +- Ian Schmitz ([ianschmitz](https://github.com/ianschmitz)) |
| 134 | +- Ian Sutherland ([iansu](https://github.com/iansu)) |
| 135 | +- Iurii Kucherov ([yuyokk](https://github.com/yuyokk)) |
| 136 | +- Jeffrey Posnick ([jeffposnick](https://github.com/jeffposnick)) |
| 137 | +- Jeroen Heijmans ([jheijmans](https://github.com/jheijmans)) |
| 138 | +- Jesse Peterman ([jessepeterman](https://github.com/jessepeterman)) |
| 139 | +- Joe Haddad ([Timer](https://github.com/Timer)) |
| 140 | +- Kit Thompson ([thompk2](https://github.com/thompk2)) |
| 141 | +- Kristofer Selbekk ([selbekk](https://github.com/selbekk)) |
| 142 | +- Nima Shahri ([NShahri](https://github.com/NShahri)) |
| 143 | +- Noel Yoo ([noelyoo](https://github.com/noelyoo)) |
| 144 | +- Ran Yitzhaki ([ranyitz](https://github.com/ranyitz)) |
| 145 | + |
| 146 | +### Migrating from 2.0.5 to 2.1.0 |
| 147 | + |
| 148 | +Inside any created project that has not been ejected, run: |
| 149 | + |
| 150 | +```bash |
| 151 | +npm install --save --save-exact react-scripts@2.1.0 |
| 152 | +``` |
| 153 | + |
| 154 | +or |
| 155 | + |
| 156 | +``` |
| 157 | +yarn add --exact react-scripts@2.1.0 |
| 158 | +``` |
| 159 | + |
| 160 | +## 2.0.5 (October 14, 2018) |
| 161 | + |
| 162 | +#### :bug: Bug Fix |
| 163 | + |
| 164 | +- `react-dev-utils` |
| 165 | + |
| 166 | + - [#5431](https://github.com/facebook/create-react-app/pull/5431) Fix click-to-open on Windows. ([@gaearon](https://github.com/gaearon)) |
| 167 | + - [#5335](https://github.com/facebook/create-react-app/pull/5335) Fix file size report after build. ([@OskarPersson](https://github.com/OskarPersson)) |
| 168 | + |
| 169 | +- `create-react-app` |
| 170 | + |
| 171 | + - [#5362](https://github.com/facebook/create-react-app/pull/5362) Fix CI: non-semver compliant Yarn versions. ([@Timer](https://github.com/Timer)) |
| 172 | + |
| 173 | +- `react-scripts` |
| 174 | + - [#5301](https://github.com/facebook/create-react-app/pull/5301) Fix TypeError when registering service workers without config. ([@peterbe](https://github.com/peterbe)) |
| 175 | + |
| 176 | +#### :nail_care: Enhancement |
| 177 | + |
| 178 | +- `babel-preset-react-app` |
| 179 | + |
| 180 | + - [#4984](https://github.com/facebook/create-react-app/pull/4984) Use the correct dependency for `babel-plugin-dynamic-import-node`. ([@vikr01](https://github.com/vikr01)) |
| 181 | + |
| 182 | +- `react-scripts` |
| 183 | + - [#5354](https://github.com/facebook/create-react-app/pull/5354) Add environment variable to optionaly disable inlining of chunks. ([@0xdeafcafe](https://github.com/0xdeafcafe)) |
| 184 | + - [#5330](https://github.com/facebook/create-react-app/pull/5330) Update `eslint-plugin-jsx-a11y` version. ([@AlmeroSteyn](https://github.com/AlmeroSteyn)) |
| 185 | + |
| 186 | +#### :memo: Documentation |
| 187 | + |
| 188 | +- `react-scripts` |
| 189 | + - [#5321](https://github.com/facebook/create-react-app/pull/5321) Added note on update to `.flowconfig` for .scss imports. ([@rlueder](https://github.com/rlueder)) |
| 190 | + - [#5394](https://github.com/facebook/create-react-app/pull/5394) Correct instructions for HTTPS and PowerShell. ([@gavinbarron](https://github.com/gavinbarron)) |
| 191 | + - [#5410](https://github.com/facebook/create-react-app/pull/5410) Updates to clarify the "waiting" SW behavior. ([@jeffposnick](https://github.com/jeffposnick)) |
| 192 | + - [#5302](https://github.com/facebook/create-react-app/pull/5302) Update README.md. ([@simonCordovaByte9](https://github.com/simonCordovaByte9)) |
| 193 | + - [#5334](https://github.com/facebook/create-react-app/pull/5334) Update README due to deprecation of react-testing-library's toBeInTheDOM. ([@rrebase](https://github.com/rrebase)) |
| 194 | + - [#5326](https://github.com/facebook/create-react-app/pull/5326) README link fixes. ([@davidgilbertson](https://github.com/davidgilbertson)) |
| 195 | + - [#5327](https://github.com/facebook/create-react-app/pull/5327) Updated the URL in index.html. ([@behzod](https://github.com/behzod)) |
| 196 | + - [#5296](https://github.com/facebook/create-react-app/pull/5296) Adding documentation about git init. ([@ryancogswell](https://github.com/ryancogswell)) |
| 197 | + - [#5290](https://github.com/facebook/create-react-app/pull/5290) Add react-testing-library documentation/examples (#4679). ([@gnapse](https://github.com/gnapse)) |
| 198 | + - [#5286](https://github.com/facebook/create-react-app/pull/5286) Fix broken links to src/serviceWorker.js. ([@adambowles](https://github.com/adambowles)) |
| 199 | +- Other |
| 200 | + |
| 201 | + - [#5374](https://github.com/facebook/create-react-app/pull/5374) Add the new SVGs feature from the template README to the root README. ([@neo](https://github.com/neo)) |
| 202 | + - [#5371](https://github.com/facebook/create-react-app/pull/5371) Update path to serviceWorker.js in graphical folder structure. ([@jonscottclark](https://github.com/jonscottclark)) |
| 203 | + - [#5337](https://github.com/facebook/create-react-app/pull/5337) Fix typo. ([@mvasin](https://github.com/mvasin)) |
| 204 | + |
| 205 | +- `eslint-config-react-app` |
| 206 | + - [#5416](https://github.com/facebook/create-react-app/pull/5416) Fix eslint config docs. ([@ludovicofischer](https://github.com/ludovicofischer)) |
| 207 | + |
| 208 | +#### :house: Internal |
| 209 | + |
| 210 | +- Other |
| 211 | + |
| 212 | + - [#5365](https://github.com/facebook/create-react-app/pull/5365) Clean up the behavior tests. ([@Timer](https://github.com/Timer)) |
| 213 | + |
| 214 | +- `create-react-app` |
| 215 | + - [#5362](https://github.com/facebook/create-react-app/pull/5362) Fix CI: non-semver compliant Yarn versions. ([@Timer](https://github.com/Timer)) |
| 216 | +- `react-scripts` |
| 217 | + - [#5317](https://github.com/facebook/create-react-app/pull/5317) Remove unused require for getCacheIdentifier after ejecting. ([@benbrandt](https://github.com/benbrandt)) |
| 218 | + |
| 219 | +#### Committers: 23 |
| 220 | + |
| 221 | +- Adam Bowles ([adambowles](https://github.com/adambowles)) |
| 222 | +- Alex Forbes-Reed ([0xdeafcafe](https://github.com/0xdeafcafe)) |
| 223 | +- Almero Steyn ([AlmeroSteyn](https://github.com/AlmeroSteyn)) |
| 224 | +- Behzod Saidov ([behzod](https://github.com/behzod)) |
| 225 | +- Ben Brandt ([benbrandt](https://github.com/benbrandt)) |
| 226 | +- Dan Abramov ([gaearon](https://github.com/gaearon)) |
| 227 | +- David Gilbertson ([davidgilbertson](https://github.com/davidgilbertson)) |
| 228 | +- Ernesto García ([gnapse](https://github.com/gnapse)) |
| 229 | +- Gavin Barron ([gavinbarron](https://github.com/gavinbarron)) |
| 230 | +- Jeffrey Posnick ([jeffposnick](https://github.com/jeffposnick)) |
| 231 | +- Joe Haddad ([Timer](https://github.com/Timer)) |
| 232 | +- Jon Clark ([jonscottclark](https://github.com/jonscottclark)) |
| 233 | +- Kristofer Selbekk ([selbekk](https://github.com/selbekk)) |
| 234 | +- Ludovico Fischer ([ludovicofischer](https://github.com/ludovicofischer)) |
| 235 | +- Mikhail Vasin ([mvasin](https://github.com/mvasin)) |
| 236 | +- Oskar Persson ([OskarPersson](https://github.com/OskarPersson)) |
| 237 | +- Peter Bengtsson ([peterbe](https://github.com/peterbe)) |
| 238 | +- Rafael Lüder ([rlueder](https://github.com/rlueder)) |
| 239 | +- Ragnar Rebase ([rrebase](https://github.com/rrebase)) |
| 240 | +- Ryan Cogswell ([ryancogswell](https://github.com/ryancogswell)) |
| 241 | +- Vikram Rangaraj ([vikr01](https://github.com/vikr01)) |
| 242 | +- Wenchen Li ([neo](https://github.com/neo)) |
| 243 | +- [simonCordovaByte9](https://github.com/simonCordovaByte9) |
| 244 | + |
| 245 | +### Migrating from 2.0.4 to 2.0.5 |
| 246 | + |
| 247 | +Inside any created project that has not been ejected, run: |
| 248 | + |
| 249 | +```bash |
| 250 | +npm install --save --save-exact react-scripts@2.0.5 |
| 251 | +``` |
| 252 | + |
| 253 | +or |
| 254 | + |
| 255 | +``` |
| 256 | +yarn add --exact react-scripts@2.0.5 |
| 257 | +``` |
| 258 | + |
1 | 259 | ## 2.0.4 (October 3, 2018)
|
2 | 260 |
|
3 | 261 | #### :bug: Bug Fix
|
|
50 | 308 | - Shubham Tiwari ([@lockround](https://github.com/lockround))
|
51 | 309 | - Zacharias Knudsen ([@zachasme](https://github.com/zachasme))
|
52 | 310 |
|
| 311 | +### Migrating from 2.0.3 to 2.0.4 |
| 312 | + |
| 313 | +Inside any created project that has not been ejected, run: |
| 314 | + |
| 315 | +```bash |
| 316 | +npm install --save --save-exact react-scripts@2.0.4 |
| 317 | +``` |
| 318 | + |
| 319 | +or |
| 320 | + |
| 321 | +``` |
| 322 | +yarn add --exact react-scripts@2.0.4 |
| 323 | +``` |
| 324 | + |
53 | 325 | ## 2.0.3 (October 1, 2018)
|
54 | 326 |
|
55 | 327 | Create React App 2.0 brings a year’s worth of improvements in a single dependency update.
|
|
0 commit comments