Drop old browsers, TypeScript 3.6, Webpack jsonp method uniqueness
Highlights
- Default browser support changed
- Webpack jsonp method uniqueness
- TypeScript 3.6.3
Default browser support changed
We changed the Browserslist query to be :
Edge >= 15, Safari >= 10, iOS >= 10, Chrome >= 56, Firefox >= 51, IE >= 11, not op_mini all, not Safari 5.1, not kaios 2.5
Which means that browsers we supported previously, like IE 9 and 10 are no longer supported.
Webpack jsonp uniqueness
When using bundle splitting, webpack wraps the code split bundles in a webpackjsonp
method.
This is not an issue by itself. It starts to become an issue once your application contains multiple bundles with code splitting build separately.
We now changed this to make unique bundle names on each run. Although to make it easier to work with in development mode, the unique hash becomes reproducible between runs.
TypeScript 3.6.3
https://devblogs.microsoft.com/typescript/announcing-typescript-3-6/
Misc
- Use another polling method in TypeScript
UseFsEventsWithFallbackDynamicPolling
(https://blog.johnnyreilly.com/2019/05/typescript-and-high-cpu-usage-watch.html) - When using
webpackChunkName
in code splitting we now put that in the output file name.
Internal
run sonarqube scanner only on node 10, less computationally intensive
Dependency updates
@babel/*
from 7.4.* to 7.6.0@typescript-eslint/eslint-plugin
from 1.10.2 to 2.2.0@typescript-eslint/parser
from 1.10.2 to 2.2.0autoprefixer
from 9.6.0 to 9.6.1babel-plugin-istanbul
from 5.1.4 to 5.2.0browserslist
from 4.6.3 to 4.7.0confusing-browser-globals
from 1.0.7 to 1.0.8eslint
from 5.16.0 to 6.3.0eslint-loader
from 2.1.2 to 3.0.0eslint-plugin-import
from 2.17.3 to 2.18.2eslint-plugin-react
from 7.13.0 to 7.14.3fork-ts-checker-wepack-plugin
from 1.3.7 to 1.5.0gulp-eslint
from 5.0.0 to 6.0.0gulp-imagemin
from 6.0.0 to 6.1.0inspectpack
from 4.2.1 to 4.2.2jest
from 24.8.0 to 24.9.0mini-css-extract-plugin
from 0.7.0 to 0.8.0postcss-font-family-system-ui
from 4.1.0 to 4.1.1postcss
from 7.0.17 to 7.0.18postcss-initial
from 3.0.0 to 3.0.1postcss-nesting
from 7.0.0 to 7.0.1postcss-value-parser
from 4.0.0 to 4.0.2react-hot-loader
from 4.11.1 to 4.12.2react-test-renderer
from 16.8.6 to 16.9.0rollup
from 1.15.6 to 1.21.2rollup-plugin-babel
from 4.3.2 to 4.3.3rollup-plugin-eslint
from 6.0.0 to 7.0.0rollup-plugin-node-resolve
from 5.0.3 to 5.2.0rollup-plugin-terser
from 5.0.0 to 5.1.1rollup-plugin-typescript2
from 0.21.2 to 0.24.1rollup-plugin-typescript
from 10.0.0 to 10.1.0stylelint-scss
from 3.8.0 to 3.10.1style-loader
from 0.23.1 to 1.0.0terser-webpack-plugin
from 1.3.0 to 2.0.1ts-loader
from 6.0.3 to 6.1.0typescript
from 3.5.2 to 3.6.3webpack-dev-server
from 3.7.2 to 3.8.0webpack
from 4.35.0 to 4.39.3webpack
from 4.35.0 to 4.39.3webpack-merge
from 4.2.1 to 4.2.2xml2js
from 0.4.19 to 0.4.22yargs-parser
from ^13 to ^14