days
0
-10
-2
hours
-2
-2
minutes
-4
-2
seconds
-5
-1
search
The new journey begins

Road to Angular v9: 9.0.0-next.3 improves Ivy performance

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? The latest update includes some performance improvements for ivy, a few new features, bug fixes, and one breaking change.

One more Angular update for the road!

Version 9.0.0-next.3 brings with it one new breaking change, performance improvements for ivy, a few new features, and a handful of bug fixes. This is a larger update than the past few, so let’s take a look at what it includes.

Have a pull request in mind? Before you start a new PR, compare the different branches with this handy GitHub feature.

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)

Update August 13, 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