Road to Angular v9: 9.0.0-rc.6

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? This week’s release candidate brings us even closer to the final version! 9.0.0-rc.6 has been released.

Although the final release is still missing in action, we are on the final stretch as the sixth release candidate for Angular 9 has arrived – 9.0.0-rc.6. The bug fixes are still coming thick and fast, but we’re noticing that the list of changes for rc.5 and rc.6 are slightly shorter that previous ones, so perhaps that’s a sign that we might get a little present before the holidays after all! We’re keeping our fingers crossed that Angular 9 turns up in our stocking one of these days.

In the meantime, to apologize for the fact we were too busy to catch Angular 9.0.0-rc.5, we’ve published a video from our International JavaScript Conference so you can get an extra dose of Angular today: The Future of Angular and your Architectures with Ivy:

Enjoy!

Here’s the complete list of changes, as seen on the changelog.

Updated December 12, 2019

Angular 9.0.0-rc.6

Bug Fixes

Performance Improvements

Angular 9.0.0-rc.5

Bug Fixes

Performance Improvements

  • add js-web-frameworks benchmark (#34034) (bf16b0e)
  • ivy: avoid duplicate state lookup and default function parameters (#34183) (00f7372)

Updated November 27, 2019

Angular 9.0.0-rc.4

Bug Fixes

Features

Performance Improvements

  • ivy: do no work if moving a viewRef to the same position (#34052) (d228801)
  • ivy: fix creation time micro-benchmarks (#34031) (457ac3a)
  • ivy: R3TestBed – Do not process NgModuleDefs that have already been processed (#33863) (05a18cc)

Updated November 21, 2019

Angular 9.0.0-rc.3

Bug Fixes

  • bazel: add terser as an optional peer dependency (#33891) (2d7b015)
  • compiler-cli: Refactor getTsTypeFromBuiltinType (#33778) (09480d3)
  • core: make QueryList implement Iterable in the type system (#33536) (49571bf), closes #29842
  • ivy: always re-analyze the program during incremental rebuilds (#33862) (30ddadc), closes #32388
  • ivy: avoid cyclical dependency in imports (#33831) (a61fb76)
  • ivy: constant object literals shared across element and component instances (#33705) (93ba4c2)
  • ivy: don’t infer template context types when in full mode (#33537) (595375f), closes #33527
  • ivy: emit fs-relative paths when rootDir(s) aren’t in effect (#33828) (14156bd), closes #33659 #33562
  • ivy: ExpressionChangedAfterItHasBeenCheckedError for SafeValue (#33749) (cba6b7d), closes #33448
  • ivy: extend assertion in directiveInject function to support IcuContainers (#33832) (8452458)
  • ivy: i18n – ensure that colons in i18n metadata are not rendered (#33820) (bc28ca7)
  • ivy: i18n – support “”, “`” and “${” sequences in i18n messages (#33820) (b53a1ac)
  • ivy: move setClassMetadata calls into a pure iife (#33337) (213e3c3)
  • ivy: properly insert views before ng-container with injected ViewContainerRef (#33853) (c7a3694)
  • ivy: properly insert views into ViewContainerRef injected by querying (#33816) (f136dda)
  • ivy: report watch mode diagnostics correctly (#33862) (d92da13), closes #32213
  • ivy: reset style property value defined using [style.prop.px] (#33780) (de8cf75)
  • ivy: retain JIT metadata unless JIT mode is explicitly disabled (#33671) (5267c92)
  • ivy: shadow all DOM properties in DebugElement.properties (#33781) (5be23a3), closes #33695
  • ivy: support for #id bootstrap selectors (#33784) (9761ebe), closes #33485
  • language-service: Function alias should be callable (#33782) (ca63353)
  • language-service: Provide completions for attribute values (#33839) (0e20453)
  • language-service: Recompute analyzed modules only when source files change (#33806) (9882a82)
  • language-service: Remove getTemplateReferences() from LanguageService API (#33807) (0688a28)
  • ngcc: always add exports for ModuleWithProviders references (#33875) (f3d8f6a), closes #33701
  • ngcc: correctly associate decorators with aliased classes (#33878) (59a4b76)
  • ngcc: correctly include internal .d.ts files (#33875) (0854dc8)
  • ngcc: do not emit ES2015 code in ES5 files (#33514) (06e36e5), closes #32665
  • ngcc: generate correct metadata for classes with getter/setter properties (#33514) (21bd8c9), closes #30569
  • ngcc: properly detect origin of constructor param types (#33901) (05d5c4f), closes #33677
  • router: make routerLinkActive work with query params which contain arrays (#22666) (8e5ed20), closes #22223
  • zone.js: fixes typo of zone.js patch vrdisplaydisconnected property (#33581) (1b7aa05), closes #33579

Features

  • bazel: update ng-add to use bazel v1.1.0 (#33813) (b1d0a4f)
  • core: missing-injectable migration should migrate empty object literal providers (#33709) (b7c012f)

Performance Improvements

  • ivy: add micro-benchmark focused on directive input update (#33798) (edd624b)
  • ivy: don’t store public input names in two places (#33798) (105616c)
  • ivy: extract template’s instruction first create pass processing (#33856) (01af94c)
  • ivy: Improve performance of transplanted views (#33702) (a16a57e)

Updated November 14, 2019

Angular 9.0.0-rc.2

Bug Fixes

  • common: rerun cldr to remove � characters (#33699) (011ecdf)
  • common: update CLDR generated files after change to npm sources (#33634) (59b25da)
  • common: update CLDR generated files to 36.0.0 (#33584) (c1bd3bc)
  • compiler: correctly parse attributes with a dot in the name (#32256) (687582f)
  • compiler-cli: Fix typo $implict (#33633) (7bccef5)
  • compiler-cli: Pass SourceFile to getFullText() (#33660) (33f6cd4)
  • core: remove ngcc postinstall migration (#33727) (508bbfd)
  • core: support ngInjectableDef on types with inherited ɵprov (#33732) (4ec079f)
  • ivy: auto register NgModules with ID (#33663) (4988094)
  • ivy: better support for i18n attributes on s (#33599) (2046202)
  • ivy: ComponentFactory.create should clear host element content (#33487) (d67a38b)
  • ivy: ensure module scope is rebuilt on dependent change (#33522) (71238a9), closes #32416
  • ivy: ensure that the correct document is available (#33712) (8362696), closes #33651
  • ivy: Handle overrides for {providedIn: AModule} in R3TestBed (#33606) (d09ad82)
  • ivy: match directives on namespaced elements (#33555) (99ead47), closes #32061
  • ivy: properly determine the first native node of a view (#33627) (811275c)
  • ivy: properly insert views in front of empty views (#33647) (c5737f4)
  • ivy: properly insert views in front of views with an empty element container (#33647) (0b99884)
  • ivy: provider override via TestBed should remove old providers from the list (#33706) (f45d5dc)
  • ivy: recompile component when template changes in ngc watch mode (#33551) (da01dbc), closes #32869
  • ivy: recompile component when template changes in ngc watch mode (#33551) (cd8333c), closes #32869
  • ivy: Run ChangeDetection on transplanted views (#33644) (37ae45e), closes #33393
  • language-service: Resolve template variable in nested ngFor (#33676) (6615743)
  • ngcc: add default config for ng2-dragula (#33797) (ecf38d4), closes #33718
  • ngcc: add reexports only once (#33658) (83b635c)
  • ngcc: ensure that adjacent statements go after helper calls (#33689) (c540061)
  • generate the new locale files (#33682) (72796b9)
  • resolve event listeners not correct when registered outside of ngZone (#33711) (9045e3e), closes #33687
  • use full cldr data to support all locales (#33682) (ea83125), closes #33681
  • ngcc: remove __decorator calls even when part of the IIFE return statement (#33777) (e1df98b)
  • ngcc: support minified ES5 scenarios (#33777) (49e517d)

Performance Improvements

  • core: Avoid unnecessary creating provider factory (#33742) (c315881)

Reverts

  • “fix(ivy): recompile component when template changes in ngc watch mode (#33551)” (#33661) (cb55f60)
  • fix(ivy): Only restore registered modules if user compiles modules with TestBed (#32944) (#33663) (f8e9c1e)
  • fix(ivy): R3TestBed should clean up registered modules after each test (#32872) (#33663) (7c4366d)

Update November 7, 2019

Angular 9.0.0-rc.1

Bug Fixes

Features

  • common: support loading locales from a global (#33523) (c5894e0)
  • ivy: graceful evaluation of unknown or invalid expressions (#33453) (ce30888)
  • ivy: implement unknown element detection in jit mode (#33419) (c83f501)
  • add a flag in bootstrap to enable coalesce event change detection to improve performance (#30533) (44623a1)

Performance Improvements

  • ivy: add new benchmark focused on template creation (#33511) (df1bef3)
  • ivy: add ngIf-like directive to the ng_template benchmark (#33595) (e89c2dd)
  • ivy: avoid native node retrieval from LView (#33511) (083d48e)
  • ivy: avoid repeated native node retrieval and patching (#33322) (41caafc)
  • ivy: avoid repeated tNode.initialInputs reads (#33322) (4452d6d)
  • ivy: move local references into consts array (#33129) (66725b7), closes #32798

Update November 6, 2019

Release candidate stage

Angular updated their changelog on GitHub and now we are one step closer to the release of Angular 9. The time has come and we are officially in the release candidate stage!

Check out the Updating to Angular Version 9 guide.

From the updating guide, be aware of the breaking changes and deprecations that come with v9.

Breaking changes

  • Angular v9 will compile with Ivy as the default rendering engine. View the Ivy compatibility guide for information on debugging errors, and some potential changes you may see. Ivy is (mostly) backward-compatible with the previous rendering engine, however, some applications will need to be manually updated.
  • If you are using Typescript 3.4 or 3.5, you must update to Typescript 3.6.
  • tslib now listed as a peer dependency rather than a direct dependency. If you do not use the CLI, you will have to manually install tslib via yarn

Deprecations

The following APIs are deprecated in v9.

Removals of deprecated APIs

Update October 31, 2019

Angular 9.0.0-next.15

Bug Fixes

  • compiler: i18n – ignore alt-trans tags in XLIFF 1.2 (#33450) (936700a), closes #33161
  • ivy: descend into ICU containers when collecting rootNodes (#33493) (563a507)
  • ivy: descend into view containers on elements when collecting rootNodes (#33493) (87743f1)
  • ivy: descend into view containers on ng-container when collecting rootNodes (#33493) (a5167bd)
  • ivy: descend into view containers on ng-template when collecting rootNodes (#33493) (502fb7e)
  • ivy: ensure overrides for ‘multi: true’ only appear once in final providers (#33104) (e483aca)
  • ivy: handle elements with local refs in i18n blocks (#33415) (bd40c89)
  • ivy: i18n – support setting locales for each translation file (#33381) (62b2840), closes #33323
  • ivy: i18n – update localize-translate to accept target-locales (#33381) (41979d6)
  • language-service: Improve signature selection for pipes with args (#33456) (1de7579)

Features

Performance Improvements

  • ivy: avoid generating selectors array for directives without a selector (#33431) (c3e9356)

Update October 31, 2019

Angular 9.0.0-next.14

Bug Fixes

  • core: missing-injectable migration should handle forwardRef (#33286) (eeecbf2)
  • core: missing-injectable migration should not migrate providers with “useExisting” (#33286) (4d23b60)
  • core: missing-injectable migration should not update type definitions (#33286) (335854f)
  • ivy: allow abstract directives to have an invalid constructor (#32987) (8d15bfa), closes #32981
  • ivy: fix broken typechecking test on Windows (#33376) (63f0ded)
  • ivy: split checkTypeOfReferences into DOM and non-DOM flags. (#33365) (113411c)
  • ivy: support abstract directives in template type checking (#33131) (a42057d), closes #30080
  • language-service: Do not show HTML elements and attrs for ext template (#33388) (a78b701)
  • ngcc: prevent reflected decorators from being clobbered (#33362) (0de2dbf)

Features

  • ivy: add a runtime feature to copy cmp/dir definitions (#33362) (818c514)
  • ivy: add flag to disable checking of text attributes (#33365) (d8ce212)
  • ivy: allow the locale to be set via a global property (#33314) (fde8363)
  • ivy: i18n – inline current locale at compile-time (#33314) (fb84ea7)
  • ivy: input type coercion for template type-checking (#33243) (f1269d9)
  • ivy: strictness flags for template type checking (#33365) (0d9be22)
  • ivy: verify whether TypeScript version is supported (#33377) (4aa51b7)
  • ngcc: add a migration for undecorated child classes (#33362) (b381497)
  • ngcc: enable migrations to apply schematics to libraries (#33362) (6b26748)
  • ngcc: migrate services that are missing @Injectable() (#33362) (31b9492)

Performance Improvements

  • ivy: apply [style]/[class] bindings directly to style/className (#33336) (dcdb433)
  • ivy: apply static styles/classes directly to an element’s style/className properties (#33364) (5607ad8)
  • ivy: improve styling performance (#33326) (d40ee6a)

Update October 28, 2019

Angular 9.0.0-next.13

Bug Fixes

Features

  • core: add ModuleWithProviders generic type migration (#33217) (56731f6)
  • ivy: enable re-export of the compilation scope of NgModules privately (#33177) (c4733c1), closes #29361
  • ivy: give shim generation its own compiler options (#33256) (d4db746)
  • ngcc: enable private NgModule re-exports in ngcc on request (#33177) (e030375)

Performance Improvements

  • ivy: avoid unnecessary i18n pass while processing a template (#33284) (7f7dc7c)

BREAKING CHANGES

  • bazel: @angular/bazel ng_setup_workspace() is no longer needed and has been removed. We assume you will fetch rules_nodejs in your WORKSPACE file, and no other dependencies remain here. Simply remove any calls to this function and the corresponding load statement.

Update October 24, 2019

Angular 9.0.0-next.12

Bug Fixes

Features

  • add a flag in bootstrap to enable coalesce event change detection to improve performance (#30533) (21c1e14)
  • ivy: improve debugging experience for styles/classes (#33179) (724707c)
  • typescript 3.6 support (#32946) (86e1e6c), closes #32380
  • ivy: type checking of event bindings (#33125) (6958d11)
  • language-service: add Angular pseudo elements into completions (#31248) (7c64b8d)
  • ngcc: support –async flag (defaults to true) (#33192) (2196114)
  • ngcc: support ignoreMissingDependencies in ngcc config (#33192) (4da2dda)

Performance Improvements

  • ivy: initialise inputs from static attrs on the first template pass only (#33195) (aef7dca)
  • ivy: limit global state read / write in host bindings (#33195) (3e14c2d)

Reverts

BREAKING CHANGES

  • typescript 3.4 and 3.5 are no longer supported, please update to typescript 3.6

Update October 21, 2019

Angular 9.0.0-next.11

Bug Fixes

  • compiler-cli: produce diagnostic messages in expression of PrefixNot node. (#33087) (2ddc851)
  • compiler-cli: resolve type of exported *ngIf variable. (#33016) (39587ad)
  • ivy: avoid DOM element assertions if procedural renderer is used (#33156) (11e04b1)
  • ivy: do not always accept undefined for directive inputs (#33066) (50bf17a), closes #32690
  • ivy: ensure sanitizer is not used when direct class application occurs (#33154) (1cda80e)
  • ivy: i18n – add XLIFF aliases for legacy message id support (#33160) (ad72c90)
  • ivy: i18n – strip meta blocks from untranslated messages (#33097) (1845faa)
  • ivy: i18n – support lazy-load template string helpers (#33097) (83425fa)
  • ivy: i18n – turn on legacy message-id support by default (#33053) (f640a4a)
  • language-service: Use index.d.ts for typings (#33043) (728cd84)
  • google3 sync which requires type hints (#33108) (0c69ec2)
  • ngcc: rename the executable from ivy-ngcc to ngcc (#33140) (1a34fbc)
  • service-worker: continue serving api requests on cache failure (#32996) (52483bf), closes #21412

Code Refactoring

Features

  • compiler: record absolute span of template expressions in parser (#31897) (b04488d), closes #31898
  • core: add postinstall ngcc migration (#32999) (30d25f6)
  • ivy: better error messages for unknown components (#33064) (d8249d1)
  • ivy: check regular attributes that correspond with directive inputs (#33066) (cd7b199)
  • ivy: disable strict null checks for input bindings (#33066) (ece0b2d)
  • ivy: i18n – support source locale inlining (#33101) (f433d66)
  • change tslib from direct dependency to peerDependency (#32167) (e2d5bc2)
  • language-service: directive info when looking up attribute’s symbol (#33127) (ce7f934)
  • language-service: hover information for component NgModules (#33118) (e409ed0), closes #32565
  • ngcc: support fallback to a default configuration (#33008) (9167624)
  • ngcc: support version ranges in project/default configurations (#33008) (90007e9)

Performance Improvements

  • ivy: guard host binding execution with a TNode flag (#33102) (d4d0723)
  • ivy: introduce micro-benchmark for directive instantiation (#33082) (22d4efb)
  • ivy: limit memory reads in getOrCreateNodeInjectorForNode (#33102) (dcca80b)
  • ivy: speed up bindings when no directives are present (#32919) (b2decf0)
  • ivy: stricter null checks in setInputsFromAttrs (#33102) (b800b88)
  • ivy: use instanceof operator to check for NodeInjectorFactory instances (#33082) (8d111da)

BREAKING CHANGES

  • We no longer directly have a direct depedency on tslib. Instead it is now listed a peerDependency.

Users not using the CLI will need to manually install tslib via;

yarn add tslib

or

npm install tslib --save

  • forms: * <ngForm></ngForm> can no longer be used as a selector. Use <ng-form></ng-form> instead.
  • The NgFromSelectorWarning directive has been removed.
  • FormsModule.withConfig has been removed. Use the FormsModule directly.

Update October 14, 2019

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

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)

#Angular #WebDev #JavaScript

Road to Angular v9: 9.0.0-rc.6
17.25 GEEK