days
-1
-1
hours
-1
-7
minutes
0
-6
seconds
-1
-3
search
The new journey begins

Road to Angular v9: Version 9.0.0-next.10 brings us one step closer to release day

JAX Editorial Team
angular
© Shutterstock / restimage

Now that Angular v8 is here, it’s time to embark on a new journey: towards the next release! It’s never too soon to look forward to the future, and we are already watching for Angular v9. What’s new? We are almost there! Version 9.0.0-next.10 tidies up with plenty of bug fixes and even more performance upgrades for Ivy.

Update October 14, 2019

Day by day, we get closer and closer to the release of Angular 9!

The latest update, Version 9.0.0-next.10 tidies up the code with a list of bug fixes, a few newly added features, removal of deprecated renderers, and some performance upgrades and improvements for Ivy.

Make note of the breaking changes and keep up with what’s new below.

Bug Fixes

  • common: expand type for “ngForOf” input to work with strict null checks (#31371) (c1bb886), closes #16373
  • core: ngNoopZone should have the same signature with ngZone (#32068) (3a53e2c), closes #32063
  • core: set migration schematic versions to valid semver versions (#32991) (0119f46)
  • core: update migration descriptions with links to AIO documentation (#32991) (f8eca84)
  • ivy: avoid exposing ng with Closure Compiler enhanced optimizations (#33010) (bad3434)
  • ivy: generate ng-reflect properties for i18n attributes (#32989) (90fb5d9)
  • ivy: i18n – better translation warnings (#32867) (97d5700)
  • ivy: i18n – do not render message ids unnecessarily (#32867) (9188751)
  • ivy: i18n – support colons in $localize metadata (#32867) (d24ade9)
  • ivy: i18n – throw an error if a translation contains an invalid placeholder (#32867) (601f87c)
  • ivy: missing schematics field in localize package (#33025) (d18289f), closes #32791
  • ivy: process nested animation metadata (#32818) (c61e4d7), closes #32794
  • ivy: unable to bind style zero (#32994) (3efb060), closes #32984
  • language-service: create StaticReflector once only (#32543) (adb562b)

Code Refactoring

Features

Performance Improvements

  • ivy: add static attributes to the element_text_create benchmark (#32997) (affae99)
  • ivy: attempt rendering initial styling only if present (#32979) (6004703)
  • ivy: avoid memory allocation in the isAnimationProp check (#32997) (9f0c549)
  • ivy: increase number of created views in the element_text_create benchmark (#32979) (8593d0d)
  • ivy: limit TNode.inputs reads on first template pass (#32979) (e6881b5)
  • ivy: move attributes array into component def (#32798) (d5b87d3)
  • language-service: improve Language service performance (#32098) (65297cd)

BREAKING CHANGES

  • core: The deprecated type Renderer has been removed. Use Renderer2 instead.
  • core: The deprecated type RenderComponentType has been removed. Use RendererType2 instead.
  • core: The deprecated type RootRenderer has been removed. Use RendererFactory2 instead.

 

 

Update September 20, 2019

 

 

Bug Fixes

  • bazel: ng_package(data) should support non-text files (#32721) (df1c456)
  • compiler-cli: fix typo in diagnostic template info. (#32684) (f6d6667), closes #32662
  • core: initialize global ngDevMode without toplevel side effects (#32079) (5f095a5), closes #31595
  • core: make injector.get() return default value with InjectFlags.Self flag on (#27739) (0477bfc), closes #27729
  • ivy: avoid unnecessary i18n instructions generation for with structural directives (#32623) (5328bb2)
  • ivy: correct debug array names (#32691) (52a6da0)
  • ivy: DebugNode throws exceptions when querying some properties (#32622) (bfb3995)
  • ivy: ensure that window.ng utilities are published when NgModules are used (#32725) (a0d04c6)
  • ivy: i18n – start generated placeholder name at PH (#32493) (f1b1de9)
  • ivy: i18n – update the compiler to output MessageIds (#32594) (b741a1c)
  • ivy: i18n – use MessageId for matching translations (#32594) (357aa4a)
  • language-service: Lazily instantiate MetadataResolver (#32631) (1771d6f)
  • language-service: Use tsLSHost.fileExists() to resolve modules (#32642) (bbb2798)
  • ngcc: consistently use outer declaration for classes (#32539) (373e133), closes #32078
  • ngcc: correctly read static properties for aliased classes (#32619) (c4e039a), closes #32539 #31791
  • ngcc: resolve imports in .d.ts files for UMD/CommonJS bundles (#32619) (3c7da76), closes #31791
  • ngcc: support UMD global factory in comma lists (#32709) (e5a3de5)

Features

  • bazel: support ts_library targets as entry-points for ng_package (#32610) (217db9b)
  • core: add dynamic queries schematic (#32231) (f5982fd)
  • core: Mark TestBed.get as deprecated (#32406) (a85eccd), closes #32200 #26491
  • ivy: expose window.ng.getDebugNode helper (#32727) (4726ac2)
  • ivy: i18n – add syntax support for $localize metadata block (#32594) (c7abb7d)
  • ivy: i18n – reorganize entry-points for better reuse (#32488) (2bf5606)
  • language-service: enable logging on TypeScriptHost (#32645) (e82f56b)
  • language-service: provide diagnostic for invalid templateUrls (#32586) (adeee0f), closes #32564
  • language-service: provide diagnostics for invalid styleUrls (#32674) (4c168ed), closes #32564

Performance Improvements

  • ivy: avoid megamorphic reads during property binding (#32574) (fcdd068)
  • ivy: avoid repeated lview reads in pipe instructions (#32633) (73cb581)
  • ivy: avoid repeated LView reads in property instructions (#32681) (e6ed4a2)
  • ivy: avoid unnecessary DOM reads in styling instructions (#32716) (05e1b3b)
  • ivy: binding update benchmark (#32574) (ea378a9)
  • ivy: convert all node-based benchmark to use a testing harness (#32699) (1748aeb)
  • ivy: guard listening to outputs with isDirectiveHost (#32495) (527ce3b)
  • ivy: initialise TNode inputs / outputs on the first creation pass (#32608) (ad178c5)
  • ivy: introduce benchmark for listeners registration (#32495) (024765b)
  • ivy: limit TNode.outputs reads (#32495) (51292e2)
  • ivy: run the expandng rows benchmark with es2015 (#32716) (3ace25f)
  • language-service: keep analyzedModules cache when source files don’t change (#32562) (4f03323)

DEPRECATIONS

  • core: TestBed.get function is marked as deprecated, use TestBed.inject instead.

 

 

Update September 12, 2019

9.0.0-next.6

Bug Fixes

  • core: improve the “missing $localize” error message (#32491) (a9ff48e)
  • ivy: capture template source mapping details during preanalysis (#32544) (a64eded), closes #32538
  • ivy: handle expressions in i18n attributes properly (#32309) (f00d033)
  • ivy: i18n – do not generate jsdoc comments for $localize (#32473) (a731119)
  • ivy: maintain coalesced listeners order (#32484) (098feec)
  • ivy: match class and attribute value without case-sensitivity (#32548) (ded5724)
  • ivy: node placed in incorrect order inside ngFor with ng-container (#32324) (da42a76)
  • ivy: restore global state after running refreshView (#32521) (a1beba4)
  • ivy: template compiler should render correct $localize placeholder names (#32509) (ea6a2e9)
  • ivy: unable to bind to properties that start with class or style (#32421) (62d92f8), closes #32310
  • ivy: unable to override ComponentFactoryResolver provider in tests (#32512) (2124588)
  • ivy: warn instead of throwing for unknown properties (#32463) (bc061b7)
  • language-service: Return empty external files during project initialization (#32519) (a65d3fa)
  • language-service: Use module resolution cache (#32479) (6052b12)
  • ngcc: only back up the original prepublishOnly script and not the overwritten one (#32427) (38359b1)
  • service-worker: keep serving clients on older versions if latest is invalidated (#31865) (bda2b4e)

Code Refactoring

Features

  • language-service: add definitions for styleUrls (#32464) (a391aeb)
  • language-service: add script to rebuild, refresh Angular dist (#32515) (1716b91)
  • service-worker: recover from EXISTING_CLIENTS_ONLY mode when there is a valid update (#31865) (094538c), closes #31109

Performance Improvements

  • ivy: check for animation synthetic props in dev mode only (#32578) (7280710)
  • ivy: introduce a node-based micro-benchmarks harness (#32510) (2895edc)
  • ivy: replace select instruction with advance (#32516) (664e001)
  • ivy: run tree benchmark with bundles and ngDevMode off (#32558) (c3a1ef2)
  • ngcc: process tasks in parallel in async mode (#32427) (e36e6c8)

BREAKING CHANGES

  • bazel: Angular bazel users using protractor_web_test_suite from @angular/bazel npm package should now switch to the @bazel/protractor npm package.

This should impact very few users and the users that are impacted have a very easy upgrade path to switch to fetching the protractor_web_test_suite rule via the @bazel/protractor npm package.

8.2.6

This release contains various API docs improvements.

Update September 12, 2019

 

9.0.0-next.5

Bug Fixes

  • ivy: add missing closure extern for $localize (#32460) (e8f9ba4)
  • ivy: ensure binding ordering doesn’t mess up when a NO_CHANGE value is encountered (#32143) (7cc4225)
  • ivy: i18n – handle translated text containing HTML comments (#32475) (5d8eb74)
  • ivy: ngcc – improve the “ngcc version changed” error message (#32396) (d5101df)
  • ivy: Prevent errors when querying for elements outside Angular context (#32361) (260217a)
  • language-service: Create DirectiveKind enum (#32376) (852afb3)
  • language-service: Invalidate Reflector caches when program changes (#32357) (97fc45f)
  • update all files/directories owned by DevInfra to new DevInfra Framework team alias (#32247) (3758978)
  • language-service: re-add regressed templateUrl tests (#32438) (1ed3531), closes #32378
  • language-service: Use ts.CompletionEntry for completions (#32375) (f6e88cd)
  • ngcc: handle compilation diagnostics (#31996) (f7471ee), closes #31977
  • common: HttpParams fromObject accepts ReadonlyArray (#31072) (f5bec3f), closes #28452

Features

Performance Improvements

  • core: Make PlatformLocation tree-shakable (#32154) (1537791)
  • ivy: add a micro benchmark for map-based style and class bindings (#32401) (ba5e07e)
  • ivy: add a micro benchmark for style and class bindings (#32401) (df8e675)
  • ivy: add element and text creation benchmark (#32342) (85864ed)
  • ivy: guard directive-related operations with a TNode flag (#32445) (641c5c1)
  • ivy: properly initialise global state in the element_text_create benchmark (#32397) (8dc3f36)
  • ivy: remove renderStringify calls for text nodes creation (#32342) (a1e91b0)
  • ivy: remove repeated memory read / write in addComponentLogic (#32339) (581b837)
  • ivy: run registerPostOrderHooks in the first template pass only (#32342) (fac066e)

Reverts

  • docs: create Issue and Pull Request markdown doc, explaining automatic locking policy (#32405) (43619fc)

BREAKING CHANGES

  • ivy: This commit removes the public export of hasBeenProcessed().

This was exported to be availble to the CLI integration but was never used. The change to the function signature is a breaking change in itself so we remove the function altogether to simplify and lower the public API surface going forward.

  • core: Injector.get now accepts abstract classes to return type-safe values. Previous implementation returned any through the deprecated implementation.

8.2.5

Bug Fixes

Update September 5, 2019

 

9.0.0-next.4

Bug Fixes

  • ivy: debug node names should match user declaration (#32328) (14feb56)
  • ivy: ngtsc throws if “flatModuleOutFile” is set to null (#32235) (4f7c971)
  • ivy: reset binding index before executing a template in refreshView call (#32201) (6b245a3)
  • ngcc: do not analyze dependencies for non Angular entry-points (#32303) (e563d77), closes #32302

Features

  • core: add undecorated classes with decorated fields schematic (#32130) (904a201)
  • ivy: use the schema registry to check DOM bindings (#32171) (0677cf0)

Performance Improvements

  • ivy: minimise writes to the lView[BINDING_INDEX] / binding root (#32263) (e3422e0)
  • ivy: store binding metadata in the ngDevMode only (#32317) (0874bf4)

8.2.4

This release contains various API docs improvements.

Update August 29, 2019

 

9.0.0-next.3

Features

  • core: add undecorated classes migration schematic (#31650) (024c31d)
  • forms: formControlName also accepts a number (#30606) (628b0c1)
  • compiler: allow selector-less directives as base classes in View Engine (#31379) (4055150)
  • ivy: support selector-less directive as base classes in Ivy (#32125) (cfed0c0), closes #31379
  • ivy: make the Ivy compiler the default for ngc (#32219) (ec4381d)
  • ivy: convert all ngtsc diagnostics to ts.Diagnostics (#31952) (0287b23)

Performance Improvements

  • core: make sanitization tree-shakable in Ivy mode (#31934) (2e4d17f)
  • ivy: auto-call select(0) for non-empty views only (#32131) (4d549f6)
  • ivy: avoid first template pass checks during view creation (#32120) (4c3b791)
  • ivy: avoid for-of loops at runtime (#32157) (abb44f7)
  • ivy: improve NaN checks in change detection (#32212) (53bfa7c)
  • ivy: interpolation micro-benchmark (#32104) (be665d8)
  • ivy: noop change detection micro-benchmark (#32104) (c422c72)
  • don’t create holey arrays (#32155) (6477057)
  • ivy: read selected index only when need in prop bindings (#32212) (53f33c1)
  • ivy: split hooks processing into init and check phases (#32131) (1062960)
  • ivy: split view processing into render (create) and refresh (update) pass (#32020) (b9dfe66)

Bug Fixes

  • bazel: pin [@microsoft](https://github.com/microsoft)/api-extractor (#32187) (5da5ca5)
  • common: update $locationShim to notify onChange listeners before emitting AngularJS events (#32037) (5064dc7)
  • compiler: return enableIvy true when using readConfiguration (#32234) (424ab48)
  • ivy: get name directly from nativeNode (#32198) (3dbc4ab)
  • ivy: handle empty bindings in template type checker (#31594) (0db1b5d), closes #30076 #30929
  • ivy: in ngcc, handle inline exports in commonjs code (#32129) (02bab8c)
  • ivy: ngcc should only index .d.ts exports within the package (#32129) (964d726)
  • ivy: ngTemplateOutlet error when switching between null and template value (#32160) (c2868de), closes #32060
  • ivy: run template type-checking for all components (#31952) (bfc26bc)
  • language-service: Instantiate MetadataResolver once (#32145) (6a0b1d5)
  • language-service: Remove ‘context’ used for module resolution (#32015) (a91ab15)
  • ngcc: handle deep imports that already have an extension (#32181) (4bbf16e), closes #32097
  • ngcc: ignore format properties that exist but are undefined (#32205) (f8b995d), closes #32052 #32188

BREAKING CHANGES

  • ivy: make Hammer support tree-shakable. Previously, in Ivy applications, Hammer providers were included by default. With this commit, apps that want Hammer support must import HammerModulein their root module. (#32203) (de8ebbd)

8.2.3

Bug Fixes

  • bazel: pin [@microsoft](https://github.com/microsoft)/api-extractor (#32187) (a7b9478)

Update August 22, 2019

 

9.0.0-next.2

Bug Fixes

  • bazel: disable treeshaking when generating FESM and UMD bundles (#32069) (4f37487)
  • compiler: do not remove whitespace wrapping i18n expansions (#31962) (0ddf0c4)
  • ivy: reuse compilation scope for incremental template changes. (#31932) (eb5412d), closes #31654

Performance Improvements

  • ivy: don’t read global state when interpolated values don’t change (#32093) (6eb9c2f)

8.2.2

Bug Fixes

  • bazel: disable treeshaking when generating FESM and UMD bundles (#32069) (3420d29)

 

 

Update August 13, 2019

 

9.0.0-next.1

Bug Fixes

  • language-service: getSourceFile() should only be called on TS files (#31920) (e8b8f6d)
  • language-service: Make Definition and QuickInfo compatible with TS LS (#31972) (a8e2ee1)
  • upgrade: compile downgraded components synchronously (if possible) (#31840) (c1ae612), closes #27217 #30330

8.2.1

Bug Fixes

 

 

Update July 31, 2019

 

8.2.0-rc.0

Bug Fixes

Features

  • bazel: compile targets used for indexing by Kythe with Ivy (#31786) (82055b2)
  • upgrade: support $element in upgraded component template/templateUrl functions (#31637) (29e1c53)

Performance Improvements

  • compiler: avoid copying from prototype while cloning an object (#31638) (24ca582), closes #31627

8.1.3

Bug Fixes

Performance Improvements

  • compiler: avoid copying from prototype while cloning an object (#31638) (1f3daa0), closes #31627

 

 

 

Update July 18, 2019

Bug Fixes

  • use the correct WTF array to iterate over (#31208) (9204de9)
  • bazel: pass custom bazel compiler host rather than rewriting one (#31496) (0c61a35)
  • compiler-cli: Return original sourceFile instead of redirected sourceFile from getSourceFile (#26036) (3166cff), closes #22524
  • language-service: Eagarly initialize data members (#31577) (0110de2)

Bug Fixes

 

 

Update 11, July

8.2.0-next.1

Features

  • core: add automatic migration from Renderer to Renderer2 (#30936) (c095597)

Bug Fixes

  • bazel: revert location of xi18n outputs to bazel-genfiles (#31410) (1d3e227)
  • compiler: give ASTWithSource its own visit method (#31347) (6aaca21)

Compare between 8.2.0-next.0 and 8.2.0-next.1 here on GitHub to see what commits have been made.

8.1.1

 

 

 

Update 3, July 

8.2.0-next.0

Features

  • bazel: allow passing a custom bazel compiler host to ngc compile (#31341) (a29dc96)
  • bazel: allow passing and rewriting an old bazel host (#31381) (11a208f), closes #31341

Bug fixes

  • core: handle undefined meta in injectArgs (#31333) (80ccd6c), closes CLI #14888
  • service-worker: cache opaque responses in data groups with freshness strategy (#30977) (d7be38f), closes #30968
  • service-worker: cache opaque responses when requests exceeds timeout threshold (#30977) (93abc35)

8.1.0

Bug fixes

  • core: handle undefined meta in injectArgs (#31333) (80ccd6c), closes CLI #14888
  • service-worker: cache opaque responses in data groups with freshness strategy (#30977) (b0c3453), closes #30968
  • service-worker: cache opaque responses when requests exceeds timeout threshold (#30977) (a9038ef)

 

 

Update 27, June

 

8.1.0-rc.0

Features

  • upgrade: provide unit test helpers for wiring up injectors (#16848) (3fb78aa)

Bug Fixes

8.0.3

Bug Fixes

 

Update 24, June

8.1.0-next.3

8.0.2

 

 

Update 14, June

8.1.0-next.2

  • bazel: do not modify tsconfig.json (#30877) (b086676)
  • bazel: exclude components schematics from build (#30825) (05a43ca)
  • bazel: Load global stylesheet in dev and prod (#30879) (17bfedd)
  • common: expose the HttpUploadProgressEvent interface as public API (#30852) (5c18f23), closes #30814
  • service-worker: avoid uncaught rejection warning when registration fails (#30876) (81c2a94)

8.0.1

 

 

Update 3, June

After following the long road towards Angular v8, it successfully launched on May 28, 2019, with new features, changes, and improvements galore.

Now, we embark on a new journey: towards Angular v9! Let’s follow the latest changes and additions. Head on over to the changelog on GitHub to keep track of the news.

Angular 8.1.0 beta is already here, just days after v8 arrived. It includes an array of bug fixes and six new features.

Let’s take a look.

Features

  • bazel: use rbe_autoconfig() and new container. (#29336) (9abf114)
  • common: add ability to watch for AngularJS URL updates through onUrlChange hook (#30466) (1aff524)
  • common: stricter types for SlicePipe (#30156) (95830ee)
  • core: deprecate integration with the Web Tracing Framework (WTF) (#30642) (f310a59)
  • language-service: Implement definitionAndBoundSpan (#30125) (f491673)
  • platform-webworker: deprecate platform-webworker (#30642) (ccc76f7)

Bug Fixes

  • bazel: allow ts_library interop with list-typed inputs (#30600) (3125376)
  • bazel: Bump ibazel to 0.10.1 for windows fixes (#30196) (1353bf0)
  • bazel: Directly spawn native Bazel binary (#30306) (2a0f497)
  • bazel: Disable sandbox on Mac OS (#30460) (b6b1aec)
  • bazel: Exclude common/upgrade* in metadata.tsconfig.json (#30133) (1f4c380)
  • bazel: ng test should run specific ts_web_test_suite (#30526) (e688e02)
  • bazel: pass correct arguments to http_server in Windows (#30346) (3aff79c), closes #29785
  • bazel: update peerDep ranges (#30155) (4ae0ee8)
  • bazel: Use existing npm/yarn lock files (#30438) (ff29ccc)
  • compiler-cli: log ngcc skipping messages as debug instead of info (#30232) (60a8888)
  • core: consistently use ng:/// for sourcemap URLs (#29826) (392473e)
  • core: CSS sanitizer now allows parens in file names (#30322) (728db88)
  • core: fix interpolate identifier in AOT (#30243) (30d1f29)
  • core: migrations not always migrating all files (#30269) (349935a)
  • core: remove deprecated TestBed.deprecatedOverrideProvider API (#30576) (a96976e)
  • core: require ‘static’ flag on queries in typings (#30639) (84dd267)
  • core: static-query migration errors not printed properly (#30458) (6ceb903)
  • core: static-query migration fails with default parameter values (#30269) (6357d4a)
  • core: static-query migration should gracefully exit if AOT compiler throws (#30269) (509352f)
  • core: static-query migration should handle queries on accessors (#30327) (0ffdb48)
  • core: static-query migration should not fallback to test strategy (#30458) (0cdf598)
  • core: static-query migration should not prompt if no queries are used (#30254) (4c12d74)
  • core: static-query usage migration strategy should detect ambiguous query usage (#30215) (8d3365e)
  • core: temporarily remove @deprecated jsdoc tag for a TextBed.get overload (#30514) (f6bf892), closes #29290#29905
  • language-service: Remove tsserverlibrary from rollup globals (#30123) (124e497)
  • router: ensure history.state is set in eager update mode (#30154) (b40f6f3)
  • router: ensure navigations start with the current URL value incase redirect is skipped (#30344) (0fd9d08), closes #30340 #30160
  • router: fix a problem with router not responding to back button (#30160) (3327bd8)
  • router: IE 11 bug can break URL unification when comparing objects (#30393) (197584d)
  • router: type cast correctly for IE 11 bug breaking URL Unification when comparing objects (#30464) (53f3564)

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of