Updated 2 March, 2020
Angular 10 is scheduled to arrive in May 2020. On the way to the new major version, Angular 9.1.0-next.2 has been released. This beta adds several bug fixes for different areas, including animations, core, language-service and ngcc. For example, in animations, a false positive is no longer returned when detecting Node in Webpack builds and the ɵAnimationDriver has been removed from private exports.
New features have been added for ngcc, bazel and zone.js, whereas the core and Ivy have received performance improvements. Take a look at all that has happened in the beta release as well as in the two previous betas:
Angular 9.1.0-next.2
Bug Fixes
- animations: false positive when detecting Node in Webpack builds (#35134) (dc4ae4b), closes #35117
- animations: Remove ɵAnimationDriver from private exports (#35690) (ec789b0)
- compiler: use FatalDiagnosticError to generate better error messages (#35244) (646655d)
- core: make subclass inherit developer-defined data (#35105) (a756161)
- core: support sanitizer value in the [style] bindings (#35564) (3af103a), closes #35476
- core: Add
style="{{exp}}"
based interpolation (#34202) (2562a3b), closes #33575 - core: add strictLiteralTypes to align core + VE checking of literals (#35462) (4253662)
- core: better inference for circularly referenced directive types (#35622) (173a1ac), closes #35372 #35603 #35522
- core: emulate a View Engine type-checking bug with safe navigation (#35462) (a61fe41)
- core: error in AOT when pipe inherits constructor from injectable that uses DI (#35468) (e17bde9), closes #35277
- core: error when accessing NgModuleRef.componentFactoryResolver in constructor (#35637) (835618c), closes #35580
- core: incorrectly generating shared pure function between null and object literal (#35481) (22786c8), closes #33705 #35298
- core: injecting incorrect provider when re-providing injectable with useClass (#34574) (0bc35a7), closes #34110
- core: provide a more detailed error message for NG6002/NG6003 (#35620) (2d89b5d)
- language-service: get the right ‘ElementAst’ in the nested HTML tag (#35317) (8e354da)
- language-service: infer context type of structural directives (#35537) (#35561) (54fd33f)
- language-service: provide completions for the structural directive that only injects the ‘ViewContainerRef’ (#35466) (66c06eb)
- language-service: provide hover for interpolation in attribute value (#35494) (049f118), closes PR#34847
- localize: improve placeholder mismatch error message (#35593) (53f059e)
- localize: support minified ES5
$localize
calls (#35562) (df75451), closes #35376 - ngcc: add default config for
angular2-highcharts
(#35527) (3cc8127), closes #35399 - ngcc: capture path-mapped entry-points that start with same string (#35592) (71b5970), closes #35536
- ngcc: correctly detect emitted TS helpers in ES5 (#35191) (bd6a39c)
- ngcc: correctly detect outer aliased class identifiers in ES5 (#35527) (fde8915), closes #35399
- ngcc: handle imports in dts files when processing CommonJS (#35191) (b6e8847), closes #34356
- router: removed unused ApplicationRef dependency (#35642) (c839c05), closes /github.com/angular/angular/commit/5a849829c42330d7e88e83e916e6e36380c97a97#diff-c0baae5e1df628e1a217e8dc38557
- service-worker: treat 503 as offline (#35595) (96cdf03), closes #35571
Features
- ngcc: implement source-map flattening (#35132) (df816c9)
- bazel: enable ivy template type-checking in g3 (#35672) (8f5b7f3)
- zone.js add interface definitions which zone extends EventTarget (#35304) (4acb676), closes #35173
- zone.js add a temp solution to support passive event listeners. (#34503) (f9d483e)
- zone.js add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) (17b862c), closes #33799
- zone.js support passive event options by defining global variables in zone.js config file (#34503) (d7d359e)
Performance Improvements
Source : JAXenter