angular/CHANGELOG.md
2024-03-13 14:05:31 -07:00

282 KiB

17.3.0 (2024-03-13)

compiler

Commit Type Description
1a6beae8a2 feat Enable template pipeline by default. (#54571)
f386a04c9d fix handle two-way bindings to signal-based template variables in instruction generation (#54714)
1f129f114e fix not catching for loop empty tracking expressions (#54772)

compiler-cli

Commit Type Description
12dc4d074e fix account for as expression in docs extraction (#54414)
da7fbb40f0 fix detect when the linker is working in unpublished angular and widen supported versions (#54439)
492e03f699 fix flag two-way bindings to non-signal values in templates (#54714)
5afa4f0ec1 fix support ModuleWithProviders literal detection with typeof (#54650)

core

Commit Type Description
331b16efd2 feat add API to inject attributes on the host node (#54604)
fb540e169a feat add migration for invalid two-way bindings (#54630)
c687b8f453 feat expose new output() API (#54650)
c809069f21 feat introduce outputFromObservable() interop function (#54650)
aff65fd1f4 feat introduce outputToObservable interop helper (#54650)
974958913c feat support TypeScript 5.4 (#54414)
39a50f9a8d fix ensure all initializer functions run in an injection context (#54761)
243ccce624 fix exclude class attribute intended for projection matching from directive matching (#54800)
2909e9817d fix prevent infinite loops in clobbered elements check (#54425)
7243c704cf fix return a readonly signal on asReadonly. (#54706)
bb35414a38 perf speed up retrieval of DestroyRef in EventEmitter (#54748)

http

Commit Type Description
8d37ed035c fix exclude caching for authenticated HTTP requests (#54746)

router

Commit Type Description
c1c7384e02 feat Add reusable types for router guards (#54580)
7225485311 fix Navigations triggered by cancellation events should cancel previous navigation (#54710)

17.2.4 (2024-03-06)

compiler-cli

Commit Type Description
917b9bdd2e fix unwrap expressions with type parameters in query read property (#54647)

core

Commit Type Description
586cc24a10 fix apply TestBed provider overrides to @defer dependencies (#54667)
b558a01c84 fix generic inference for signal inputs may break with --strictFunctionTypes (#54652)
443e5f1591 fix return a readonly signal on asReadonly. (#54719)
ffbafc7d4a fix untrack various core operations (#54614)

17.2.3 (2024-02-27)

common

Commit Type Description
1a526f2881 perf AsyncPipe should not call markForCheck on subscription (#54554)

compiler-cli

Commit Type Description
2aefed8763 fix catch function instance properties in interpolated signal diagnostic (#54325)
48aec63ee4 fix identify aliased initializer functions (#54480)
daf7c611b2 fix identify aliased initializer functions (#54609)

core

Commit Type Description
57123524a2 fix collect providers from NgModules while rendering @defer block (#52881)
79a32816dc fix fix typo in injectors.svg file (#54596)

migrations

Commit Type Description
dbe673b027 fix resolve infinite loop for a single line element with a long tag name and angle bracket on a new line (#54588)

17.2.2 (2024-02-21)

common

Commit Type Description
d34e3298db fix image placeholder not removed in OnPush component (#54515)

compiler

Commit Type Description
6447c0eecc fix adding the inert property to the "SCHEMA" array (#53148)

compiler-cli

Commit Type Description
0a3edfb543 fix correctly detect deferred dependencies across scoped nodes (#54499)
790f4f7c26 fix use correct symbol name for default imported symbols in defer blocks (#54495)

core

Commit Type Description
3bd5860c74 fix properly execute content queries for root components (#54457)

migrations

Commit Type Description
bb57d34110 fix Fix cf migration regular expression to include underscores (#54533)

router

Commit Type Description
3e31f1a34e fix Clear internal transition when navigation finalizes (#54261)

17.2.1 (2024-02-14)

compiler-cli

Commit Type Description
7234824228 fix fix broken version detection condition (#54443)

17.2.0 (2024-02-14)

common

Commit Type Description
03c3b3eb79 feat add Netlify image loader (#54311)
f5c520b836 feat add placeholder to NgOptimizedImage (#53783)

compiler

Commit Type Description
47e6e84101 feat Add a TSConfig option useTemplatePipeline (#54057)
66e940aebf feat scope selectors in @starting-style (#53943)
7b4d275f49 fix Fix the template pipeline option (#54148)

compiler-cli

Commit Type Description
7e861c640e feat generate extra imports for component local dependencies in local mode (#53543)
3263df23f2 feat generate global imports in local compilation mode (#53543)
b774e22d8e feat make it configurable to generate alias reexports (#53937)
3e1384048e feat support host directives for local compilation mode (#53877)
a592904c69 fix allow custom/duplicate decorators for @Injectable classes in local compilation mode (#54139)
4b1d948b36 fix consider the case of duplicate Angular decorators in local compilation diagnostics (#54139)
96bcf4fb12 fix forbid custom/duplicate decorator when option forbidOrphanComponents is set (#54139)
64fa5715c6 fix generating extra imports in local compilation mode when cycle is introduced (#53543)
6c8b09468a fix highlight the unresolved element in the @Component.styles array for the error LOCAL_COMPILATION_UNRESOLVED_CONST (#54230)
0970129e20 fix show proper error for custom decorators in local compilation mode (#53983)
f39cb06418 fix show specific error for unresolved @Directive.exportAs in local compilation mode (#54230)
f3851b5945 fix show specific error for unresolved @HostBinding's argument in local compilation mode (#54230)
39ddd884e8 fix show specific error for unresolved @HostListener's event name in local compilation mode (#54230)
5d633240fd fix show the correct message for the error LOCAL_COMPILATION_UNRESOLVED_CONST when an unresolved symbol used for @Component.styles (#54230)
58b8a232d6 fix support jumping to definitions of signal-based inputs (#54053)

core

Commit Type Description
702ab28b4c feat add support for model inputs (#54252)
e95ef2cbc6 feat expose queries as signals (#54283)
656bc282e3 fix add toString implementation to signals (#54002)
62b87b4551 fix do not crash for signal query that does not have any matches (#54353)
4b96f370ee fix expose model signal subcribe for type checking purposes (#54357)
744cb1e561 fix return the same children query results if there are no changes (#54392)
6d00115bf4 fix show placeholder block on the server with immediate trigger (#54394)

http

Commit Type Description
1c536250b6 fix Use string body to generate transfer cache key. (#54379)

17.1.3 (2024-02-08)

compiler-cli

Commit Type Description
bc4a6a9715 fix do not error due to multiple components named equally (#54273)
a997e08c6f fix handle default imports in defer blocks (#53695)
63a9027720 fix interpolatedSignalNotInvoked diagnostic for model signals (#54338)
40e1edc977 fix properly catch fatal diagnostics in type checking (#54309)
9f6605d11b fix support jumping to definitions of signal-based inputs (#54233)

core

Commit Type Description
7df133dcc2 fix afterRender hooks should allow updating state (#54074)
744e20641a fix Fix possible infinite loop with markForCheck by partially reverting #54074 (#54329)
0fb114274c fix update imports to be compatible with rxjs 6 (#54193)

router

Commit Type Description
238f2a8bc9 fix Clear internal transition when navigation finalizes (#54261)

17.1.2 (2024-01-31)

Commit Type Description
ccddacf11d fix cta clickability issue in adev homepage. (#52905)

animations

Commit Type Description
98d545fafa fix cleanup DOM elements when root view is removed with async animations (#53033)

common

Commit Type Description
cdc5e39532 fix The date pipe should return ISO format for week and week-year as intended in the unit test. (#53879)

compiler

Commit Type Description
f12b01ec88 fix Update type check block to fix control flow source mappings (#53980)

core

Commit Type Description
c477e876e3 fix change defer block fixture default behavior to playthrough (#54088)

migrations

Commit Type Description
8264382a6b fix error in standalone migration when non-array value is used as declarations in TestBed (#54122)

17.1.1 (2024-01-24)

router

Commit Type Description
f222bee8fa fix revert commit that replaced last helper with native Array.at(-1) (#54021)

17.1.0 (2024-01-17)

compiler

Commit Type Description
79ff91a813 fix allow TS jsDocParsingMode host option to be programmatically set (#53126)
5613051a8b fix allow TS jsDocParsingMode host option to be programmatically set again (#53292)
df8a825910 fix project empty block root node (#53620)
478d622265 fix project empty block root node in template pipeline (#53620)

compiler-cli

Commit Type Description
abdc7e4578 feat support type-checking for generic signal inputs (#53521)
e620b3a724 fix add compiler option to disable control flow content projection diagnostic (#53311)
4c1d69e288 fix add diagnostic for control flow that prevents content projection (#53190)
76ceebad04 fix do not throw fatal error if extended type check fails (#53896)
1a6eaa0fea fix input transform in local compilation mode (#53645)
56a76d73e0 fix modify getConstructorDependencies helper to work with reflection host after the previous change (#52215)

core

Commit Type Description
863be4b698 feat expose new input API for signal-based inputs (#53872)
94096c6ede feat support TypeScript 5.3 (#52572)
69b384c0d1 fix SignalNode reactive node incorrectly exposing unset field (#53571)
6f79507ea7 fix Change defer block fixture default behavior to playthrough (#53956)
32f908ab70 fix do not accidentally inherit input transforms when overridden (#53571)
bdd61c768a fix replace assertion with more intentional error (#52234)
0daca457bb fix TestBed should still use the microtask queue to schedule effects (#53843)

router

Commit Type Description
5c1d441029 feat Add info property to NavigationExtras (#53303)
50d7916278 feat Add router configuration to resolve navigation promise on error (#48910)
a5a9b408e2 feat Add transient info to RouterLink input (#53784)
726530a9af feat Allow onSameUrlNavigation: 'ignore' in navigateByUrl (#52265)

17.0.9 (2024-01-10)

common

Commit Type Description
c22b513b3f fix remove unused parameters from the ngClass constructor (#53831)
bd9f89d1c8 fix server-side rendering error when using in-memory scrolling (#53683)

compiler

Commit Type Description
92fd6cc42e fix generate less code for advance instructions (#53845)
6a41961fbd fix ignore empty switch blocks (#53776)

compiler-cli

Commit Type Description
7309463697 fix interpolatedSignalNotInvoked diagnostic (#53585)

core

Commit Type Description
441db5123f fix afterRender hooks now only run on ApplicationRef.tick (#52455)
f9120d79cb fix allow effect to be used inside an ErrorHandler (#53713)

migrations

Commit Type Description
e92c86b77f fix Fix empty switch case offset bug in cf migration (#53839)

platform-server

Commit Type Description
91cb16fde9 fix Do not delete global Event (#53659)

17.0.8 (2023-12-21)

compiler

Commit Type Description
de5c9ca8e9 fix correctly intercept index in loop tracking function (#53604)

core

Commit Type Description
d79489255a fix avoid repeated work when parsing version (#53598)
513fee871e fix tree shake version class (#53598)

migrations

Commit Type Description
eb7c29c7b6 fix cf migration - detect and error when result is invalid i18n nesting (#53638)
ed936ba0e9 fix cf migration - detect and error when result is invalid i18n nesting (#53638) (#53639)
5c2f2539e2 fix cf migration - ensure full check runs for all imports (#53637)
817dc1b27f fix cf migration - fix bug in attribute formatting (#53636)
7ac60bab9a fix cf migration - improve import declaration handling (#53622)
c3f85e51a9 fix cf migration - preserve indentation on attribute strings (#53625)
e73205ff5a fix cf migration - stop removing empty newlines from i18n blocks (#53578)
886aa7b2a9 fix Fix cf migration bug with parsing for loop conditions properly (#53558)

router

Commit Type Description
0696ab6a5b fix Should not freeze original object used for route data (#53635)

17.0.7 (2023-12-13)

compiler

Commit Type Description
4fd5409090 fix handle ambient types in input transform function (#51474)

compiler-cli

Commit Type Description
a603338fe8 fix generate less type checking code in for loops (#53515)

core

Commit Type Description
58ed76be93 fix Avoid refreshing a host view twice when using transplanted views (#53021)
c16b5e8290 fix Multiple subscribers to ApplicationRef.isStable should all see values (#53541)
17dbf8b8e2 fix remove signal equality check short-circuit (#53446)
5b4add27b6 fix update feature usage marker (#53542)
68d111c841 perf avoid changes Observable creation on QueryList (#53498)
044cb553b4 perf optimize memory allocation when reconcilling lists (#52245)

migrations

Commit Type Description
96ab999698 fix CF Migration - ensure bound ngIfElse cases ignore line breaks (#53435)
c9a1c6f1c7 fix cf migration - undo changes when html fails to parse post migration (#53530)
b75aca1d74 fix CF migration only remove newlines of changed template content (#53508)
e88a12d5b3 fix cf migration validate structure of ngswitch before migrating (#53530)
543df3dca5 fix ensure we do not overwrite prior template replacements in migration (#53393)
d232ea143f fix fix cf migration import removal when errors occur (#53502)

platform-browser

Commit Type Description
d5c631bf36 fix Get correct base path when using "." as base href when serving from the file:// protocol. (#53547)

router

Commit Type Description
e750e4edcf fix provide more actionable error message when route is not matched in production mode (#53523)

17.0.6 (2023-12-06)

compiler

Commit Type Description
a2e5f483f5 fix generate proper code for nullish coalescing in styling host bindings (#53305)

compiler-cli

Commit Type Description
66ecf4c274 fix add compiler option to disable control flow content projection diagnostic (#53387)
74e6ce5d23 fix add diagnostic for control flow that prevents content projection (#53387)
6ec7a42b95 fix avoid conflicts with built-in global variables in for loop blocks (#53319)

core

Commit Type Description
0a53f96094 fix cleanup signal consumers for all views (#53351)
4fc1581bbc fix handle hydration of multiple nodes projected in a single slot (#53270)
14e66533ec fix support hydration for cases when content is re-projected using ng-template (#53304)
8e366e8911 fix support swapping hydrated views in @for loops (#53274)

migrations

Commit Type Description
45064f1ae1 fix CF migration - ensure NgIfElse attributes are properly removed (#53298)
a6275cfa54 fix CF Migration - Fix case of aliases on i18n ng-templates preventing removal (#53299)
58a96e0f50 fix CF Migration add support for ngIf with just a then (#53297)
26e40c7f89 fix CF Migration fix missing alias for bound ngifs (#53296)
836aeba01d fix Change CF Migration ng-template placeholder generation and handling (#53394)
72d22ba7ee fix fix regexp for else and then in cf migration (#53257)
7a2facae8a fix handle aliases on bound ngIf migrations (#53261)
5104a89b30 fix handle nested ng-template replacement safely in CF migration (#53368)
2a4e3f5373 fix handle templates outside of component in cf migration (#53368)
0db75ab5b1 fix remove setting that removes comments in CF migration (#53350)

router

Commit Type Description
13ade13a15 fix Ensure canMatch guards run on wildcard routes (#53239)

17.0.5 (2023-11-29)

core

Commit Type Description
6be88040d1 fix avoid stale provider info when TestBed.overrideProvider is used (#52918)
dee50f1d78 fix inherit host directives (#52992)
07920d96d4 fix Reattached views that are dirty from a signal update should refresh (#53001)

migrations

Commit Type Description
aab7fb8654 fix Add ngForTemplate support to control flow migration (#53076)
dbd6f386ea fix allows colons in ngIf else cases to migrate (#53076)
5b9f896009 fix cf migration fix migrating empty switch default (#53237)
2b3d3b0fe1 fix CF migration log warning when collection aliasing detected in @for (#53238)
dffeac8386 fix cf migration removes unnecessary bound ngifelse attribute (#53236)
00cb3339ba fix control flow migration formatting fixes (#53076)
c22af72f75 fix fix off by one issue with template removal in CF migration (#53255)
ba6d7fe018 fix fixes CF migration i18n ng-template offsets (#53212)
8f6affdd64 fix fixes control flow migration common module removal (#53076)
6ae408847c fix properly handle ngIfThen cases in CF migration (#53256)
0fcef65cea fix Update CF migration to skip templates with duplicate ng-template names (#53204)

router

Commit Type Description
91486aaf07 fix Resolvers in different parts of the route tree should be able to execute together (#52934)

17.0.4 (2023-11-20)

common

Commit Type Description
7f1c55755d fix remove load on image once it fails to load (#52990)
fafcb0d23f fix scan images once page is loaded (#52991)

compiler

Commit Type Description
98376f2c09 fix changed after checked error in for loops (#52935)
291deac663 fix generate i18n instructions for blocks (#52958)
49dca36880 fix nested for loops incorrectly calculating computed variables (#52931)
f01b7183d2 fix produce placeholder for blocks in i18n bundles (#52958)

compiler-cli

Commit Type Description
f671f86ac2 fix add diagnostic for control flow that prevents content projection (#52726)

core

Commit Type Description
db1a8ebdb4 fix cleanup loading promise when no dependencies are defined (#53031)
31a1575334 fix handle local refs when getDeferBlocks is invoked in tests (#52973)

migrations

Commit Type Description
ac9cd6108f fix control flow migration fails for async pipe with unboxing of observable (#52756) (#52972)
13bf5b7007 fix Fixes control flow migration if then else case (#53006)
492ad4698a fix fixes migrations of nested switches in control flow (#53010)
0fad36eff2 fix tweaks to formatting in control flow migration (#53058)

17.0.3 (2023-11-15)

animations

Commit Type Description
f5872c9921 fix prevent the AsyncAnimationRenderer from calling the delegate when there is no element. (#52570)

core

Commit Type Description
6a1d4ed667 fix handle non-container environment injector cases (#52774)
5de7575be8 fix reset cached scope for components that were overridden using TestBed (#52916)

http

Commit Type Description
7c066a4af4 fix Use the response content-type to set the blob type. (#52840)

migrations

Commit Type Description
4e200bf13b fix Add missing support for ngForOf (#52903)
d033540d0f fix Add support for bound versions of NgIfElse and NgIfThenElse (#52869)
aa2d815648 fix Add support for removing imports post migration (#52763)
3831942771 fix Fixes issue with multiple if elses with same template (#52863)
e1f84a31dc fix passed in paths will be respected in nx workspaces (#52796)

17.0.2 (2023-11-09)

compiler-cli

Commit Type Description
7a95cccf50 fix add interpolatedSignalNotInvoked to diagnostics (#52687)
a548c0333e fix incorrect inferred type of for loop implicit variables (#52732)

core

Commit Type Description
2cea80c6e2 fix error code in image performance warning (#52727)
b16fc2610a fix limit rate of markers invocations (#52742)
44c48a4835 fix properly update collection with repeated keys in @for (#52697)

17.0.1 (2023-11-08)

http

Commit Type Description
5c6f3f8ec0 fix Don't override the backend when using the InMemoryWebAPI (#52425)

migrations

Commit Type Description
70d30c28e0 fix Add support for ng-templates with i18n attributes (#52597)
4f125c5f9a fix Switches to multiple passes to fix several reported bugs (#52592)

Web Frameworks: the internet frontier.
These are the voyages of the framework Angular.
Its continuing mission:
To explore strange, new technologies.
To seek out new users and new applications.
To boldly go where no web framework has gone before.

In honor of v17.0.1

                                                  ______
                                     ___.--------'------`---------.____
                               _.---'----------------------------------`---.__
                             .'___=]===========================================
,-----------------------..__/.'         >--.______        _______.---'
]====================<==||(__)        .'          `------'
`-----------------------`' ----.___--/
     /       /---'                 `/
    /_______(______________________/
    `-------------.--------------.'
                   \________|_.-'

Live long and prosper 🖖🏻

17.0.0 (2023-11-08)

Blog post "Angular v17 is now available".

Breaking Changes

  • Node.js v16 support has been removed and the minimum support version has been bumped to 18.13.0.

    Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule

common

  • the NgSwitch directive now defaults to the === equality operator, migrating from the previously used == operator. NgSwitch expressions and / or individual condition values need adjusting to this stricter equality check. The added warning message should help pin-pointing NgSwitch usages where adjustments are needed.

core

  • Angular now requires zone.js version ~0.14.0

  • Versions of TypeScript older than 5.2 are no longer supported.

  • The mutate method was removed from the WritableSignal interface and completely dropped from the public API surface. As an alternative, please use the update method and make immutable changes to the object.

    Example before:

    items.mutate(itemsArray => itemsArray.push(newItem));
    

    Example after:

    items.update(itemsArray => [itemsArray, newItem]);
    
  • The mutate method was removed from the WritableSignal interface and completely dropped from the public API surface. As an alternative please use the update method and make immutable changes to the object.

    Example before:

    items.mutate(itemsArray => itemsArray.push(newItem));
    

    Example after:

    items.update(itemsArray => [itemsArray, newItem]);
    
  • OnPush components that are created dynamically now only have their host bindings refreshed and ngDoCheck run during change detection if they are dirty. Previously, a bug in the change detection would result in the OnPush configuration of dynamically created components to be ignored when executing host bindings and the ngDoCheck function. This is rarely encountered but can happen if code has a handle on the ComponentRef instance and updates values read in the OnPush component template without then calling either markForCheck or detectChanges on that component's ChangeDetectorRef.

platform-browser

  • REMOVE_STYLES_ON_COMPONENT_DESTROY default value is now true. This causes CSS of components to be removed from the DOM when destroyed. You retain the previous behaviour by providing the REMOVE_STYLES_ON_COMPONENT_DESTROY injection token.

    import {REMOVE_STYLES_ON_COMPONENT_DESTROY} from '@angular/platform-browser';
    ...
    providers: [{
      provide: REMOVE_STYLES_ON_COMPONENT_DESTROY,
      useValue: false,
    }]
    
  • The withNoDomReuse() function was removed from the public API. If you need to disable hydration, you can exclude the provideClientHydration() call from provider list in your application (which would disable hydration features for the entire application) or use ngSkipHydration attribute to disable hydration for particular components. See this guide for additional information: https://angular.io/guide/hydration#how-to-skip-hydration-for-particular-components.

router

  • Absolute redirects no longer prevent further redirects. Route configurations may need to be adjusted to prevent infinite redirects where additional redirects were previously ignored after an absolute redirect occurred.

  • Routes with loadComponent would incorrectly cause child routes to inherit their data by default. The default paramsInheritanceStrategy is emptyOnly. If parent data should be inherited in child routes, this should be manually set to always.

  • urlHandlingStrategy has been removed from the Router public API. This should instead be configured through the provideRouter or RouterModule.forRoot APIs.

  • The following Router properties have been removed from the public API:

    • canceledNavigationResolution
    • paramsInheritanceStrategy
    • titleStrategy
    • urlUpdateStrategy
    • malformedUriErrorHandler

    These should instead be configured through the provideRouter or RouterModule.forRoot APIs.

  • The setupTestingRouter function has been removed. Use RouterModule.forRoot or provideRouter to setup the Router for tests instead.

  • malformedUriErrorHandler is no longer available in the RouterModule.forRoot options. URL parsing errors should instead be handled in the UrlSerializer.parse method.

zone.js

  • Deep and legacy dist/ imports like zone.js/bundles/zone-testing.js and zone.js/dist/zone are no longer allowed. zone-testing-bundle and zone-testing-node-bundle are also no longer part of the package.

    The proper way to import zone.js and zone.js/testing is:

    import 'zone.js';
    import 'zone.js/testing';
    

Deprecations

animations

  • The AnimationDriver.NOOP symbol is deprecated, use NoopAnimationDriver instead.

core

  • ChangeDetectorRef.checkNoChanges is deprecated.

    Test code should use ComponentFixture instead of ChangeDetectorRef. Application code should not call ChangeDetectorRef.checkNoChanges directly.

  • Swapping out the context object for EmbeddedViewRef is no longer supported. Support for this was introduced with v12.0.0, but this pattern is rarely used. There is no replacement, but you can use simple assignments in most cases, or Object.assign , or alternatively still replace the full object by using a Proxy (see NgTemplateOutlet as an example).

    Also adds a warning if the deprecated

  • NgProbeToken

    The NgProbeToken is not used internally since the transition from View Engine to Ivy. The token has no utility and can be removed from applications and libraries.

Commit Type Description
59aa0634f4 build remove support for Node.js v16 (#51755)

animations

Commit Type Description
e753278faa feat Add the possibility of lazy loading animations code. (#50738)
698c058e1c fix remove code duplication between entry-points (#51500)
0598613950 refactor deprecation of AnimationDriver.NOOP (#51843)

benchpress

Commit Type Description
2da3551a70 feat report gc and render time spent in script (#50771)

common

Commit Type Description
fe2fd7e1a8 feat make the warning for lazy-loaded lcp image an error (#51748)
dde3fdabbd feat upgrade warning to logged error for lazy-loaded LCP images using NgOptimizedImage (#52004)
da056a1fe2 fix add missing types field for @angular/common/locales of exports in package.json (#52080)
85843e8212 fix allow to specify only some properties of DatePipeConfig (#51287)
3bd85fb7b0 fix apply fixed_srcset_width value only to fixed srcsets (#52459)
65b460448e fix missing space in ngSwitch equality warning (#52180)
86c5e34601 fix remove code duplication between entry-points (#51500)
28a5925f53 fix use === operator to match NgSwitch cases (#51504)

compiler

Commit Type Description
1934524a0c feat add docs extraction for type aliases (#52118)
7f6d9a73ab feat expand class api doc extraction (#51733)
a7fa25306f feat extract api docs for interfaces (#52006)
7bfe20707f feat extract api for fn overloads and abtract classes (#52040)
c7daf7ea16 feat extract directive docs info (#51733)
e0b1bb33d7 feat extract doc info for JsDoc (#51733)
b9c70158ab feat extract docs for accessors, rest params, and types (#51733)
a24ae994a0 feat extract docs for top level functions and consts (#51733)
2e41488296 feat extract docs info for enums, pipes, and NgModules (#51733)
34495b3533 feat extract docs via exports (#51828)
7e82df45c5 feat initial skeleton for API doc extraction (#51733)
6795cccbbb fix account for type-only imports in defer blocks (#52343)
23bfa10ac8 fix add diagnostic for inaccessible deferred trigger (#51922)
31295a3cf9 fix allocating unnecessary slots in conditional instruction (#51913)
2aaddd3f64 fix allow comments between switch cases (#52449)
ddd9df68bb fix allow decimals in defer block time values (#52433)
7dbd47fb30 fix allow newlines in track and let expressions (#52137)
0eae992c4e fix allow nullable values in for loop block (#51997)
073ebfe09e fix apply style on :host attributes in prod builds. (#49118)
81a287a79a fix avoid error in template parser for tag names that can occur in object prototype (#52225)
6c58252521 fix compilation error when for loop block expression contains new line (#52447)
9d19c8e317 fix don't allocate variable to for loop expression (#52158)
9acd2ac98b fix enable block syntax in the linker (#51979)
1d871c03a5 fix forward referenced dependencies not identified as deferrable (#52017)
16ff08ec70 fix narrow the type of expressions in event listeners inside if blocks (#52069)
ac0d5dcfd6 fix narrow the type of expressions in event listeners inside switch blocks (#52069)
02edb43067 fix narrow the type of the aliased if block expression (#51952)
83067b3ef2 fix ng-template directive invoke twice at the root of control flow (#52515)
17078a3fe1 fix pipes used inside defer triggers not being picked up (#52071)
861ce3a7c5 fix pipes using DI not working in blocks (#52112)
1f5039bbd6 fix project control flow root elements into correct slot (#52414)
81c315ec6e fix template type checking not reporting diagnostics for incompatible type comparisons (#52322)
1beef49d80 fix update the minVersion if component uses block syntax (#51979)
386e1e9500 fix work around TypeScript bug when narrowing switch statements (#52110)
e5bca43224 perf further reduce bundle size using arrow functions (#52010)

compiler-cli

Commit Type Description
5b66330329 fix allow non-array imports for standalone component in local compilation mode (#51819)
377a7abfda fix bypass static resolving of the component's changeDetection field in local compilation mode (#51848)
19c3dc18d3 fix fix NgModule injector def in local compilation mode when imports/exports are non-array expressions (#51819)
11bb19cafc fix handle nested qualified names in ctor injection in local compilation mode (#51947)
f91f222b55 fix resolve component encapsulation enum in local compilation mode (#51848)

core

Commit Type Description
59b6ec6be8 docs Deprecate ChangeDetectorRef.checkNoChanges (#52431)
4f04d1cdab feat add new list reconcilation algorithm (#51980)
c7127b98b5 feat add schematic to escape block syntax characters (#51905)
50275e58b8 feat Add schematic to migrate control flow syntax (#52035)
81b67aa987 feat add support for zone.js 0.14.0 (#51774)
048f400efc feat add warnings for oversized images and lazy-lcp (#51846)
93675dc797 feat conditional built-in control flow (#51346)
4427e1ebc2 feat create function to assert not running inside reactive context (#52049)
e23aaa7d75 feat drop support for older TypeScript versions (#51792)
43e6fb0606 feat enable block syntax (#51994)
3cbb2a8ecf feat implement deferred block interaction triggers (#51830)
8be2c48b7c feat implement new block syntax (#51891)
a54713c831 feat implement ɵgetInjectorMetadata debug API (#51900)
5b88d136af feat mark core signal APIs as stable (#51821)
8eef694def feat Provide a diagnostic for missing Signal invocation in template interpolation. (#49660)
40113f653c feat Remove deprecated CompilerOptions.useJit andCompilerOptions.missingTranslation. (#49672)
68ba798ae3 feat revamp the runtime error message for orphan components to include full component info (#51919)
1a4aee7e49 feat show runtime error for orphan component rendering (#52061)
687b96186c feat support deferred hover triggers (#51874)
e2e3d69a27 feat support deferred triggers with implicit triggers (#51922)
16f5fc40a4 feat support deferred viewport triggers (#51874)
59387ee476 feat support styles and styleUrl as strings (#51715)
9cc52b9b85 feat support TypeScript 5.2 (#51334)
7d42dc3c02 feat the new list reconciliation algorithm for built-in for (#51980)
935c1816fd fix add rejectErrors option to toSignal (#52474)
5411864c2e fix adjust toSignal types to handle more common cases (#51991)
dcf18dc74c fix allow toSignal calls in reactive context (#51831)
dbffdc09c2 fix avoid duplicated code between entry-points (primary, testing, rxjs-interop) (#51500)
4f69d620d9 fix deferred blocks not removing content immediately when animations are enabled (#51971)
df58c0b714 fix disallow afterRender in reactive contexts (#52138)
5d61221ed7 fix disallow using effect inside reactive contexts (#52138)
99e7629159 fix do not remove used ng-template nodes in control flow migration (#52186)
c7ff9dff2c fix drop mutate function from the signals public API (#51821)
00128e3853 fix drop mutate function from the signals public API (#51821) (#51986)
ddef3ac9a4 fix effects wait for ngOnInit for their first run (#52473)
5ead7d412d fix ensure a consumer drops all its stale producers (#51722)
1dd8558f82 fix Ensure backwards-referenced transplanted views are refreshed (#51854)
50ad074505 fix framework debug APIs getDependenciesForTokenInInjector and getInjectorMetadata (#51719)
80e7a0f8fa fix guard usages of performance.mark (#52505)
b9ea2d6900 fix handle aliased index with no space in control flow migration (#52444)
ffe9b1fcc2 fix handle for alias with as in control flow migration (#52183)
e5720edb46 fix handle if alias in control flow migration (#52181)
4461cefa4f fix handle trackBy and aliased index in control flow migration (#52423)
7368b8aaeb fix host directive validation not picking up duplicate directives on component node (#52073)
696f003553 fix mutation bug in getDependenciesFromInjectable (#52450)
d487014785 fix Remove no longer needed build rule related to removed migration (#52143)
4da08dc2ef fix remove unnecessary migration (#52141)
384d7aacd0 fix replace assertion with more intentional error (#52427)
40bb45f329 fix Respect OnPush change detection strategy for dynamically created components (#51356)
3a19d6b743 fix run afterRender callbacks outside of the Angular zone (#51385)
a2ba5482c3 fix use TNode instead of LView for mapping injector providers (#52436)
d5dad3eb4c fix viewport trigger deregistering callbacks multiple times (#52115)
8e4a7ab52b perf avoid repeated access to LContainer and trackBy calculation (#52227)
1dc14d9853 perf avoid unnecessary callbacks in after render hooks (#52292)
e90694259e perf build-in for should update indexes only when views were added / removed (#52051)
1032c1e1a5 perf cache LiveCollectionLContainerImpl (#52227)
685d01e106 perf chain template instructions (#51546)
88a0af64fd perf generate arrow functions for pure function calls (#51668)
37d627dbd4 perf minimze trackBy calculations (#52227)
3861a73135 perf Update LView consumer to only mark component for check (#52302)
9b9e11fcaf refactor deprecate allowing full context object to be replaced in EmbeddedViewRef (#51887)
ba9fc2419e refactor deprecate the NgProbeToken (#51396)

http

Commit Type Description
7dde42a5df feat allow customization of the HttpTransferCache. (#52029)
8156b3d4ec fix Don't override the backend when using the InMemoryWebAPI (#52425)
bd9e91ecf7 perf reduce data transfer when using HTTP caching (#52347)

language-service

Commit Type Description
449830f24e feat Complete inside @switch (#52153)
e2416a284f feat Enable go to definition of styleUrl (#51746)
023a181ba5 feat Implement outlining spans for control flow blocks (#52062)
7c052bb6ef feat Support autocompletion for blocks (#52121)
9d565cd6d6 fix Autocomplete block keywords in more cases (#52198)

localize

Commit Type Description
5a20a44c64 fix ng-add schematics for application builder (#51777)

migrations

Commit Type Description
f0da7c2e44 feat schematic to remove deprecated CompilerOptions properties (#49672)
965ce5a8c5 feat Schematics for TransferState, StateKey and makeStateKey migration. (#49594)
09e905ad67 fix account for separator characters inside strings (#52525)
4c878f90d2 fix Add support for nested structures inside a switch statement (#52358)
d7397fb29b fix Ensure control flow migration ignores new block syntax (#52402)
6a01d62b9d fix fix broken migration when no control flow is present (#52399)
9c2be715a3 fix Fixes a bug in the ngFor pre-v5 alias translation (#52531)
54fed68bbf fix Fixes the root level template offset in control flow migration (#52355)
57404d4723 fix handle comma-separated syntax in ngFor (#52525)
54bc384661 fix handle nested classes in block entities migration (#52309)
c9b1ddff4d fix handle nested classes in control flow migration (#52309)
6988a0070e fix handle ngIf else condition with no whitespaces (#52504)
e40e55d902 fix Remove unhelpful parsing errors from the log (#52401)
c267f54bc3 fix Update regex to better match ng-templates (#52529)

platform-browser

Commit Type Description
c340d6e044 feat enable removal of styles on component destroy by default (#51571)
c5daa6ce77 feat expose EventManagerPlugin in the public API. (#49969)
5b375d106f fix Fire Animations events when using async animations. (#52087)
65786b2b96 fix prevent duplicate stylesheets from being created (#52019)
75d610d420 fix set animation properties when using async animations. (#52087)
3c0577f991 perf disable styles of removed components instead of removing (#51808)
c9cde3ab10 perf only append style element on creation (#52237)
dbc14eb41d refactor remove withNoDomReuse function (#52057)

platform-server

Commit Type Description
0c66e2424c fix resolve relative requests URL (#52326)

router

Commit Type Description
1da28f4825 feat Add callback to execute when a view transition is created (#52002)
73e4bf2ed2 feat Add feature to support the View Transitions API (#51314)
86e91463af feat Add option to skip the first view transition (#51825)
ce1b915868 fix Allow redirects after an absolute redirect (#51731)
37df395be0 fix children of routes with loadComponent should not inherit parent data by default (#52114)
4dce8766f8 fix Ensure newly resolved data is inherited by child routes (#52167)
f464e39364 fix Ensure title observable gets latest values (#51561)
b2aff43621 fix Remove urlHandlingStrategy from public Router properties (#51631)
c62e680098 fix Remove deprecated Router properties (#51502)
3c6258c85b fix Remove deprecated setupTestingRouter function (#51826)
0b3e6a41d0 fix Remove malformedUriErrorHandler from ExtraOptions (#51745)
c03baed854 fix use DOCUMENT token instead of document directly in view transitions (#51814)

16.2.12 (2023-11-02)

animations

Commit Type Description
03f4050636 fix remove finish listener once player is destroyed (#51136)

common

Commit Type Description
e092184a5c fix apply fixed_srcset_width values only to fixed srcsets (#52486)

compiler-cli

Commit Type Description
b3b4ae4c3a fix properly emit literal types in input coercion function arguments (#52437)
873c4f2454 fix use originally used module specifier for transform functions (#52437)

16.2.11 (2023-10-25)

core

Commit Type Description
54ea3b65c3 fix emit provider configured event when a service is configured with providedIn (#52365)
78533324dc fix get root and platform injector providers in special cases (#52365)
019a0f4c22 fix load global utils before creating platform injector in the standalone case (#52365)

router

Commit Type Description
b79b4aca91 fix RouterTestingHarness should throw if a component is expected but navigation fails (#52357)

16.2.10 (2023-10-18)

16.2.9 (2023-10-11)

forms

Commit Type Description
51a5baace3 fix reset() call with null values on nested group (#48830)

16.2.8 (2023-10-04)

language-service

Commit Type Description
b732961fc3 fix Retain correct language service when ts.Project reloads (#51912)

service-worker

Commit Type Description
966ce9790a fix throw a critical error when handleFetch fails (#51960)

15.2.10 (2023-10-04)

service-worker

Commit Type Description
9fe08968b8 fix throw a critical error when handleFetch fail (#51989)

16.2.7 (2023-09-27)

core

Commit Type Description
39a3e34e03 fix allow toSignal calls in reactive context (#51831) (#51892)

service-worker

Commit Type Description
c3d901eacf fix throw a critical error when handleFetch fails (#51885)

16.2.6 (2023-09-20)

core

Commit Type Description
82712f80df fix ensure a consumer drops all its stale producers (#51722) (#51772)

16.2.5 (2023-09-13)

16.2.4 (2023-09-06)

16.2.3 (2023-08-30)

animations

Commit Type Description
04c6574280 fix remove unnecessary escaping in regex expressions (#51554)

compiler-cli

Commit Type Description
dbd761f528 fix correct incomplete escaping (#51557)
5c36fc784f fix remove unnecessary escaping in regex expressions (#51554)

core

Commit Type Description
dcd1add06f fix correct incomplete escaping (#51557)
20d62603c2 fix handle hydration of view containers that use component hosts as anchors (#51456)
e6b301caa2 fix remove unnecessary escaping in regex expressions (#51554)
0c7c852ee7 fix run afterRender callbacks outside of the Angular zone (#51551)

language-service

Commit Type Description
8081fdd22d fix correct incomplete escaping (#51557)

16.2.2 (2023-08-23)

common

Commit Type Description
a43c0772ea fix Allow safeUrl for ngSrc in NgOptimizedImage (#51351)

compiler-cli

Commit Type Description
39ace8664b fix enforce a minimum version to be used when a library uses input transform (#51413)

core

Commit Type Description
36f434e49d fix guard the jasmine hooks (#51394)

router

Commit Type Description
b0396e7164 fix Ensure canceledNavigationResolution: 'computed' works on first page (#51441)

16.2.1 (2023-08-16)

router

Commit Type Description
232a8c1b8d fix Apply named outlets to children empty paths not appearing in the URL (#51292)

16.2.0 (2023-08-09)

benchpress

Commit Type Description
dd850b2ab7 fix correctly report GC memory amounts (#50760)

common

Commit Type Description
29d358170b feat add component input binding support for NgComponentOutlet (#51148)
1837efb9da feat Allow ngSrc to be changed post-init (#50683)

compiler

Commit Type Description
c27a1e61d6 feat scope selectors in @scope queries (#50747)

compiler-cli

Commit Type Description
12bad6576d fix libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714)

core

Commit Type Description
e53d4ecf4c feat add afterRender and afterNextRender (#50607)
98d262fd27 feat create injector debugging APIs (#48639)
cdaa2a8a9e feat support Provider type in Injector.create (#49587)
9f490da7e2 fix handle hydration of view containers for root components (#51247)

router

Commit Type Description
0b14e4ef74 feat exposes the fixture of the RouterTestingHarness (#50280)

16.1.9 (2023-08-09)

16.1.8 (2023-08-02)

compiler

Commit Type Description
cc722ea1f5 fix return full spans for Comment nodes (#50855)

16.1.7 (2023-07-26)

http

Commit Type Description
916916d835 fix check whether Zone is defined (#51119)

16.1.6 (2023-07-19)

http

Commit Type Description
dea8dc0378 fix Run fetch request out the angular zone (#50981)

16.1.5 (2023-07-13)

animations

Commit Type Description
f920fcbd94 fix Ensure elements are removed from the cache after leave animation. (#50929)

core

Commit Type Description
499fb5c772 fix ensure that standalone components get correct injector instances (#50954)
c65913ecb7 fix handle deref returning null on RefactiveNode. (#50992)

platform-browser

Commit Type Description
31419f6a3b perf do not remove renderer from cache when REMOVE_STYLES_ON_COMPONENT_DESTROY is enabled. (#51005)

upgrade

Commit Type Description
3efb577cf3 fix Use takeUntil on leaky subscription. (#50901)

16.1.4 (2023-07-06)

core

Commit Type Description
4ba5850ba6 fix use setTimeout when coalescing tasks in Node.js (#50820)

upgrade

Commit Type Description
a4348355ce fix allow for downgraded components to work with component-router (#50871)

16.1.3 (2023-06-28)

core

Commit Type Description
dd6fc5785f fix expose input transform function on ComponentFactory and ComponentMirror (#50713)

elements

Commit Type Description
e1bbe47c23 fix support input transform functions (#50713)

platform-browser

Commit Type Description
79dd6a847a fix wait until animation completion before destroying renderer (#50677)
a797f41d1b fix wait until animation completion before destroying renderer (#50860)

16.1.2 (2023-06-21)

http

Commit Type Description
9488a3fd46 fix Send query params on fetch request (#50740)
5ae001829c fix use serializeBody to support JSON payload in FetchBackend (#50776)

16.1.1 (2023-06-14)

compiler-cli

Commit Type Description
71360b3a3e fix libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50715)

core

Commit Type Description
d9bed48eb5 fix extend toSignal to accept any Subscribable (#50162)

migrations

Commit Type Description
5e1d8444ae fix Prevent a component from importing itself. (#50554)

16.1.0 (2023-06-13)

compiler

Commit Type Description
4e663297c5 fix error when reading compiled input transforms metadata in JIT mode (#50600)
721bc72649 fix resolve deprecation warning with TypeScript 5.1 (#50460)

core

Commit Type Description
68017d4e75 feat add ability to transform input values (#50420)
69dadd2502 feat support TypeScript 5.1 (#50156)
c0ebe34cbd fix add additional component metadata to component ID generation (#50336)

http

Commit Type Description
85c5427582 feat Introduction of the fetch Backend for the HttpClient (#50247)

16.0.6 (2023-06-13)

core

Commit Type Description
05ac0868c9 fix avoid duplicated content during hydration while processing a component with i18n (#50644)

16.0.5 (2023-06-08)

compiler

Commit Type Description
703b8fcac1 fix do not remove comments in component styles (#50346)

core

Commit Type Description
2b6da93e19 fix incorrectly throwing error for self-referencing component (#50559)
c992109d6c fix wait for HTTP in ngOnInit correctly before server render (#50573)

platform-server

Commit Type Description
c0d4086c6e fix surface errors during rendering (#50587)

16.0.4 (2023-06-01)

animations

Commit Type Description
df65c4fc8f fix Trigger leave animation when ViewContainerRef is injected (#48705)

common

Commit Type Description
7e1bc513de fix untrack subscription and unsubscription in async pipe (#50522)

core

Commit Type Description
9970b29ace fix update ApplicationRef.isStable to account for rendering pending tasks (#50425)

16.0.3 (2023-05-24)

core

Commit Type Description
c11041e372 fix adds missing symbols for animation standalone bundling test (#50434)
98e8fdf40e fix fix Self flag inside embedded views with custom injectors (#50270)
199ff4fe7f fix host directives incorrectly validating aliased bindings (#50364)

http

Commit Type Description
080bbd2137 fix create macrotask during request handling instead of load start (#50406)

16.0.2 (2023-05-17)

core

Commit Type Description
c1016d4e57 fix add additional component metadata to component ID generation (#50340)
cc41758b59 fix allow onDestroy unregistration while destroying (#50237)
7d679bdb59 fix allow passing value of any type to isSignal function (#50035)

16.0.1 (2023-05-10)

core

Commit Type Description
52c74d3b4a fix add additional component metadata to component ID generation (#50203)
048b6b1e0d fix bootstrapApplication call not rejected when error is thrown in importProvidersFrom module (#50120)
d68796782f fix handle hydration of root components with injected ViewContainerRef (#50136)
f751ce6445 fix handle projection of hydrated containters into components that skip hydration (#50199)
346ab73dd9 fix only try to retrieve transferred state on the browser (#50144)

16.0.0 (2023-05-03)

Blog post "Angular v16 is now available".

Breaking Changes

  • Angular Compatibility Compiler (ngcc) has been removed and as a result Angular View Engine libraries will no longer work
  • Deprecated EventManager method addGlobalEventListener has been removed as it is not used by Ivy.

bazel

  • Several changes to the Angular Package Format (APF)
    • Removal of FESM2015
    • Replacing ES2020 with ES2022
    • Replacing FESM2020 with FESM2022
  • Several changes to the Angular Package Format (APF)
    • Removal of FESM2015
    • Replacing ES2020 with ES2022
    • Replacing FESM2020 with FESM2022

common

  • MockPlatformLocation is now provided by default in tests. Existing tests may have behaviors which rely on BrowserPlatformLocation instead. For example, direct access to the window.history in either the test or the component rather than going through the Angular APIs (Location.getState()). The quickest fix is to update the providers in the test suite to override the provider again TestBed.configureTestingModule({providers: [{provide: PlatformLocation, useClass: BrowserPlatformLocation}]}). The ideal fix would be to update the code to instead be compatible with MockPlatformLocation instead.
  • If the 'ngTemplateOutletContext' is different from the context, it will result in a compile-time error.

Before the change, the following template was compiling:

interface MyContext {
  $implicit: string;
}

@Component({
  standalone: true,
  imports: [NgTemplateOutlet],
  selector: 'person',
  template: `
    <ng-container
      *ngTemplateOutlet="
        myTemplateRef;
        context: { $implicit: 'test', xxx: 'xxx' }
      "></ng-container>
  `,
})
export class PersonComponent {
  myTemplateRef!: TemplateRef<MyContext>;
}

However, it does not compile now because the 'xxx' property does not exist in 'MyContext', resulting in the error: 'Type '{ $implicit: string; xxx: string; }' is not assignable to type 'MyContext'.'

The solution is either:

  • add the 'xxx' property to 'MyContext' with the correct type or
  • add '$any(...)' inside the template to make the error disappear. However, adding '$any(...)' does not correct the error but only preserves the previous behavior of the code.
  • Deprecated XhrFactory export from @angular/common/http has been removed. Use XhrFactory from @angular/common instead.

compiler

    • TypeScript 4.8 is no longer supported.

core

  • QueryList.filter now supports type guard functions, which will result in type narrowing. Previously if you used type guard functions, it resulted in no changes to the return type. Now the type would be narrowed, which might require updates to the application code that relied on the old behavior.

  • zone.js versions 0.11.x and 0.12.x are not longer supported.

    • entryComponents has been deleted from the @NgModule and @Component public APIs. Any usages can be removed since they weren't doing anyting.
    • ANALYZE_FOR_ENTRY_COMPONENTS injection token has been deleted. Any references can be removed.
  • ComponentRef.setInput will only set the input on the component if it is different from the previous value (based on Object.is equality). If code relies on the input always being set, it should be updated to copy objects or wrap primitives in order to ensure the input value differs from the previous call to setInput.

  • RendererType2.styles no longer accepts a nested arrays.

  • The APP_ID token value is no longer randomly generated. If you are bootstrapping multiple application on the same page you will need to set to provide the APP_ID yourself.

    bootstrapApplication(ComponentA, {
      providers: [
       { provide: APP_ID, useValue: 'app-a' },
       // ... other providers ...
      ]
    });
    
  • The ReflectiveInjector and related symbols were removed. Please update the code to avoid references to the ReflectiveInjector symbol. Use Injector.create as a replacement to create an injector instead.

  • Node.js v14 support has been removed

    Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. Angular v16 will continue to officially support Node.js versions v16 and v18.

platform-browser

  • The deprecated BrowserTransferStateModule was removed, since it's no longer needed. The TransferState class can be injected without providing the module. The BrowserTransferStateModule was empty starting from v14 and you can just remove the reference to that module from your applications.

platform-server

  • Users that are using SSR with JIT mode will now need to add import to @angular/compiler before bootstrapping the application.

    NOTE: this does not effect users using the Angular CLI.

  • renderApplication method no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns a Promise<ApplicationRef>.

    Before

    const output: string = await renderApplication(RootComponent, options);
    

    Now

    const bootstrap = () => bootstrapApplication(RootComponent, appConfig);
    const output: string = await renderApplication(bootstrap, options);
    
  • renderModuleFactory has been removed. Use renderModule instead.

router

  • The Scroll event's routerEvent property may also be a NavigationSkipped event. Previously, it was only a NavigationEnd event.
  • ComponentFactoryResolver has been removed from Router APIs. Component factories are not required to create an instance of a component dynamically. Passing a factory resolver via resolver argument is no longer needed and code can instead use ViewContainerRef.createComponent without the factory resolver.
  • The RouterEvent type is no longer present in the Event union type representing all router event types. If you have code using something like filter((e: Event): e is RouterEvent => e instanceof RouterEvent), you'll need to update it to filter((e: Event|RouterEvent): e is RouterEvent => e instanceof RouterEvent).
  • Tests which mock ActivatedRoute instances may need to be adjusted because Router.createUrlTree now does the right thing in more scenarios. This means that tests with invalid/incomplete ActivatedRoute mocks may behave differently than before. Additionally, tests may now navigate to a real URL where before they would navigate to the root. Ensure that tests provide expected routes to match. There is rarely production impact, but it has been found that relative navigations when using an ActivatedRoute that does not appear in the current router state were effectively ignored in the past. By creating the correct URLs, this sometimes resulted in different navigation behavior in the application. Most often, this happens when attempting to create a navigation that only updates query params using an empty command array, for example router.navigate([], {relativeTo: route, queryParams: newQueryParams}). In this case, the relativeTo property should be removed.

Deprecations

core

  • makeStateKey, StateKey and TransferState exports have been moved from @angular/platform-browser to @angular/core. Please update the imports.
- import {makeStateKey, StateKey, TransferState} from '@angular/platform-browser';
+ import {makeStateKey, StateKey, TransferState} from '@angular/core';
  • EnvironmentInjector.runInContext is now deprecated, with runInInjectionContext functioning as a direct replacement:

    // Previous method version (deprecated):
    envInjector.runInContext(fn);
    // New standalone function:
    runInInjectionContext(envInjector, fn);
    
  • The @Directive/@Component moduleId property is now deprecated. It did not have any effect for multiple major versions and will be removed in v17.

platform-browser

  • BrowserModule.withServerTransition has been deprecated. APP_ID should be used instead to set the application ID. NB: Unless, you render multiple Angular applications on the same page, setting an application ID is not necessary.

    Before:

    imports: [
      BrowserModule.withServerTransition({ appId: 'serverApp' }),
      ...
    ]
    

    After:

    imports: [
      BrowserModule,
      { provide: APP_ID, useValue: 'serverApp' },
      ...
    ],
    
  • ApplicationConfig has moved, please import ApplicationConfig from @angular/core instead.

platform-server

  • PlatformConfig.baseUrl and PlatformConfig.useAbsoluteUrl platform-server config options are deprecated as these were not used.

Commit Type Description
48aa96ea13 refactor remove Angular Compatibility Compiler (ngcc) (#49101)
2703fd6260 refactor remove deprecated EventManager method addGlobalEventListener (#49645)

common

Commit Type Description
5dce2a5a3a feat Provide MockPlatformLocation by default in BrowserTestingModule (#49137)
d47fef72cb fix strict type checking for ngtemplateoutlet (#48374)
c41a21658c refactor remove deprecated XhrFactory export from http entrypoint (#49251)

compiler

Commit Type Description
1a6ca68154 feat add support for compile-time required inputs (#49304)
13dd614cd1 feat add support for compile-time required inputs (#49453)
8f539c11f4 feat add support for compile-time required inputs (#49468)
79cdfeb392 feat drop support for TypeScript 4.8 (#49155)
1407a9aeaf feat support multiple configuration files in extends (#49125)
9de1e9da8f fix incorrectly matching directives on attribute bindings (#49713)
6623810e4d fix Produce diagnositc if directive used in host binding is not exported (#49527)

compiler-cli

Commit Type Description
03d1d00ad9 feat Add an extended diagnostic for nSkipHydration (#49512)
ed817e32fe fix Catch FatalDiagnosticError during template type checking (#49527)
49fe974501 perf optimize NgModule emit for standalone components (#49837)

core

Commit Type Description
89d291c367 feat add assertInInjectionContext (#49529)
4e9531f777 feat add mergeApplicationConfig method (#49253)
d7d6514add feat Add ability to configure NgZone in bootstrapApplication (#49557)
bc5ddabdcb feat add Angular Signals to the public API (#49150)
17e9862653 feat add API to provide CSP nonce for inline stylesheets (#49444)
605c536420 feat add migration to remove moduleId references (#49496)
99d874fe3b feat add support for TypeScript 5.0 (#49126)
d1617c449d feat allow removal of previously registered DestroyRef callbacks (#49493)
b2327f4df1 feat Allow typeguards on QueryList.filter (#48042)
061f3d1086 feat Drop public factories property for IterableDiffers : Breaking change (#49598)
fdf61974d1 feat drop support for zone.js versions <=0.12.0 (#49331)
9c5fd50de4 feat effects can optionally return a cleanup function (#49625)
c024574f46 feat expose makeStateKey, StateKey and TransferState (#49563)
a5f1737d1c feat expose onDestroy on ApplicationRef (#49677)
e883198460 feat implement takeUntilDestroyed in rxjs-interop (#49154)
0814f20594 feat introduce runInInjectionContext and deprecate prior version (#49396)
0f5c8003cc feat introduce concept of DestroyRef (#49158)
9b65b84cb9 feat Mark components for check if they read a signal (#49153)
8997bdc03b feat prototype implementation of @angular/core/rxjs-interop (#49154)
585e34bf6c feat remove entryComponents (#49484)
aad05ebeb4 feat support usage of non-experimental decorators with TypeScript 5.0 (#49492)
6d7be42da7 fix add newline to hydration mismatch error (#49965)
f8e25864e8 fix allow async functions in effects (#49783)
84216dabfc fix catch errors from source signals outside of .next (#49769)
be23b7ce65 fix ComponentRef.setInput only sets input when not equal to previous (#49607)
316c91b1a4 fix deprecate moduleId @Component property (#49496)
fd9dcd36cd fix Ensure effects can be created when Zone is not defined (#49890)
9180f98f0e fix ensure takeUntilDestroyed unregisters onDestroy listener on unsubscribe (#49901)
4721c48a24 fix error if document body is null (#49818)
2650f1afc1 fix execute input setters in non-reactive context (#49906)
f8b95b9da6 fix execute query setters in non-reactive context (#49906)
ef91a2e0fe fix execute template creation in non-reactive context (#49883)
87549af73c fix Fix capitalization of toObservableOptions (#49832)
0e5f9ba6f4 fix generate consistent component IDs (#48253)
fedc75624c fix include inner ViewContainerRef anchor nodes into ViewRef.rootNodes output (#49867)
df1dfc4c17 fix make sure that lifecycle hooks are not tracked (#49701)
c34d7e0822 fix onDestroy should be registered only on valid DestroyRef (#49804)
2f2ef14f9e fix resolve InitialRenderPendingTasks promise on complete (#49784)
c7d8d3ee37 fix toObservable should allow writes to signals in the effect (#49769)
b4531f1d82 fix typing of TestBed Common token. (#49997)
a4e749ffca fix When using setInput, mark view dirty in same was as markForCheck (#49711)
9b9c818f99 perf change RendererType2.styles to accept a only a flat array (#49072)
82d6fbb109 refactor generate a static application ID (#49422)
3b863ddc1e refactor Remove ReflectiveInjector symbol (#48103)
f594725951 refactor remove Node.js v14 support (#49255)

forms

Commit Type Description
07a1aa3004 feat Improve typings form (async)Validators (#48679)

http

Commit Type Description
aff1512950 feat allow HttpClient to cache requests (#49509)
15c91a53ae fix delay accessing pendingTasks.whenAllTasksComplete (#49784)
9f0c6d1ed1 fix ensure new cache state is returned on each request (#49749)
45a6ac09fd fix force macro task creation during HTTP request (#49546)
2a580b6f0b fix HTTP cache was being disabled prematurely (#49826)
2eb9b8b402 fix wait for all XHR requests to finish before stabilizing application (#49776)

migrations

Commit Type Description
5e5dac278d feat Migration to remove Router guard and resolver interfaces (#49337)

platform-browser

Commit Type Description
761e02d912 feat add a public API function to enable non-destructive hydration (#49666)
630af63fae feat deprecate withServerTransition call (#49422)
81e7d15ef6 feat enable HTTP request caching when using provideClientHydration (#49699)
74c925c19c fix export deprecated TransferState as type (#50015)
2312eb53ef fix KeyEventsPlugin should keep the same behavior (#49330)
c934a8e72b fix only add ng-app-id to style on server side (#49465)
9165ff2517 fix reuse server generated component styles (#48253)
e8e36811d5 fix set nonce attribute in a platform compatible way (#49624)
3aa85a8087 refactor move ApplicationConfig to core (#49253)
9bd9a11f4e refactor remove deprecated BrowserTransferStateModule symbol (#49718)

platform-server

Commit Type Description
b5278cc115 feat renderApplication now accepts a bootstrapping method (#49248)
056d68002f feat add provideServerSupport function to provide server capabilities to an application (#49380)
7870fb07fe feat rename provideServerSupport to provideServerRendering (#49678)
a08a8ff108 fix bundle @angular/domino in via esbuild (#49229)
5ea624f313 fix remove dependency on @angular/platform-browser-dynamic (#50064)
e99460865e refactor deprecate useAbsoluteUrl and baseUrl (#49546)
41f27ad086 refactor remove renderApplication overload that accepts a component (#49463)
17abe6dc96 refactor remove deprecated renderModuleFactory (#49247)

router

Commit Type Description
ea32c3289a feat Expose information about the last successful Navigation (#49235)
455c728525 feat helper functions to convert class guards to functional (#48709)
f982a3f965 feat Opt-in for binding Router information to component inputs (#49633)
1f055b90b6 fix Ensure anchor scrolling happens on ignored same URL navigations (#48025)
6193a3d406 fix fix = not parsed in router segment name (#47332)
c0b1b7becf fix Remove deprecated ComponentFactoryResolver from APIs (#49239)
1e32709e0e fix remove RouterEvent from Event union type (#46061)
3c7e637374 fix Route matching should only happen once when navigating (#49163)
1600687fe5 fix Route matching should only happen once when navigating (#49163)
31f210bf2c fix Router.createUrlTree should work with any ActivatedRoute (#48508)

service-worker

Commit Type Description
5e7fc259ea feat add function to provide service worker (#48247)

15.2.9 (2023-05-03)

common

Commit Type Description
9107e931ca fix fix incorrectly reported distortion for padded images (#49889)

compiler-cli

Commit Type Description
7c58885797 fix catch fatal diagnostic when getting diagnostics for components (#50046)

15.2.8 (2023-04-19)

core

Commit Type Description
2fff8fadbe fix handle invalid classes in class array bindings (#49924)

http

Commit Type Description
05a0225deb fix prevent headers from throwing an error when initializing numerical values (#49379)

router

Commit Type Description
09a42d988e fix canceledNavigationResolution: 'computed' with redirects to the current URL (#49793)

15.2.7 (2023-04-12)

compiler

Commit Type Description
b0c1a90f55 fix Produce diagnositc if directive used in host binding is not exported (#49792)

compiler-cli

Commit Type Description
a40529af2e fix Catch FatalDiagnosticError during template type checking (#49792)

core

Commit Type Description
702ec90110 fix When using setInput, mark view dirty in same way as markForCheck (#49747)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler and Nikola Kološnjaji

13.4.0 (2023-04-06)

common

Commit Type Description
ae34dbca1b feat Backport NgOptimizedImage to v13

Special Thanks

Alex Castle and Paul Gschwendtner

15.2.6 (2023-04-05)

core

Commit Type Description
d9efa1b0d7 feat change the URL sanitization to only block javascript: URLs (#49659)

router

Commit Type Description
cad7274ef9 fix create correct URL relative to path with empty child (#49691)
9b61379096 fix Ensure initial navigation clears current navigation when blocking (#49572)

Special Thanks

Andrew Scott, Guillaume Weghsteen, John Manners, Johnny Gérard, Matthieu Riegler, Robin Richtsfeld, Sandra Limacher, Sarthak Thakkar, Vinit Neogi and vikram menon

15.2.5 (2023-03-29)

common

Commit Type Description
ca5acadb78 fix invalid ImageKit transformation (#49201)

compiler

Commit Type Description
077f6b4674 fix do not unquote CSS values (#49460)
c3cff35869 fix handle trailing comma in object literal (#49535)

core

Commit Type Description
d201fc2dec fix set style property value to empty string instead of an invalid value (#49460)

router

Commit Type Description
978d37f324 fix Ensure Router preloading works with lazy component and static children (#49571)
a844435514 fix fix #49457 outlet activating with old info (#49459)

Special Thanks

Alan Agius, Andrew Scott, Asaf Malin, Jan Cabadaj, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sid and Tano Abeleyra

15.2.4 (2023-03-22)

core

Commit Type Description
bae6b5ceb1 fix Allow TestBed.configureTestingModule to work with recursive cycle of standalone components. (#49473)
087f4412af fix more accurate matching of classes during content projection (#48888)

Special Thanks

Aditya Srinivasan, Alex Rickabaugh, Andrew Scott, Kristiyan Kostadinov, Masaoki Kobayashi, Matthieu Riegler, Paul Gschwendtner, Peter Götz, Thomas Pischke, Virginia Dooley and avmaxim

15.2.3 (2023-03-16)

Special Thanks

Alan Agius, Esteban Gehring, Matthieu Riegler and Virginia Dooley

14.3.0 (2023-03-13)

common

Commit Type Description
37bbc61cfe feat Backport NgOptimizedImage to Angular 14.

Special Thanks

Alex Castle, Joey Perrott and Paul Gschwendtner

15.2.2 (2023-03-08)

migrations

Commit Type Description
6207d6f1f0 fix add protractor support if protractor imports are detected (#49274)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sai Kartheek Bommisetty and Vinit Neogi

15.2.1 (2023-03-01)

common

Commit Type Description
f0e926074d fix make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181)

compiler-cli

Commit Type Description
04d8b6c61a fix do not persist component analysis if template/styles are missing (#49184)

core

Commit Type Description
d60ea6ab5a fix update zone.js peerDependencies ranges (#49244)

migrations

Commit Type Description
44d095a61c fix avoid migrating the same class multiple times in standalone migration (#49245)
92b0bda9e4 fix delete barrel exports in standalone migration (#49176)

router

Commit Type Description
3062442728 fix add error message when using loadComponent with a NgModule (#49164)

Special Thanks

Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Craig Spence, Doug Parker, Iván Navarro, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Michael Ziluck, Paul Gschwendtner, Stephanie Tuerk, Vincent and Virginia Dooley

15.2.0 (2023-02-22)

Deprecations

  • Class and InjectionToken guards and resolvers are deprecated. Instead, write guards as plain JavaScript functions and inject dependencies with inject from @angular/core.

Commit Type Description
926c35f4ac docs Deprecate class and InjectionToken and resolvers (#47924)

common

Commit Type Description
54b24eb40f feat Add loaderParams attribute to NgOptimizedImage (#48907)

compiler-cli

Commit Type Description
0cf11167f1 fix incorrectly detecting forward refs when symbol already exists in file (#48988)

core

Commit Type Description
a154db8a81 feat add ng generate schematic to convert declarations to standalone (#48790)
345e737daa feat add ng generate schematic to convert to standalone bootstrapping APIs (#48848)
e7318fc758 feat add ng generate schematic to remove unnecessary modules (#48832)

language-service

Commit Type Description
4ae384fd61 feat Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354)
141333411e feat Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354)
d0145033bd fix generate forwardRef for same file imports (#48898)

migrations

Commit Type Description
2796230e95 fix add enum in mode option in standalone schema (#48851)
816e76a578 fix automatically prune root module after bootstrap step (#49030)
bdbf21d04b fix avoid generating imports with forward slashes (#48993)
32cf4e5cb9 fix avoid internal modules when generating imports (#48958)
521ccfbe6c fix avoid interrupting the migration if language service lookup fails (#49010)
a40cd47aa7 fix avoid modifying testing modules without declarations (#48921)
1afa6ed322 fix don't add ModuleWithProviders to standalone test components (#48987)
c98c6a8452 fix don't copy animations modules into the imports of test components (#49147)
8389557848 fix don't copy unmigrated declarations into imports array (#48882)
f82bdc4b01 fix don't delete classes that may provide dependencies transitively (#48866)
759db12e0b fix duplicated comments on migrated classes (#48966)
ba38178d19 fix generate forwardRef for same file imports (#48898)
03fcb36cfd fix migrate HttpClientModule to provideHttpClient() (#48949)
2de6dae16d fix migrate RouterModule.forRoot with a config object to use features (#48935)
770191cf1f fix migrate tests when switching to standalone bootstrap API (#48987)
c7926b5773 fix move standalone migrations into imports (#48987)
65c74ed93e fix normalize paths to posix (#48850)
6377487b1a fix only exclude bootstrapped declarations from initial standalone migration (#48987)
e9e4449a43 fix preserve tsconfig in standalone migration (#48987)
ffad1b49d9 fix reduce number of files that need to be checked (#48987)
ba7a757cc5 fix return correct alias when conflicting import exists (#49139)
49a7c9f94a fix standalone migration incorrectly throwing path error for multi app projects (#48958)
584976e6c8 fix support --defaults in standalone migration (#48921)
03f47ac901 fix use consistent quotes in generated imports (#48876)
ebae506d89 fix use import remapper in root component (#49046)
40c976c909 fix use NgForOf instead of NgFor (#49022)
4ac25b2aff perf avoid re-traversing nodes when resolving bootstrap call dependencies (#49010)
26cb7ab2e6 perf speed up language service lookups (#49010)

platform-browser

Commit Type Description
bf4ad38117 fix remove styles from DOM of destroyed components (#48298)

platform-server

Commit Type Description
25e220a23a fix avoid duplicate TransferState info after renderApplication call (#49094)

router

Commit Type Description
31b94c762f feat Add a withNavigationErrorHandler feature to provideRouter (#48551)
dedac8d3f7 feat Add test helper for trigger navigations in tests (#48552)

Special Thanks

Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dylan Hunn, Ikko Eltociear Ashimine, Ilyass, Jessica Janiuk, Joey Perrott, John Manners, Kalbarczyk, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Virginia Dooley, Walid Bouguima, cexbrayat and mgechev

15.1.5 (2023-02-15)

forms

Commit Type Description
5f2a3edcf2 fix Make radio buttons respect [attr.disabled] (#48864)

Special Thanks

AleksanderBodurri, Alvaro Junqueira, Dylan Hunn, Joey Perrott, Matthieu Riegler, PaloMiklo and Paul Gschwendtner

15.1.4 (2023-02-08)

Special Thanks

Jessica Janiuk, Kian Yang Lee, Matthieu Riegler, Redouane Bekkouche and Simona Cotin

15.1.3 (2023-02-02)

animations

Commit Type Description
d36dfd4b62 fix fix non-animatable warnings for easing (#48583)

common

Commit Type Description
a334e4efbe fix warn if using ngSrcset without a configured image loader (#48804)

compiler

Commit Type Description
171b4d4640 fix incorrect code when non-null assertion is used after a safe access (#48801)

migrations

Commit Type Description
9e86dd231b fix Fixed file format issue with lint (#48859)
af31f98b00 fix migration host incorrectly reading empty files (#48849)

platform-server

Commit Type Description
73972c684e fix insert transfer state script before other script tags (#48868)

router

Commit Type Description
d5b2c249a3 fix Handle routerLink directive on svg anchors. (#48857)

Special Thanks

Alan Agius, Besim Gürbüz, Brecht Billiet, Dario Piotrowicz, Dylan Hunn, Iván Navarro, Jessica Janiuk, Kristiyan Kostadinov, Matthieu Riegler, Onkar Ruikar, Payam Valadkhan, Santosh Yadav, Virginia Dooley and Walid Bouguima

15.1.2 (2023-01-25)

compiler

Commit Type Description
98ccb57117 fix handle css selectors with space after an escaped character. (#48558)

compiler-cli

Commit Type Description
145f848a10 fix resolve deprecation warning (#48812)

router

Commit Type Description
a6b10f6e59 fix 'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734)

Special Thanks

Alan Agius, AleksanderBodurri, Andrew Kushnir, Andrew Scott, Charles Lyding, Dylan Hunn, JoostK, Matthieu Riegler, Paul Gschwendtner, Payam Valadkhan, Virginia Dooley, Yann Thomas LE MOIGNE and dario-piotrowicz

15.1.1 (2023-01-18)

common

Commit Type Description
68ce4f6ab4 fix Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48489)
032b2bd689 perf avoid excessive DOM mutation in NgClass (#48433)

core

Commit Type Description
dd54f6bd96 fix makeEnvironmentProviders should accept EnvironmentProviders (#48720)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Scott, Aristeidis Bampakos, Bob Watson, Jens, Konstantin Kharitonov, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Vladyslav Slipchenko, ced, dario-piotrowicz, mgechev and ノウラ

15.1.0 (2023-01-10)

Deprecations

router

  • CanLoad guards in the Router are deprecated. Use CanMatch instead.

  • router writable properties

    The following strategies are meant to be configured by registering the application strategy in DI via the providers in the root NgModule or bootstrapApplication:

    • routeReuseStrategy
    • titleStrategy
    • urlHandlingStrategy

    The following options are meant to be configured using the options available in RouterModule.forRoot or provideRouter.

    • onSameUrlNavigation
    • paramsInheritanceStrategy
    • urlUpdateStrategy
    • canceledNavigationResolution

    The following options are available in RouterModule.forRoot but not available in provideRouter:

    • malformedUriErrorHandler - This was found to not be used anywhere internally.
    • errorHandler - Developers can instead subscribe to Router.events and filter for NavigationError.

common

Commit Type Description
fe50813664 feat Add BrowserPlatformLocation to the public API (#48488)
2f4f0638c7 fix Add data attribtue to NgOptimizedImage (#48497)

compiler

Commit Type Description
a532d71975 feat allow self-closing tags on custom elements (#48535)
caf7228f8a fix resolve deprecation warning (#48652)
33f35b04ef fix type-only symbols incorrectly retained when downlevelling custom decorators (#48638)

compiler-cli

Commit Type Description
caedef0f5b fix update @babel/core dependency and lock version (#48634)

core

Commit Type Description
6acae1477a feat Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
38421578a2 feat Make the isStandalone() function available in public API (#48114)
dd42974b07 feat support TypeScript 4.9 (#48005)

forms

Commit Type Description
8aa8b4b77c fix Form provider FormsModule.withConfig return a FormsModule (#48526)

language-service

Commit Type Description
5f0b53c735 feat Allow auto-imports to suggest multiple possible imports. (#47787)
6a8ea29a04 fix expose package.json for vscode extension resolution (#48678)
ce8160ecb2 fix Prevent crashes on unemitable references (#47938)
e615b598ba fix ship /api entry-point (#48670)
6ce7d76a0e fix update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663)

localize

Commit Type Description
a1a8e91eca fix add triple slash type reference on @angular/localize on `ng add (#48502)

migrations

Commit Type Description
cc284afbbc fix combine newly-added imports in import manager (#48620)

router

Commit Type Description
228e992db7 docs Deprecate canLoad guards in favor of canMatch (#48180)
0a8b8a66cd docs Deprecate public members of Router that are meant to be configured elsewhere (#48006)
332461bd0c feat Add ability to override onSameUrlNavigation default per-navigation (#48050)
f58ad86e51 feat Add feature provider for enabling hash navigation (#48301)
73f03ad2d2 feat Add new NavigationSkipped event for ignored navigations (#48024)
3fe75710d9 fix page refresh should not destroy history state (#48540)

Special Thanks

Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Doug Parker, Dylan Hunn, George Kalpakas, Greg Magolan, Jessica Janiuk, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Renan Ferro, Tim Gates, Vadim, Virginia Dooley, ced, mgechev, piyush132000, robertIsaac and sr5434

15.0.4 (2022-12-14)

animations

Commit Type Description
6c1064c72f fix fix incorrect handling of camel-case css properties (#48436)

common

Commit Type Description
f30d18a942 fix Fix TestBed.overrideProvider type to include multi (#48424)

compiler-cli

Commit Type Description
b55d2dab5d fix evaluate const tuple types statically (#48091)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, BrowserPerson, Jens, Jessica Janiuk, Joey Perrott, JoostK, Konstantin Kharitonov, Lukas Matta, Piotr Kowalski, Virginia Dooley, Yannick Baron, dario-piotrowicz, lsst25, piyush132000 and why520crazy

15.0.3 (2022-12-07)

common

Commit Type Description
50b1c2bf52 fix Don't generate srcsets with very large sources (#47997)
bf44dc234a fix Update Location to support base href containing origin (#48327)

compiler

Commit Type Description
9a5d84249a fix make sure selectors inside container queries are correctly scoped (#48353)

compiler-cli

Commit Type Description
167bc0d163 fix Produce diagnostic rather than crash when using invalid hostDirective (#48314)

core

Commit Type Description
e4dcaa513e fix unable to inject ChangeDetectorRef inside host directives (#48355)

Special Thanks

Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Derek Cormier, Joey Perrott, Konstantin Kharitonov, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, dario-piotrowicz and piyush132000

15.0.2 (2022-11-30)

compiler-cli

Commit Type Description
86a21f5569 fix accept inheriting the constructor from a class in a library (#48156)

Special Thanks

Alan Agius, Andrew Scott, Aristeidis Bampakos, Bob Watson, Derek Cormier, JoostK, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Rokas Brazdžionis, mgechev and piyush132000

15.0.1 (2022-11-22)

common

Commit Type Description
930af9dd26 fix Fix MockPlatformLocation events and missing onPopState implementation (#48113)

forms

Commit Type Description
b342e55509 fix don't mutate validators array (#47830)
a12a120272 fix FormBuilder.group return right type with shorthand parameters. (#48084)

language-service

Commit Type Description
cc8b76ef7c fix correctly handle host directive inputs/outputs (#48147)
a8c33bf931 fix update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120)

router

Commit Type Description
e4309d57d8 fix correct type of nextState parameter in canDeactivate (#48038)
9baefd085f fix Ensure renavigating in component init works with enabledBlocking (#48063)
fa5528fb5f fix restore 'history.state' on popstate even if navigationId missing (#48033)

Special Thanks

Alan Agius, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn, George Kalpakas, Greg Magolan, Ikko Ashimine, Ivan Rodriguez, Jessica Janiuk, Joe Roxbury, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Mikhail Savchuk, Nebojsa Cvetkovic, Pawel Kozlowski, Volodymyr and Wooshaah

12.2.17 (2022-11-22)

Breaking Changes

core

  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.

core

Commit Type Description
b871db57da fix hardening attribute and property binding rules for