Releases: spotify/web-scripts
Releases · spotify/web-scripts
v14.0.0
14.0.0 (2022-07-11)
🚨 This release was unpublished because Lerna threw an error mid-deploy, resulting in a mix of v14 and v13 packages. Lerna cannot deploy multiple packages atomically, so v14 was unpublished.
Bug Fixes
- do not output type declarations for cjs/esm (262a174)
- web-scripts: fix type declaration output by specifying module (814fc6b)
chore
- deps: upgrade deps; jest from v27 to v28 (13aff23)
BREAKING CHANGES
- deps: Jest bump from v27 to v28
v13.0.1
v13.0.0
13.0.0 (2022-03-21)
Bug Fixes
- eslint: specify parserOptions.project (5ea256c)
- remove parserOptions.project (c901579)
- update yarn.lock (9ed6d68)
chore
- update @typescript-eslint from v4 to v5, eslint from v7 to v8 (e284943)
- update @spotify/eslint-plugin from v11 to v12 (64f9885)
- update commitlint from v13 to v16 (51edc87)
- update eslint from v7 to v8 (725749c)
- update jest-junit from v12 to v13 (40701b0)
- update semantic-release from v18 to v19 (b9fecfd)
BREAKING CHANGES
- update semantic-release from v18 to v19
- update jest-junit from v12 to v13
- update @typescript-eslint from v4 to v5, eslint from v7 to v8
- update eslint from v7 to v8
- update @spotify/eslint-plugin from v11 to v12
- update commitlint from v13 to v16
v12.0.0
12.0.0 (2021-09-22)
Build System
- deps: bump typescript from 4.3.5 to 4.4.3 (b50b7b3)
- node: drop support for Node v12. Support only NodeJS >= 14.17.x (be04398)
BREAKING CHANGES
- node: Dropped support for Node v12. Minimum supported NodeJS version is now >= 14.17.x.
- deps: https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#breaking-changes
v11.0.0
11.0.0 (2021-07-16)
Features
- add support for Husky v6+ (934ee73)
HEADS UP
-
upgrade prettier from 2.2.x to 2.3.x
⚠️ formatting improvements that could result in large diffs. See https://prettier.io/blog/2021/05/09/2.3.0.html
-
⚠️ jest v27: if you have tests using fake timers that break,jest.useFakeTimers('legacy')
might be the mitigation (See jestjs/jest#11521 for more deets) -
⚠️ jest v27: default test environment was changed from"jsdom"
to"node"
for performance. if you are affected by this change because you use DOM APIs and do not have the test environment explicitly configured, you should be receiving an error when e.g.document
is accessed, and you can configure"testEnvironment": "jsdom"
or use per-file environment configuration to resolve this.
BREAKING CHANGES
-
upgrade Jest from v26.x to v27.x
TL;DR --
- tests using fake timers might break due to a regression
- default test environment was changed from
"jsdom"
to"node"
for performance - The same
done
test callback may not be called more than once, - calling
done
and returning a Promise may not be combined, - a
describe
block must not return anything, - under the hood the test runner
jest-jasmine2
was replaced withjest-circus
For more breaking changes see: https://jestjs.io/blog/2021/05/25/jest-27
v10.1.0
v10.0.1
v10.0.0
10.0.0 (2021-04-14)
Bug Fixes
- eslint-config: use jest version setting to fix no-deprecated-functions functionality (9a67198)
Build System
- drop support for nodejs v10.x (3fe3059)
- deps: bump eslint-plugin-jest from 23.20.0 to 24.3.4 (7d8b247)
Features
- eslint-config-react: disable react/prop-types rule (d445345)
- eslint-config-typescript: turn off @typescript-eslint/no-unused-vars (4845031)
BREAKING CHANGES
- drop support for NodeJS v10.x, which reaches EOL on
April 30, 2021. - deps: jest v24 introduced new lint rule recommendations for that might break
existing tests