PackageTrack

npm · #3838

@angular/core

22.1.4angular/angular

Angular - the core framework

Release timeline

1101 releases since 2016
20182020202220242026

Releases

  1. 19.0.34 Dec 2024
    Release notes

    <a name="19.0.3"></a>

    19.0.3 (2024-12-04)

    Open source →
    Additional notes

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="19.0.2"></a>

    Open source →
  2. 19.0.24 Dec 2024
    Release notes

    <a name="19.0.2"></a>

    19.0.2 (2024-12-04)

    compiler-cli

    Commit Description
    account for multiple generated namespace imports in HMR (#58924)

    core

    Commit Description
    Explicitly manage TracingSnapshot lifecycle and dispose of it once it's been used. (#58929)

    migrations

    Commit Description
    class content being deleted in some edge cases (#58959)
    correctly strip away parameters surrounded by comments in inject migration (#58959)
    don't migrate classes with parameters that can't be injected (#58959)
    inject migration aggressively removing imports (#58959)
    inject migration dropping code if everything except super is removed (#58959)
    preserve type literals and tuples in inject migrations (#58959)

    platform-server

    Commit Description
    remove peer dependency on animations (#58997)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    9f99196d23 fix account for multiple generated namespace imports in HMR (#58924)

    core

    Commit Type Description
    4792db9a6d fix Explicitly manage TracingSnapshot lifecycle and dispose of it once it's been used. (#58929)

    migrations

    Commit Type Description
    7b5bacc228 fix class content being deleted in some edge cases (#58959)
    d1cbdd6acb fix correctly strip away parameters surrounded by comments in inject migration (#58959)
    e17ff71c31 fix don't migrate classes with parameters that can't be injected (#58959)
    7c5f990001 fix inject migration aggressively removing imports (#58959)
    4392ccedf9 fix inject migration dropping code if everything except super is removed (#58959)
    9cbebc6dda fix preserve type literals and tuples in inject migrations (#58959)

    platform-server

    Commit Type Description
    f3c388ecda fix remove peer dependency on animations (#58997)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.13"></a>

    Open source →
  3. 19.0.126 Nov 2024
    Release notes

    <a name="19.0.1"></a>

    19.0.1 (2024-11-26)

    compiler-cli

    Commit Description
    more accurate diagnostics for host binding parser errors (#58870)

    core

    Commit Description
    correctly clear template HMR internal renderer cache (#58724)
    correctly perform lazy routes migration for components with additional decorators (#58796)
    Ensure _tick is always run within the TracingSnapshot. (#58881)
    Ensure resource sets an error (#58855)
    make component id generation more stable between client and server builds (#58813)
    Prevents race condition of cleanup for incremental hydration (#58722)

    forms

    Commit Description
    work around TypeScript 5.7 issue (#58731)

    language-service

    Commit Description
    add fix for individual unused imports (#58719)
    allow fixes to run without template info (#58719)

    migrations

    Commit Description
    fix provide-initializer migration when using useFactory (#58518)
    handle parameters with initializers in inject migration (#58769)
    Mark hoisted properties as removed in inject migration (#58804)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    fb1fa8b0fc fix more accurate diagnostics for host binding parser errors (#58870)

    core

    Commit Type Description
    502ee0e722 fix correctly clear template HMR internal renderer cache (#58724)
    99715104a1 fix correctly perform lazy routes migration for components with additional decorators (#58796)
    118803035f fix Ensure _tick is always run within the TracingSnapshot. (#58881)
    08b9452f01 fix Ensure resource sets an error (#58855)
    84f45ea3ff fix make component id generation more stable between client and server builds (#58813)
    d3491c7cee fix Prevents race condition of cleanup for incremental hydration (#58722)

    forms

    Commit Type Description
    4dfe5b6cef fix work around TypeScript 5.7 issue (#58731)

    language-service

    Commit Type Description
    a983865bff fix add fix for individual unused imports (#58719)
    e6e7a4e22b fix allow fixes to run without template info (#58719)

    migrations

    Commit Type Description
    5ce10264a4 fix fix provide-initializer migration when using useFactory (#58518)
    d4f5c85f60 fix handle parameters with initializers in inject migration (#58769)
    a6d2d2dc10 fix Mark hoisted properties as removed in inject migration (#58804)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="19.0.0"></a>

    Open source →
  4. 19.0.019 Nov 2024
    Release notes

    <a name="19.0.0"></a>

    19.0.0 (2024-11-19)

    Explore Angular v19 with a blog post from the Angular team: https://blog.angular.dev/meet-angular-v19-7b29dfd05b84

    Breaking Changes

    compiler

    • this.foo property reads no longer refer to template context variables. If you intended to read the template variable, do not use this..

    core

    • Angular directives, components and pipes are now standalone by default.

      • Specify standalone: false for declarations that are currently declared in @NgModules.
      • ng update for v19 will take care of this automatically.
    • TypeScript versions less than 5.5 are no longer supported.

    • Timing changes for effect API (in developer preview):

      • effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).

      • effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.

    • ExperimentalPendingTasks has been renamed to PendingTasks.

    • The autoDetect feature of ComponentFixture will now attach the fixture to the ApplicationRef. As a result, errors during automatic change detection of the fixture be reported to the ErrorHandler. This change may cause custom error handlers to observe new failures that were previously unreported.

    • createComponent will now render default fallback with empty projectableNodes.

      • When passing an empty array to projectableNodes in the createComponent API, the default fallback content of the ng-content will be rendered if present. To prevent rendering the default content, pass document.createTextNode('') as a projectableNode.
      // The first ng-content will render the default fallback content if present
      createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
      
      // To prevent projecting the default fallback content:
      createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
      
      
    • Errors that are thrown during ApplicationRef.tick will now be rethrown when using TestBed. These errors should be resolved by ensuring the test environment is set up correctly to complete change detection successfully. There are two alternatives to catch the errors:

      • Instead of waiting for automatic change detection to happen, trigger it synchronously and expect the error. For example, a jasmine test could write expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
      • TestBed will reject any outstanding ComponentFixture.whenStable promises. A jasmine test, for example, could write expectAsync(fixture.whenStable()).toBeRejected().

      As a last resort, you can configure errors to not be rethrown by setting rethrowApplicationErrors to false in TestBed.configureTestingModule.

    • The timers that are used for zone coalescing and hybrid mode scheduling (which schedules an application state synchronization when changes happen outside the Angular zone) will now run in the zone above Angular rather than the root zone. This will mostly affect tests which use fakeAsync: these timers will now be visible to fakeAsync and can be affected by tick or flush.

    • The deprecated factories property in KeyValueDiffers has been removed.

    elements

    • as part of switching away from custom CD behavior to the hybrid scheduler, timing of change detection around custom elements has changed subtly. These changes make elements more efficient, but can cause tests which encoded assumptions about how or when elements would be checked to require updating.

    localize

    • The name option in the ng add @localize`` schematic has been removed in favor of the project option.

    platform-browser

    • The deprecated BrowserModule.withServerTransition method has been removed. Please use the APP_ID DI token to set the application id instead.

    router

    • The Router.errorHandler property has been removed. Adding an error handler should be configured in either withNavigationErrorHandler with provideRouter or the errorHandler property in the extra options of RouterModule.forRoot. In addition, the error handler cannot be used to change the return value of the router navigation promise or prevent it from rejecting. Instead, if you want to prevent the promise from rejecting, use resolveNavigationPromiseOnError.
    • The return type of the Resolve interface now includes RedirectCommand.

    common

    Commit Description
    add optional rounded transform support in cloudinary image loader (#55364)
    automatically use sizes auto in NgOptimizedImage (#57479)
    disable keyvalue sorting using null compareFn (#57487)

    compiler

    Commit Description
    add diagnostic for unused standalone imports (#57605)
    add support for the typeof keyword in template expressions. (#58183)
    this.a should always refer to class property a (#55183)
    add more specific matcher for hydrate never block (#58360)
    avoid having to duplicate core environment (#58444)
    control flow nodes with root at the end projected incorrectly (#58607)
    fix :host parsing in pseudo-selectors (#58681)
    fix multiline selectors (#58681)
    handle typeof expressions in serializer (#58217)
    ignore placeholder-only i18n messages (#58154)
    resolve :host:host-context(.foo) (#58681)
    transform chained pseudo-selectors (#58681)

    compiler-cli

    Commit Description
    'strictStandalone' flag enforces standalone (#57935)
    ensure template style elements are preprocessed as inline styles (#57429)
    generate the HMR replacement module (#58205)
    disable standalone by default on older versions of Angular (#58405)
    do not fail fatal when references to non-existent module are discovered (#58515)
    do not report unused declarations coming from an imported array (#57940)
    incorrectly generating relative file paths on case-insensitive platforms (#58150)
    make the unused imports diagnostic easier to read (#58468)
    report individual diagnostics for unused imports (#58589)
    reduce duplicate component style resolution (#57502)

    core

    Commit Description
    Add a schematics to migrate to standalone: false. (#57643)
    Add async run method on ExperimentalPendingTasks (#56546)
    Add incremental hydration public api (#58249)
    Add rxjs operator prevent app stability until an event (#56533)
    add syntactic sugar for initializers (#53152)
    allow passing undefined without needing to include it in the type argument of input (#57621)
    allow running output migration on a subset of paths (#58299)
    change effect() execution timing & no-op allowSignalWrites (#57874)
    drop support for TypeScript 5.4 (#57577)
    experimental resource() API for async dependencies (#58255)
    experimental impl of rxResource() (#58255)
    flipping the default value for standalone to true (#58169)
    initial version of the output migration (#57604)
    introduce afterRenderEffect (#57549)
    introduce debugName optional arg to framework signal functions (#57073)
    introduce the reactive linkedSignal (#58189)
    mark input, output and model APIs as stable (#57804)
    mark signal-based query APIs as stable (#57921)
    migrate ExperimentalPendingTasks to PendingTasks (#57533)
    promote outputFromObservable & outputToObservable to stable. (#58214)
    Promote takeUntilDestroyed to stable. (#58200)
    stabilize @let syntax (#57813)
    support TypeScript 5.6 (#57424)
    treat directives, pipes, components as by default (#58229)
    allow signal write error (#57973)
    avoid breaking change with apps using rxjs 6.x (#58341)
    clean up event contract once hydration is done (#58174)
    ComponentFixture autoDetect feature works like production (#55228)
    Ensure the ViewContext is retained after closure minification (#57903)
    fallback to default ng-content with empty projectable nodes. (#57480)
    Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416)
    fixes issues with control flow and incremental hydration (#58644)
    prevent errors on contract cleanup (#58614)
    Prevents trying to trigger incremental hydration on CSR (#58366)
    Re-assign error codes to be within core bounds (<1000) (#53455)
    resolve forward-referenced host directives during directive matching (#58492)
    rethrow errors during ApplicationRef.tick in TestBed (#57200)
    Schedulers run in zone above Angular rather than root (#57553)
    set encapsulation to None for empty component styles (#57130)
    remove deprecated factories Property in KeyValueDiffers (#58064)

    elements

    Commit Description
    support output()-shaped outputs (#57535)
    switch to ComponentRef.setInput & remove custom scheduler (#56728)

    forms

    Commit Description
    add ability to clear a FormRecord (#50750)
    fix FormRecord type inference (#50750)

    http

    Commit Description
    promote withRequestsMadeViaParent to stable. (#58221)
    preserve all headers from Headers object (#57802)

    language-service

    Commit Description
    add code fix for unused standalone imports (#57605)
    add code reactoring action to migrate @Input to signal-input (#57214)
    allow code refactorings to compute edits asynchronously (#57214)
    support converting to signal queries in VSCode extension (#58106)
    support migrating full classes to signal inputs in VSCode (#57975)
    support migrating full classes to signal queries (#58263)
    The suppress diagnostics option should work for external templates (#57873)

    localize

    Commit Description
    remove deprecated name option. (#58063)

    migrations

    Commit Description
    add a combined migration for all signals APIs (#58259)
    add schematic to migrate to signal queries (#58032)
    capture output migration stats (#58321)
    expose output as function migration (#58299)
    introduce signal input migration as ng generate schematic (#57805)
    migrate .pipe calls in outputs used in tests (#57691)
    print output migration stats in ng generate (#58321)
    remove complete calls for migrated outputs (#57671)
    replace .next usage on outputs (#57654)
    add outputs migration to combined shorthand (#58318)
    change imports to be G3 compatible (#57654)
    do not migrate next calls in template if not an EventEmitter (#58631)
    flip the default standalone flag in route-lazy-loading migration (#58474)
    include the output migration in the defaults of the signal migration (#58635)
    inject migration always inserting generated variables before super call (#58393)
    inject migration not inserting generated code after super call in some cases (#58393)
    migrate more .next output usages (#58282)
    properly bundle shared compiler code into migrations (#58515)
    properly handle comments in output migration (#57691)
    properly migrate output aliases (#58411)
    properly replace imports across files (#58414)
    properly resolve tsconfig paths on windows (#58137)
    replace removed NgModules in tests with their exports (#58627)

    platform-browser

    Commit Description
    correctly add external stylesheets to ShadowDOM components (#58482)
    remove deprecated BrowserModule.withServerTransition method (#58062)

    platform-server

    Commit Description
    destroy PlatformRef when error happens during the bootstrap() phase (#58112)

    router

    Commit Description
    Add routerOutletData input to RouterOutlet directive (#57051)
    Align RouterModule.forRoot errorHandler with provider error handler (#57050)
    remove setter for injector on OutletContext (#58343)
    Update Resolve interface to include RedirectCommand like ResolveFn (#57309)

    service-worker

    Commit Description
    allow specifying maxAge for entire application (#49601)
    finish implementation of refreshAhead feature (#53356)
    Open source →
    Additional notes

    Blog post: https://blog.angular.dev/meet-angular-v19-7b29dfd05b84

    Breaking Changes

    compiler

    • this.foo property reads no longer refer to template context variables. If you intended to read the template variable, do not use this..
    • changes to CSS selectors parsing where introduced, mainly to: pseudo selectors :where() and :is(), parsing of :host and host-context, parsing selectors within pseudo selector arguments (for instance comma separated selectors). These changes could lead to a different specificity of the resulting selectors and/or previously broken selectors being applied now, for example :where(:host) used to transform to :where()[ng-host] and is being :where([ng-host]) now. Unlike the previous outcome, the new result can target elements and therefore could lead to breakages.

    core

    • Angular directives, components and pipes are now standalone by default.

      • Specify standalone: false for declarations that are currently declared in @NgModules.
      • ng update for v19 will take care of this automatically.
    • TypeScript versions less than 5.5 are no longer supported.

    • Timing changes for effect API (in developer preview):

      • effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).

      • effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.

    • ExperimentalPendingTasks has been renamed to PendingTasks.

    • The autoDetect feature of ComponentFixture will now attach the fixture to the ApplicationRef. As a result, errors during automatic change detection of the fixture be reported to the ErrorHandler. This change may cause custom error handlers to observe new failures that were previously unreported.

    • createComponent will now render default fallback with empty projectableNodes.

      • When passing an empty array to projectableNodes in the createComponent API, the default fallback content of the ng-content will be rendered if present. To prevent rendering the default content, pass document.createTextNode('') as a projectableNode.
      // The first ng-content will render the default fallback content if present
      createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
      
      // To prevent projecting the default fallback content:
      createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
      
      
    • Errors that are thrown during ApplicationRef.tick will now be rethrown when using TestBed. These errors should be resolved by ensuring the test environment is set up correctly to complete change detection successfully. There are two alternatives to catch the errors:

      • Instead of waiting for automatic change detection to happen, trigger it synchronously and expect the error. For example, a jasmine test could write expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
      • TestBed will reject any outstanding ComponentFixture.whenStable promises. A jasmine test, for example, could write expectAsync(fixture.whenStable()).toBeRejected().

      As a last resort, you can configure errors to not be rethrown by setting rethrowApplicationErrors to false in TestBed.configureTestingModule.

    • The timers that are used for zone coalescing and hybrid mode scheduling (which schedules an application state synchronization when changes happen outside the Angular zone) will now run in the zone above Angular rather than the root zone. This will mostly affect tests which use fakeAsync: these timers will now be visible to fakeAsync and can be affected by tick or flush.

    • The deprecated factories property in KeyValueDiffers has been removed.

    elements

    • as part of switching away from custom CD behavior to the hybrid scheduler, timing of change detection around custom elements has changed subtly. These changes make elements more efficient, but can cause tests which encoded assumptions about how or when elements would be checked to require updating.

    localize

    • The name option in the ng add @localize``schematic has been removed in favor of theproject option.

    platform-browser

    • The deprecated BrowserModule.withServerTransition method has been removed. Please use the APP_ID DI token to set the application id instead.

    router

    • The Router.errorHandler property has been removed. Adding an error handler should be configured in either withNavigationErrorHandler with provideRouter or the errorHandler property in the extra options of RouterModule.forRoot. In addition, the error handler cannot be used to change the return value of the router navigation promise or prevent it from rejecting. Instead, if you want to prevent the promise from rejecting, use resolveNavigationPromiseOnError.
    • The return type of the Resolve interface now includes RedirectCommand.

    common

    Commit Type Description
    24c6373820 feat add optional rounded transform support in cloudinary image loader (#55364)
    50f08e6c4b feat automatically use sizes auto in NgOptimizedImage (#57479)
    13c13067bc feat disable keyvalue sorting using null compareFn (#57487)

    compiler

    Commit Type Description
    a2e4ee0cb3 feat add diagnostic for unused standalone imports (#57605)
    0c9d721ac1 feat add support for the typeof keyword in template expressions. (#58183)
    09f589f000 fix this.a should always refer to class property a (#55183)
    98804fd4be fix add more specific matcher for hydrate never block (#58360)
    b25121ee4a fix avoid having to duplicate core environment (#58444)
    560282aa9b fix control flow nodes with root at the end projected incorrectly (#58607)
    2be161d015 fix fix :host parsing in pseudo-selectors (#58681)
    806a61b5a6 fix fix multiline selectors (#58681)
    a3cb530d84 fix handle typeof expressions in serializer (#58217)
    ba4340875a fix ignore placeholder-only i18n messages (#58154)
    e5d3abb298 fix resolve :host:host-context(.foo) (#58681)
    80f56954ce fix transform chained pseudo-selectors (#58681)

    compiler-cli

    Commit Type Description
    d9687f43dd feat 'strictStandalone' flag enforces standalone (#57935)
    9e87593055 feat ensure template style elements are preprocessed as inline styles (#57429)
    231e6ff6ca feat generate the HMR replacement module (#58205)
    dbe612f2cd fix disable standalone by default on older versions of Angular (#58405)
    d4d76ead80 fix do not fail fatal when references to non-existent module are discovered (#58515)
    33fe252c58 fix do not report unused declarations coming from an imported array (#57940)
    fb44323c51 fix incorrectly generating relative file paths on case-insensitive platforms (#58150)
    22cd6869ef fix make the unused imports diagnostic easier to read (#58468)
    9bbb01c85e fix report individual diagnostics for unused imports (#58589)
    4716c3b966 perf reduce duplicate component style resolution (#57502)

    core

    Commit Type Description
    6ea8e1e9aa feat Add a schematics to migrate to standalone: false. (#57643)
    3ebe6b4ad4 feat Add async run method on ExperimentalPendingTasks (#56546)
    69fc5ae922 feat Add incremental hydration public api (#58249)
    8ebbae88ca feat Add rxjs operator prevent app stability until an event (#56533)
    19edf2c057 feat add syntactic sugar for initializers (#53152)
    c93b510f9b feat allow passing undefined without needing to include it in the type argument of input (#57621)
    ab25a192ba feat allow running output migration on a subset of paths (#58299)
    fc59e2a7b7 feat change effect() execution timing & no-op allowSignalWrites (#57874)
    8bcc663a53 feat drop support for TypeScript 5.4 (#57577)
    18d8d44b1f feat experimental resource() API for async dependencies (#58255)
    9762b24b5e feat experimental impl of rxResource() (#58255)
    6b8c494d05 feat flipping the default value for standalone to true (#58169)
    e6e5d29e83 feat initial version of the output migration (#57604)
    be2e49639b feat introduce afterRenderEffect (#57549)
    ec386e7f12 feat introduce debugName optional arg to framework signal functions (#57073)
    8311f00faa feat introduce the reactive linkedSignal (#58189)
    1b1519224d feat mark input, output and model APIs as stable (#57804)
    a7eff3ffaa feat mark signal-based query APIs as stable (#57921)
    a1f229850a feat migrate ExperimentalPendingTasks to PendingTasks (#57533)
    3f1e7ab6ae feat promote outputFromObservable & outputToObservable to stable. (#58214)
    97c44a1d6c feat Promote takeUntilDestroyed to stable. (#58200)
    e5adf92965 feat stabilize @let syntax (#57813)
    b063468027 feat support TypeScript 5.6 (#57424)
    819ff034ce feat treat directives, pipes, components as by default (#58229)
    ee426c62f0 fix allow signal write error (#57973)
    c095679f92 fix avoid breaking change with apps using rxjs 6.x (#58341)
    71ee81af2c fix clean up event contract once hydration is done (#58174)
    f03d274e87 fix ComponentFixture autoDetect feature works like production (#55228)
    950a5540f1 fix Ensure the ViewContext is retained after closure minification (#57903)
    7b1e5be20b fix fallback to default ng-content with empty projectable nodes. (#57480)
    0300dd2e18 fix Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416)
    5fe57d4fbb fix fixes issues with control flow and incremental hydration (#58644)
    51933ef5a6 fix prevent errors on contract cleanup (#58614)
    fd7716440b fix Prevents trying to trigger incremental hydration on CSR (#58366)
    656b5d3e78 fix Re-assign error codes to be within core bounds (<1000) (#53455)
    6e0af6dbbb fix resolve forward-referenced host directives during directive matching (#58492)
    468d3fb9b1 fix rethrow errors during ApplicationRef.tick in TestBed (#57200)
    226a67dabb fix Schedulers run in zone above Angular rather than root (#57553)
    97fb86d331 perf set encapsulation to None for empty component styles (#57130)
    c15ec36bd1 refactor remove deprecated factories Property in KeyValueDiffers (#58064)

    elements

    Commit Type Description
    fe5c4e086a fix support output()-shaped outputs (#57535)
    0cebfd7462 fix switch to ComponentRef.setInput & remove custom scheduler (#56728)

    forms

    Commit Type Description
    3e7d724037 feat add ability to clear a FormRecord (#50750)
    18b6f3339f fix fix FormRecord type inference (#50750)

    http

    Commit Type Description
    4b9accdf16 feat promote withRequestsMadeViaParent to stable. (#58221)
    057cf7fb6b fix preserve all headers from Headers object (#57802)

    language-service

    Commit Type Description
    8da9fb49b5 feat add code fix for unused standalone imports (#57605)
    1f067f4507 feat add code reactoring action to migrate @Input to signal-input (#57214)
    56ee47f2ec feat allow code refactorings to compute edits asynchronously (#57214)
    bc83fc1e2e feat support converting to signal queries in VSCode extension (#58106)
    5c4305f024 feat support migrating full classes to signal inputs in VSCode (#57975)
    6342befff8 feat support migrating full classes to signal queries (#58263)
    7ecfd89592 fix The suppress diagnostics option should work for external templates (#57873)

    localize

    Commit Type Description
    9c3bd1b5d1 refactor remove deprecated name option. (#58063)

    migrations

    Commit Type Description
    dff4de0f75 feat add a combined migration for all signals APIs (#58259)
    b6bc93803c feat add schematic to migrate to signal queries (#58032)
    2bfc64daf1 feat expose output as function migration (#58299)
    59fe9bc772 feat introduce signal input migration as ng generate schematic (#57805)
    90c7ec39a0 fix inject migration always inserting generated variables before super call (#58393)
    7a65cdd911 fix inject migration not inserting generated code after super call in some cases (#58393)
    c1aa411cf1 fix properly resolve tsconfig paths on windows (#58137)
    e26797b38e fix replace removed NgModules in tests with their exports (#58627)

    platform-browser

    Commit Type Description
    c36a1c023b fix correctly add external stylesheets to ShadowDOM components (#58482)
    5c61f46409 refactor remove deprecated BrowserModule.withServerTransition method (#58062)

    platform-server

    Commit Type Description
    9e82559de4 fix destroy PlatformRef when error happens during the bootstrap() phase (#58112)

    router

    Commit Type Description
    f271021e19 feat Add routerOutletData input to RouterOutlet directive (#57051)
    b2790813a6 fix Align RouterModule.forRoot errorHandler with provider error handler (#57050)
    a49c35ec76 fix remove setter for injector on OutletContext (#58343)
    7436d3180e fix Update Resolve interface to include RedirectCommand like ResolveFn (#57309)

    service-worker

    Commit Type Description
    8ddce80a0b feat allow specifying maxAge for entire application (#49601)
    1479af978c feat finish implementation of refreshAhead feature (#53356)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.12"></a>

    Open source →
  5. 19.0.0-rc.315 Nov 2024pre-release
    Release notes

    <a name="19.0.0-rc.3"></a>

    19.0.0-rc.3 (2024-11-15)

    compiler

    Commit Description
    fix :host parsing in pseudo-selectors (#58681)
    fix multiline selectors (#58681)
    resolve :host:host-context(.foo) (#58681)
    transform chained pseudo-selectors (#58681)

    migrations

    Commit Description
    do not migrate next calls in template if not an EventEmitter (#58631)
    Open source →
  6. 19.0.0-rc.214 Nov 2024pre-release
    Release notes

    <a name="19.0.0-rc.2"></a>

    19.0.0-rc.2 (2024-11-14)

    compiler

    Commit Description
    control flow nodes with root at the end projected incorrectly (#58607)

    compiler-cli

    Commit Description
    correct extraction of generics from type aliases (#58548)
    report individual diagnostics for unused imports (#58589)

    core

    Commit Description
    clean up event contract once hydration is done (#58174)
    fixes issues with control flow and incremental hydration (#58644)
    prevent errors on contract cleanup (#58614)

    migrations

    Commit Description
    include the output migration in the defaults of the signal migration (#58635)
    replace removed NgModules in tests with their exports (#58627)
    Open source →
  7. 19.0.0-rc.16 Nov 2024pre-release
    Release notes

    <a name="19.0.0-rc.1"></a>

    19.0.0-rc.1 (2024-11-06)

    compiler

    Commit Description
    avoid having to duplicate core environment (#58444)

    compiler-cli

    Commit Description
    do not fail fatal when references to non-existent module are discovered (#58515)
    make the unused imports diagnostic easier to read (#58468)

    core

    Commit Description
    avoid slow stringification when checking for duplicates in dev mode (#58521)
    resolve forward-referenced host directives during directive matching (#58492)

    migrations

    Commit Description
    flip the default standalone flag in route-lazy-loading migration (#58474)
    properly bundle shared compiler code into migrations (#58515)

    platform-browser

    Commit Description
    correctly add external stylesheets to ShadowDOM components (#58482)
    Open source →
  8. 19.0.0-rc.030 Oct 2024pre-release
    Release notes

    <a name="19.0.0-rc.0"></a>

    19.0.0-rc.0 (2024-10-30)

    compiler

    Commit Description
    add more specific matcher for hydrate never block (#58360)

    compiler-cli

    Commit Description
    disable standalone by default on older versions of Angular (#58405)

    core

    Commit Description
    avoid breaking change with apps using rxjs 6.x (#58341)
    Prevents trying to trigger incremental hydration on CSR (#58366)

    localize

    Commit Description
    Adding arb format to the list of valid formats in the localization extractor cli (#58287)

    migrations

    Commit Description
    inject migration always inserting generated variables before super call (#58393)
    inject migration not inserting generated code after super call in some cases (#58393)
    properly migrate output aliases (#58411)
    properly replace imports across files (#58414)

    router

    Commit Description
    remove setter for injector on OutletContext (#58343)
    Open source →
  9. 19.0.0-next.1123 Oct 2024pre-release
    Release notes

    <a name="19.0.0-next.11"></a>

    19.0.0-next.11 (2024-10-23)

    common

    Commit Description
    add optional rounded transform support in cloudinary image loader (#55364)
    disable keyvalue sorting using null compareFn (#57487)

    compiler-cli

    Commit Description
    report when NgModule imports or exports itself (#58231)

    core

    Commit Description
    Add incremental hydration public api (#58249)
    Add rxjs operator prevent app stability until an event (#56533)
    add syntactic sugar for initializers (#53152)
    allow running output migration on a subset of paths (#58299)
    experimental resource() API for async dependencies (#58255)
    experimental impl of rxResource() (#58255)
    introduce debugName optional arg to framework signal functions (#57073)
    introduce the reactive linkedSignal (#58189)

    forms

    Commit Description
    add ability to clear a FormRecord (#50750)
    fix FormRecord type inference (#50750)

    http

    Commit Description
    promote withRequestsMadeViaParent to stable. (#58221)

    language-service

    Commit Description
    support migrating full classes to signal queries (#58263)

    migrations

    Commit Description
    add a combined migration for all signals APIs (#58259)
    capture output migration stats (#58321)
    expose output as function migration (#58299)
    print output migration stats in ng generate (#58321)
    add outputs migration to combined shorthand (#58318)
    migrate more .next output usages (#58282)

    service-worker

    Commit Description
    allow specifying maxAge for entire application (#49601)
    Open source →
  10. 19.0.0-next.1016 Oct 2024pre-release
    Release notes

    <a name="19.0.0-next.10"></a>

    19.0.0-next.10 (2024-10-16)

    compiler

    Commit Description
    add support for the typeof keyword in template expressions. (#58183)
    handle typeof expressions in serializer (#58217)
    ignore placeholder-only i18n messages (#58154)

    compiler-cli

    Commit Description
    generate the HMR replacement module (#58205)
    incorrectly generating relative file paths on case-insensitive platforms (#58150)

    core

    Commit Description
    flipping the default value for standalone to true (#58169)
    promote outputFromObservable & outputToObservable to stable. (#58214)
    Promote takeUntilDestroyed to stable. (#58200)
    treat directives, pipes, components as by default (#58229)

    Breaking Changes

    core

    • Angular directives, components and pipes are now standalone by default. Specify standalone: false for declarations that are currently declared in @NgModules. ng update for v19 will take care of this automatically.
    Open source →
  11. 19.0.0-next.910 Oct 2024pre-release
    Release notes

    <a name="19.0.0-next.9"></a>

    19.0.0-next.9 (2024-10-10)

    compiler

    Commit Description
    this.a should always refer to class property a (#55183)
    add multiple :host and nested selectors support (#57796)
    allow combinators inside pseudo selectors (#57796)
    fix comment typo (#57796)
    fix parsing of the :host-context with pseudo selectors (#57796)
    preserve attributes attached to :host selector (#57796)
    scope :host-context inside pseudo selectors, do not decrease specificity (#57796)
    transform pseudo selectors correctly for the encapsulated view (#57796)

    compiler-cli

    Commit Description
    defer symbols only used in types (#58104)

    core

    Commit Description
    allow signal write error (#57973)
    clean up afterRender after it is executed (#58119)
    Re-assign error codes to be within core bounds (<1000) (#53455)
    set encapsulation to None for empty component styles (#57130)
    remove deprecated factories Property in KeyValueDiffers (#58064)

    language-service

    Commit Description
    support converting to signal queries in VSCode extension (#58106)

    localize

    Commit Description
    remove deprecated name option. (#58063)

    migrations

    Commit Description
    properly resolve tsconfig paths on windows (#58137)

    platform-browser

    Commit Description
    remove deprecated BrowserModule.withServerTransition method (#58062)

    platform-server

    Commit Description
    destroy PlatformRef when error happens during the bootstrap() phase (#58112)

    service-worker

    Commit Description
    finish implementation of refreshAhead feature (#53356)

    Breaking Changes

    compiler

    • this.foo property reads no longer refer to template context variables. If you intended to read the template variable, do not use this..

    core

    • The deprecated factories property in KeyValueDiffers has been removed.

    localize

    • The name option in the ng add @angular/localize schematic has been removed in favor of the project option.

    platform-browser

    • The deprecated BrowserModule.withServerTransition method has been removed. Please use the APP_ID DI token to set the application id instead.
    Open source →
  12. 19.0.0-next.82 Oct 2024pre-release
    Release notes

    <a name="19.0.0-next.8"></a>

    19.0.0-next.8 (2024-10-02)

    common

    Commit Description
    execute checks and remove placeholder when image is already loaded (#55444)
    prevent warning about oversize image twice (#58021)
    skip checking whether SVGs are oversized (#57966)

    compiler-cli

    Commit Description
    'strictStandalone' flag enforces standalone (#57935)
    correctly get the type of nested function call expressions (#57010)
    do not report unused declarations coming from an imported array (#57940)

    core

    Commit Description
    provide flag to opt into manual cleanup for after render hooks (#57917)

    http

    Commit Description
    cleanup JSONP script listeners once loading completed (#57877)
    preserve all headers from Headers object (#57802)

    language-service

    Commit Description
    support migrating full classes to signal inputs in VSCode (#57975)

    migrations

    Commit Description
    add schematic to migrate to signal queries (#58032)
    delete constructor if it only has super call (#58013)

    upgrade

    Commit Description
    support input signal bindings (#57020)
    Open source →
  13. 19.0.0-next.725 Sept 2024pre-release
    Release notes

    <a name="19.0.0-next.7"></a>

    19.0.0-next.7 (2024-09-25)

    core

    Commit Description
    change effect() execution timing & no-op allowSignalWrites (#57874)
    mark signal-based query APIs as stable (#57921)
    migrate ExperimentalPendingTasks to PendingTasks (#57533)
    Ensure the ViewContext is retained after closure minification (#57903)

    language-service

    Commit Description
    The suppress diagnostics option should work for external templates (#57873)

    Breaking Changes

    core

    • Generally this PR has two implications:

      • effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).

      • effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.

      We've seen a few common failure cases:

      • Tests which used to rely on the Promise timing of effects now need to await whenStable() or call .detectChanges() in order for effects to run.

      • Tests which use faked clocks may need to fast-forward/flush the clock to cause effects to run.

      • effect()s triggered during CD could rely on the application being fully rendered (for example, they could easily read computed styles, etc). With the change, they run before the component's updates and can get incorrect answers. The recent afterRenderEffect() API is a natural replacement for this style of effect.

      • effect()s which synchronize with the forms system are particularly timing-sensitive and might need to adjust their initialization timing.

    • ExperimentalPendingTasks has been renamed to PendingTasks.

    Open source →
  14. 19.0.0-next.618 Sept 2024pre-release
    Release notes

    <a name="19.0.0-next.6"></a>

    19.0.0-next.6 (2024-09-18)

    compiler-cli

    Commit Description
    extended diagnostics not validating ICUs (#57845)

    core

    Commit Description
    Add async run method on ExperimentalPendingTasks (#56546)
    mark input, output and model APIs as stable (#57804)
    stabilize @let syntax (#57813)
    Handle @let declaration with array when preparingForHydration (#57816)

    migrations

    Commit Description
    introduce signal input migration as ng generate schematic (#57805)
    account for explicit standalone: false in migration (#57803)
    Open source →
  15. 19.0.0-next.511 Sept 2024pre-release
    Release notes

    <a name="19.0.0-next.5"></a>

    19.0.0-next.5 (2024-09-11)

    core

    Commit Description
    allow passing undefined without needing to include it in the type argument of input (#57621)
    Open source →
  16. 19.0.0-next.49 Sept 2024pre-release
    Release notes

    <a name="19.0.0-next.4"></a>

    19.0.0-next.4 (2024-09-09)

    compiler

    Commit Description
    produce less noisy errors when parsing control flow (#57711)

    core

    Commit Description
    Add a schematics to migrate to standalone: false. (#57643)

    migrations

    Commit Description
    migrate .pipe calls in outputs used in tests (#57691)
    remove complete calls for migrated outputs (#57671)
    replace .next usage on outputs (#57654)
    change imports to be G3 compatible (#57654)
    properly handle comments in output migration (#57691)
    replace leftover modules with their exports during pruning (#57684)
    Open source →
  17. 19.0.0-next.34 Sept 2024pre-release
    Release notes

    <a name="19.0.0-next.3"></a>

    19.0.0-next.3 (2024-09-04)

    compiler

    Commit Description
    add diagnostic for unused standalone imports (#57605)

    core

    Commit Description
    drop support for TypeScript 5.4 (#57577)
    initial version of the output migration (#57604)
    introduce afterRenderEffect (#57549)

    elements

    Commit Description
    support output()-shaped outputs (#57535)

    http

    Commit Description
    Dynamicaly call the global fetch implementation (#57531)

    language-service

    Commit Description
    add code fix for unused standalone imports (#57605)
    add code reactoring action to migrate @Input to signal-input (#57214)
    allow code refactorings to compute edits asynchronously (#57214)

    Breaking Changes

    core

      • TypeScript versions less than 5.5 are no longer supported.
    Open source →
  18. 19.0.0-next.228 Aug 2024pre-release
    Release notes

    <a name="19.0.0-next.2"></a>

    19.0.0-next.2 (2024-08-28)

    common

    Commit Description
    automatically use sizes auto in NgOptimizedImage (#57479)

    compiler-cli

    Commit Description
    reduce duplicate component style resolution (#57502)

    core

    Commit Description
    avoid leaking memory if component throws during creation (#57546)
    Do not bubble capture events. (#57476)
    fallback to default ng-content with empty projectable nodes. (#57480)
    Fix fixture.detectChanges with autoDetect disabled and zoneless (#57416)
    Schedulers run in zone above Angular rather than root (#57553)

    elements

    Commit Description
    switch to ComponentRef.setInput & remove custom scheduler (#56728)

    http

    Commit Description
    Dynamicaly call the global fetch implementation (#57531)

    router

    Commit Description
    Do not unnecessarily run matcher twice on route matching (#57530)

    upgrade

    Commit Description
    Address Trusted Types violations in @angular/upgrade (#57454)

    Breaking Changes

    core

    • Render default fallback with empty projectableNodes.

      When passing an empty array to projectableNodes in the createComponent API, the default fallback content of the ng-content will be rendered if present. To prevent rendering the default content, pass document.createTextNode('') as a projectableNode.

      For example:

      // The first ng-content will render the default fallback content if present
      createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
      
      // To prevent projecting the default fallback content:
      createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
      
      
    • The timers that are used for zone coalescing and hybrid mode scheduling (which schedules an application state synchronization when changes happen outside the Angular zone) will now run in the zone above Angular rather than the root zone. This will mostly affect tests which use fakeAsync: these timers will now be visible to fakeAsync and can be affected by tick or flush.

    elements

    • as part of switching away from custom CD behavior to the hybrid scheduler, timing of change detection around custom elements has changed subtly. These changes make elements more efficient, but can cause tests which encoded assumptions about how or when elements would be checked to require updating.
    Open source →
  19. 19.0.0-next.122 Aug 2024pre-release
    Release notes

    <a name="19.0.0-next.1"></a>

    19.0.0-next.1 (2024-08-22)

    compiler-cli

    Commit Description
    ensure template style elements are preprocessed as inline styles (#57429)

    core

    Commit Description
    support TypeScript 5.6 (#57424)
    Allow zoneless scheduler to run inside fakeAsync (#56932)
    ComponentFixture autoDetect feature works like production (#55228)
    handle hydration of components that project content conditionally (#57383)

    migrations

    Commit Description
    account for members with doc strings and no modifiers (#57389)
    avoid migrating route component in tests (#57317)
    preserve type when using inject decorator (#57389)

    Breaking Changes

    core

    • The autoDetect feature of ComponentFixture will now attach the fixture to the ApplicationRef. As a result, errors during automatic change detection of the fixture be reported to the ErrorHandler. This change may cause custom error handlers to observe new failures that were previously unreported.
    Open source →
  20. 19.0.0-next.014 Aug 2024pre-release
    Release notes

    <a name="19.0.0-next.0"></a>

    19.0.0-next.0 (2024-08-14)

    core

    Commit Description
    rethrow errors during ApplicationRef.tick in TestBed (#57200)

    router

    Commit Description
    Add routerOutletData input to RouterOutlet directive (#57051)
    Align RouterModule.forRoot errorHandler with provider error handler (#57050)
    Update Resolve interface to include RedirectCommand like ResolveFn (#57309)

    Breaking Changes

    core

    • Errors that are thrown during ApplicationRef.tick will now be rethrown when using TestBed. These errors should be resolved by ensuring the test environment is set up correctly to complete change detection successfully. There are two alternatives to catch the errors:

      • Instead of waiting for automatic change detection to happen, trigger it synchronously and expect the error. For example, a jasmine test could write expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
      • TestBed will reject any outstanding ComponentFixture.whenStable promises. A jasmine test, for example, could write expectAsync(fixture.whenStable()).toBeRejected().

      As a last resort, you can configure errors to not be rethrown by setting rethrowApplicationErrors to false in TestBed.configureTestingModule.

    router

    • The Router.errorHandler property has been removed. Adding an error handler should be configured in either withNavigationErrorHandler with provideRouter or the errorHandler property in the extra options of RouterModule.forRoot. In addition, the error handler cannot be used to change the return value of the router navigation promise or prevent it from rejecting. Instead, if you want to prevent the promise from rejecting, use resolveNavigationPromiseOnError.
    • The return type of the Resolve interface now includes RedirectCommand.
    Open source →
  21. 18.2.1410 Sept 2025
    Release notes

    core

    Commit Description
    introduce BootstrapContext for improved server bootstrapping (#63640)

    Breaking Changes

    core

    • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

      Before:

      const bootstrap = () => bootstrapApplication(AppComponent, config);
      

      After:

      const bootstrap = (context: BootstrapContext) =>
        bootstrapApplication(AppComponent, config, context);
      

      A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.

      In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.

    For more information please see: https://github.com/angular/angular/security/advisories/GHSA-68x2-mx4q-78m7

    Open source →
    Additional notes

    Breaking Changes

    core

    • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

      Before:

      const bootstrap = () => bootstrapApplication(AppComponent, config);
      

      After:

      const bootstrap = (context: BootstrapContext) =>
        bootstrapApplication(AppComponent, config, context);
      

      A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.

      In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.

      (cherry picked from commit 8bf80c9d2314b4f2bcf3df83ae01552a6fc49834)

    core

    Commit Type Description
    9d1fb33f5e fix introduce BootstrapContext for improved server bootstrapping (#63640)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="19.2.15"></a>

    Open source →
  22. 18.2.1326 Nov 2024
    Release notes

    <a name="18.2.13"></a>

    18.2.13 (2024-11-26)

    migrations

    Commit Description
    take care of tests that import both HttpClientModule & HttpClientTestingModule. (#58777)
    Open source →
    Additional notes

    migrations

    Commit Type Description
    06d70a25ea fix take care of tests that import both HttpClientModule & HttpClientTestingModule. (#58777)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="19.0.1"></a>

    Open source →
  23. 18.2.1214 Nov 2024
    Release notes

    <a name="18.2.12"></a>

    18.2.12 (2024-11-14)

    compiler-cli

    Commit Description
    correct extraction of generics from type aliases (#58548)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    4c38160853 fix correct extraction of generics from type aliases (#58548)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.11"></a>

    Open source →
  24. 18.2.116 Nov 2024
    Release notes

    <a name="18.2.11"></a>

    18.2.11 (2024-11-06)

    core

    Commit Description
    avoid slow stringification when checking for duplicates in dev mode (#58521)
    resolve forward-referenced host directives during directive matching (#58492) (#58500)
    Open source →
    Additional notes

    core

    Commit Type Description
    5f2d98a1b1 fix avoid slow stringification when checking for duplicates in dev mode (#58521)
    3aa45a2fa1 fix resolve forward-referenced host directives during directive matching (#58492) (#58500)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.10"></a>

    Open source →
  25. 18.2.1030 Oct 2024
    Release notes

    <a name="18.2.10"></a>

    18.2.10 (2024-10-30)

    compiler

    Commit Description
    transform pseudo selectors correctly for the encapsulated view. (#58417)

    localize

    Commit Description
    Adding arb format to the list of valid formats in the localization extractor cli (#58287)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    69dce38e778 fix transform pseudo selectors correctly for the encapsulated view. (#58417)

    localize

    Commit Type Description
    3b989ac5bd9 fix Adding arb format to the list of valid formats in the localization extractor cli (#58287)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.9"></a>

    Open source →
  26. 18.2.923 Oct 2024
    Release notes

    <a name="18.2.9"></a>

    18.2.9 (2024-10-23)

    compiler-cli

    Commit Description
    report when NgModule imports or exports itself (#58231)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    b0ab653965 fix report when NgModule imports or exports itself (#58231)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.8"></a>

    Open source →
  27. 18.2.810 Oct 2024
    Release notes

    <a name="18.2.8"></a>

    18.2.8 (2024-10-10)

    compiler

    Commit Description
    add multiple :host and nested selectors support (#57796)
    allow combinators inside pseudo selectors (#57796)
    fix comment typo (#57796)
    fix parsing of the :host-context with pseudo selectors (#57796)
    preserve attributes attached to :host selector (#57796)
    scope :host-context inside pseudo selectors, do not decrease specificity (#57796)
    transform pseudo selectors correctly for the encapsulated view (#57796)

    compiler-cli

    Commit Description
    defer symbols only used in types (#58104)

    core

    Commit Description
    clean up afterRender after it is executed (#58119)

    platform-server

    Commit Description
    destroy PlatformRef when error happens during the bootstrap() phase (#58112) (#58135)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    11692c8dab fix add multiple :host and nested selectors support (#57796)
    66dcc691f5 fix allow combinators inside pseudo selectors (#57796)
    48a1437e77 fix fix comment typo (#57796)
    d325f9b55f fix fix parsing of the :host-context with pseudo selectors (#57796)
    aea747ab3b fix preserve attributes attached to :host selector (#57796)
    21be258be6 fix scope :host-context inside pseudo selectors, do not decrease specificity (#57796)
    7a6fd427d5 fix transform pseudo selectors correctly for the encapsulated view (#57796)

    compiler-cli

    Commit Type Description
    f187c3abf8 fix defer symbols only used in types (#58104)

    core

    Commit Type Description
    46bafb0b0a fix clean up afterRender after it is executed (#58119)

    platform-server

    Commit Type Description
    b40875a2cc fix destroy PlatformRef when error happens during the bootstrap() phase (#58112) (#58135)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.7"></a>

    Open source →
  28. 18.2.72 Oct 2024
    Release notes

    <a name="18.2.7"></a>

    18.2.7 (2024-10-02)

    common

    Commit Description
    execute checks and remove placeholder when image is already loaded (#55444)
    prevent warning about oversize image twice (#58021)
    skip checking whether SVGs are oversized (#57966)

    compiler-cli

    Commit Description
    correctly get the type of nested function call expressions (#57010)

    core

    Commit Description
    provide flag to opt into manual cleanup for after render hooks (#57917)

    http

    Commit Description
    cleanup JSONP script listeners once loading completed (#57877)

    migrations

    Commit Description
    delete constructor if it only has super call (#58013)

    upgrade

    Commit Description
    support input signal bindings (#57020)
    Open source →
    Additional notes

    common

    Commit Type Description
    249d0260f9 fix execute checks and remove placeholder when image is already loaded (#55444)
    46a2ad39f5 fix prevent warning about oversize image twice (#58021)
    8f2b0ede59 fix skip checking whether SVGs are oversized (#57966)

    compiler-cli

    Commit Type Description
    901c1e1a7f fix correctly get the type of nested function call expressions (#57010)

    core

    Commit Type Description
    2f347ef8fc fix provide flag to opt into manual cleanup for after render hooks (#57917)

    http

    Commit Type Description
    ca637fe6a9 fix cleanup JSONP script listeners once loading completed (#57877)

    migrations

    Commit Type Description
    b9d846dad7 fix delete constructor if it only has super call (#58013)

    upgrade

    Commit Type Description
    e40a4fa3c7 fix support input signal bindings (#57020)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.6"></a>

    Open source →
  29. 18.2.625 Sept 2024
    Release notes

    <a name="18.2.6"></a>

    18.2.6 (2024-09-25)

    Open source →
    Additional notes

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.5"></a>

    Open source →
  30. 18.2.518 Sept 2024
    Release notes

    <a name="18.2.5"></a>

    18.2.5 (2024-09-18)

    compiler-cli

    Commit Description
    extended diagnostics not validating ICUs (#57845)

    core

    Commit Description
    Handle @let declaration with array when preparingForHydration (#57816)

    migrations

    Commit Description
    account for explicit standalone: false in migration (#57803)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    e685ed883a fix extended diagnostics not validating ICUs (#57845)

    core

    Commit Type Description
    76709d5d6e fix Handle @let declaration with array when preparingForHydration (#57816)

    migrations

    Commit Type Description
    5c866942a1 fix account for explicit standalone: false in migration (#57803)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.4"></a>

    Open source →
  31. 18.2.411 Sept 2024
    Release notes

    <a name="18.2.4"></a>

    18.2.4 (2024-09-11)

    compiler

    Commit Description
    produce less noisy errors when parsing control flow (#57711)

    migrations

    Commit Description
    replace leftover modules with their exports during pruning (#57684)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    b619d6987e fix produce less noisy errors when parsing control flow (#57711)

    migrations

    Commit Type Description
    9895e4492f fix replace leftover modules with their exports during pruning (#57684)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.3"></a>

    Open source →
  32. 18.2.34 Sept 2024
    Release notes

    <a name="18.2.3"></a>

    18.2.3 (2024-09-04)

    http

    Commit Description
    Dynamicaly call the global fetch implementation (#57531)
    Open source →
    Additional notes

    http

    Commit Type Description
    de68e049e4 fix Dynamicaly call the global fetch implementation (#57531)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.2"></a>

    Open source →
  33. 18.2.228 Aug 2024
    Release notes

    <a name="18.2.2"></a>

    18.2.2 (2024-08-28)

    core

    Commit Description
    avoid leaking memory if component throws during creation (#57546)
    Do not bubble capture events. (#57476)

    http

    Commit Description
    Dynamicaly call the global fetch implementation (#57531)

    router

    Commit Description
    Do not unnecessarily run matcher twice on route matching (#57530)

    upgrade

    Commit Description
    Address Trusted Types violations in @angular/upgrade (#57454)
    Open source →
    Additional notes

    core

    Commit Type Description
    106917af878 fix avoid leaking memory if component throws during creation (#57546)
    6d3a2af146a fix Do not bubble capture events. (#57476)

    http

    Commit Type Description
    5d2e243c76a fix Dynamicaly call the global fetch implementation (#57531)

    router

    Commit Type Description
    804925b1149 fix Do not unnecessarily run matcher twice on route matching (#57530)

    upgrade

    Commit Type Description
    03ec620e31a fix Address Trusted Types violations in @angular/upgrade (#57454)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.1"></a>

    Open source →
  34. 18.2.122 Aug 2024
    Release notes

    <a name="18.2.1"></a>

    18.2.1 (2024-08-22)

    core

    Commit Description
    Allow zoneless scheduler to run inside fakeAsync (#56932)
    handle hydration of components that project content conditionally (#57383)

    migrations

    Commit Description
    account for members with doc strings and no modifiers (#57389)
    avoid migrating route component in tests (#57317)
    preserve type when using inject decorator (#57389)
    Open source →
    Additional notes

    core

    Commit Type Description
    9de30a7b1c fix Allow zoneless scheduler to run inside fakeAsync (#56932)
    286012fb89 fix handle hydration of components that project content conditionally (#57383)

    migrations

    Commit Type Description
    0bb649b8fa fix account for members with doc strings and no modifiers (#57389)
    3b63082384 fix avoid migrating route component in tests (#57317)
    6b4357fae4 fix preserve type when using inject decorator (#57389)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.2.0"></a>

    Open source →
  35. 18.2.014 Aug 2024
    Release notes

    <a name="18.2.0"></a>

    18.2.0 (2024-08-14)

    compiler

    Commit Description
    Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295)

    compiler-cli

    Commit Description
    run JIT transform on classes with jit: true opt-out (#56892)
    add warning for unused let declarations (#57033)
    emitting references to ngtypecheck files (#57138)
    extended diagnostic visitor not visiting template attributes (#57033)
    run JIT transforms on @NgModule classes with jit: true (#57212)

    core

    Commit Description
    Add 'flush' parameter option to fakeAsync to flush after the test (#57239)
    add ng generate schematic to convert to inject (#57056)
    Add whenStable helper on ApplicationRef (#57190)
    bootstrapModule can configure NgZone in providers (#57060)
    Allow hybrid CD scheduling to support multiple "Angular zones" (#57267)
    Deprecate ignoreChangesOutsideZone option (#57029)
    Do not run image performance warning checks on server (#57234)
    handle shorthand assignment in the inject migration (#57134)
    rename the equality function option in toSignal (#56769)
    warnings for oversized images and lazy-lcp present with bootstrapModule (#57060)

    language-service

    Commit Description
    support writing code refactorings (#56895)
    quick exit if no code fixes can exist (#57000)

    migrations

    Commit Description
    add migration to convert standalone component routes to be lazy loaded (#56428)
    account for parameters with union types (#57127)
    add alias to inject migration (#57127)
    avoid duplicating comments when generating properties (#57367)
    preserve optional parameters (#57367)
    remove generic arguments from the injected type reference (#57127)
    remove unused imports in inject migration (#57179)
    unwrap injected forwardRef (#57127)
    speed up signal input migration by combining two analyze phases (#57318)

    router

    Commit Description
    Add defaultQueryParamsHandling to router configuration (#57198)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    c8e2885136 feat Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295)

    compiler-cli

    Commit Type Description
    98ed5b609e feat run JIT transform on classes with jit: true opt-out (#56892)
    c76b440ac0 fix add warning for unused let declarations (#57033)
    0f0a1f2836 fix emitting references to ngtypecheck files (#57138)
    6c2fbda694 fix extended diagnostic visitor not visiting template attributes (#57033)
    e11c0c42d2 fix run JIT transforms on @NgModule classes with jit: true (#57212)

    core

    Commit Type Description
    f7918f5272 feat Add 'flush' parameter option to fakeAsync to flush after the test (#57239)
    fab673a1dd feat add ng generate schematic to convert to inject (#57056)
    7919982063 feat Add whenStable helper on ApplicationRef (#57190)
    3459289ef0 feat bootstrapModule can configure NgZone in providers (#57060)
    296216cbe1 fix Allow hybrid CD scheduling to support multiple "Angular zones" (#57267)
    8718abce90 fix Deprecate ignoreChangesOutsideZone option (#57029)
    827070e331 fix Do not run image performance warning checks on server (#57234)
    ca89ef9141 fix handle shorthand assignment in the inject migration (#57134)
    5dcdbfcba9 fix rename the equality function option in toSignal (#56769)
    2a4f488a6c fix warnings for oversized images and lazy-lcp present with bootstrapModule (#57060)

    language-service

    Commit Type Description
    4bb558ab0c feat support writing code refactorings (#56895)
    7663debce1 perf quick exit if no code fixes can exist (#57000)

    migrations

    Commit Type Description
    147eee4253 feat add migration to convert standalone component routes to be lazy loaded (#56428)
    cb442a0ce7 fix account for parameters with union types (#57127)
    166166d79e fix add alias to inject migration (#57127)
    b1a9d0f4de fix avoid duplicating comments when generating properties (#57367)
    5d76401ff5 fix preserve optional parameters (#57367)
    1cf616f671 fix remove generic arguments from the injected type reference (#57127)
    ba0df30ef6 fix remove unused imports in inject migration (#57179)
    aae9646a1b fix unwrap injected forwardRef (#57127)
    604270619a perf speed up signal input migration by combining two analyze phases (#57318)

    router

    Commit Type Description
    6c76c91e15 feat Add defaultQueryParamsHandling to router configuration (#57198)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.1.5"></a>

    Open source →
  36. 18.2.0-rc.07 Aug 2024pre-release
    Release notes

    <a name="18.2.0-rc.0"></a>

    18.2.0-rc.0 (2024-08-07)

    compiler

    Commit Description
    reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Description
    improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291)

    core

    Commit Description
    Add 'flush' parameter option to fakeAsync to flush after the test (#57239)
    Add whenStable helper on ApplicationRef (#57190)

    Breaking Changes

    zone.js

    • fakeAsync will now flush pending timers at the end of the given function by default. To opt-out of this, you can use {flush: false} in options parameter of fakeAsync
    Open source →
  37. 18.2.0-next.45 Aug 2024pre-release
    Release notes

    <a name="18.2.0-next.4"></a>

    18.2.0-next.4 (2024-08-05)

    compiler-cli

    Commit Description
    support JIT transforms before other transforms modifying classes (#57262)

    core

    Commit Description
    Do not run image performance warning checks on server (#57234)

    language-service

    Commit Description
    avoid generating TS suggestion diagnostics for templates (#56241)

    router

    Commit Description
    Add defaultQueryParamsHandling to router configuration (#57198)
    Open source →
  38. 18.2.0-next.331 Jul 2024pre-release
    Release notes

    <a name="18.2.0-next.3"></a>

    18.2.0-next.3 (2024-07-31)

    compiler

    Commit Description
    reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Description
    emitting references to ngtypecheck files (#57138)
    run JIT transforms on @NgModule classes with jit: true (#57212)

    core

    Commit Description
    bootstrapModule can configure NgZone in providers (#57060)
    errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993)
    handle shorthand assignment in the inject migration (#57134)
    hydration error in some let declaration setups (#57173)
    warnings for oversized images and lazy-lcp present with bootstrapModule (#57060)

    migrations

    Commit Description
    add migration to convert standalone component routes to be lazy loaded (#56428)
    account for parameters with union types (#57127)
    add alias to inject migration (#57127)
    remove generic arguments from the injected type reference (#57127)
    remove unused imports in inject migration (#57179)
    unwrap injected forwardRef (#57127)
    Open source →
  39. 18.2.0-next.224 Jul 2024pre-release
    Release notes

    <a name="18.2.0-next.2"></a>

    18.2.0-next.2 (2024-07-24)

    compiler

    Commit Description
    limit the number of chained instructions (#57069)

    compiler-cli

    Commit Description
    add warning for unused let declarations (#57033)
    add warning for unused let declarations (#57033)
    extended diagnostic visitor not visiting template attributes (#57033)

    core

    Commit Description
    add ng generate schematic to convert to inject (#57056)
    afterNextRender hooks return that callback value. (#57031)
    Deprecate ignoreChangesOutsideZone option (#57029)
    tree shake dev mode error message (#57035)
    Open source →
  40. 18.2.0-next.117 Jul 2024pre-release
    Release notes

    <a name="18.2.0-next.1"></a>

    18.2.0-next.1 (2024-07-17)

    common

    Commit Description
    Don't run preconnect assertion on the server. (#56213)

    compiler

    Commit Description
    JIT mode incorrectly interpreting host directive configuration in partial compilation (#57002)
    use strict equality for 'code' comparison (#56944)

    compiler-cli

    Commit Description
    run JIT transform on classes with jit: true opt-out (#56892)
    avoid emitting references to typecheck files in TS 5.4 (#56961)

    core

    Commit Description
    not all callbacks running when registered at the same time (#56981)

    language-service

    Commit Description
    support writing code refactorings (#56895)
    quick exit if no code fixes can exist (#57000)

    migrations

    Commit Description
    fix common module removal (#56968)
    Open source →
  41. 18.2.0-next.010 Jul 2024pre-release
    Release notes

    <a name="18.2.0-next.0"></a>

    18.2.0-next.0 (2024-07-10)

    compiler

    Commit Description
    Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295) (#56295)

    core

    Commit Description
    rename the equality function option in toSignal (#56769)
    Open source →
  42. 18.1.514 Aug 2024
    Release notes

    <a name="18.1.5"></a>

    18.1.5 (2024-08-14)

    compiler-cli

    Commit Description
    generate valid TS 5.6 type checking code (#57303)

    core

    Commit Description
    Account for addEventListener to be passed a Window or Document. (#57282)
    Account for addEventListener to be passed a Window or Document. (#57354)
    complete post-hydration cleanup in components that use ViewContainerRef (#57300)
    skip hydration for i18n nodes that were not projected (#57356)
    take skip hydration flag into account while hydrating i18n blocks (#57299)
    Open source →
    Additional notes

    compiler-cli

    Commit Type Description
    5401332b0e fix generate valid TS 5.6 type checking code (#57303)

    core

    Commit Type Description
    e39b22a932 fix Account for addEventListener to be passed a Window or Document. (#57282)
    db65bc25ca fix Account for addEventListener to be passed a Window or Document. (#57354)
    0e024ecc27 fix complete post-hydration cleanup in components that use ViewContainerRef (#57300)
    822db64b93 fix skip hydration for i18n nodes that were not projected (#57356)
    810f76f574 fix take skip hydration flag into account while hydrating i18n blocks (#57299)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.1.4"></a>

    Open source →
  43. 18.1.47 Aug 2024
    Release notes

    <a name="18.1.4"></a>

    18.1.4 (2024-08-07)

    compiler

    Commit Description
    reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Description
    support JIT transforms before other transforms modifying classes (#57262)
    improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291)

    language-service

    Commit Description
    avoid generating TS suggestion diagnostics for templates (#56241)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    6a99f83659 fix reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Type Description
    afb05ff1cb fix support JIT transforms before other transforms modifying classes (#57262)
    bae54a1621 perf improve performance of interpolatedSignalNotInvoked extended diagnostic (#57291)

    language-service

    Commit Type Description
    6ac209c24f fix avoid generating TS suggestion diagnostics for templates (#56241)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.1.3"></a>

    Open source →
  44. 18.1.331 Jul 2024
    Release notes

    <a name="18.1.3"></a>

    18.1.3 (2024-07-31)

    compiler

    Commit Description
    reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Description
    emitting references to ngtypecheck files (#57138) (#57202)

    core

    Commit Description
    errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993)
    hydration error in some let declaration setups (#57173)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    31dea066d6 fix reduce chance of conflicts between generated factory and local variables (#57181)

    compiler-cli

    Commit Type Description
    1f9e090910 fix emitting references to ngtypecheck files (#57138) (#57202)

    core

    Commit Type Description
    f7ab04018e fix errors during ApplicationRef.tick should be rethrown for zoneless tests (#56993)
    eaa83f9d27 fix hydration error in some let declaration setups (#57173)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.1.2"></a>

    Open source →
  45. 18.1.224 Jul 2024
    Release notes

    <a name="18.1.2"></a>

    18.1.2 (2024-07-24)

    compiler

    Commit Description
    limit the number of chained instructions (#57069)

    compiler-cli

    Commit Description
    add warning for unused let declarations (#57033)

    core

    Commit Description
    afterNextRender hooks return that callback value. (#57031)
    tree shake dev mode error message (#57035)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    463945003d fix limit the number of chained instructions (#57069)

    compiler-cli

    Commit Type Description
    e904f34020 fix add warning for unused let declarations (#57033)

    core

    Commit Type Description
    9e52c1c840 fix afterNextRender hooks return that callback value. (#57031)
    b9fb98c67c fix tree shake dev mode error message (#57035)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.1.1"></a>

    Open source →
  46. 18.1.117 Jul 2024
    Release notes

    <a name="18.1.1"></a>

    18.1.1 (2024-07-17)

    common

    Commit Description
    Don't run preconnect assertion on the server. (#56213)

    compiler

    Commit Description
    JIT mode incorrectly interpreting host directive configuration in partial compilation (#57002)
    use strict equality for 'code' comparison (#56944)

    compiler-cli

    Commit Description
    avoid emitting references to typecheck files in TS 5.4 (#56961)

    core

    Commit Description
    not all callbacks running when registered at the same time (#56981)

    migrations

    Commit Description
    fix common module removal (#56968)
    Open source →
    Additional notes

    common

    Commit Type Description
    a1cb9dfc0d fix Don't run preconnect assertion on the server. (#56213)

    compiler

    Commit Type Description
    daf0317bdc fix JIT mode incorrectly interpreting host directive configuration in partial compilation (#57002)
    d7dca6dbb6 fix use strict equality for 'code' comparison (#56944)

    compiler-cli

    Commit Type Description
    c94a897248 fix avoid emitting references to typecheck files in TS 5.4 (#56961)

    core

    Commit Type Description
    5682527d94 fix not all callbacks running when registered at the same time (#56981)

    migrations

    Commit Type Description
    b666d2c20f fix fix common module removal (#56968)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="17.3.12"></a>

    Open source →
  47. 18.1.010 Jul 2024
    Release notes

    <a name="18.1.0"></a>

    18.1.0 (2024-07-10)

    common

    Commit Description
    typo in NgOptimizedImage warning (#56756)
    typo in warning for NgOptimizedDirective (#56817)

    compiler

    Commit Description
    Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295)
    allow more characters in let declaration name (#56764)
    give precedence to local let declarations over parent ones (#56752)

    compiler-cli

    Commit Description
    avoid duplicate diagnostics for let declarations read before definition (#56843)
    flag all conflicts between let declarations and local symbols (#56752)
    Show template syntax errors in local compilation modified (#55855)
    type check let declarations nested inside nodes (#56752)
    used before declared diagnostic not firing for control flow blocks (#56843)

    core

    Commit Description
    Add a schematic to migrate afterRender phase flag (#55648)
    add equality function to rxjs-interop toSignal (#56447)
    add support for let syntax (#56715)
    expose signal input metadata in ComponentMirror (#56402)
    Redesign the afterRender & afterNextRender phases API (#55648)
    support TypeScript 5.5 (#56096)
    Add back phase flag option as a deprecated API (#55648)
    improve docs on afterRender hooks (#56522)
    link errors to ADEV (#55554) (#56038)
    properly remove imports in the afterRender phase migration (#56524)
    rename the equality function option in toSignal (#56769) (#56922)
    toSignal equal option should be passed to inner computed (#56903)

    forms

    Commit Description
    Make NgControlStatus host bindings OnPush compatible (#55720)

    http

    Commit Description
    Make Content-Type header case insensitive (#56541)

    language-service

    Commit Description
    autocompletion for the component not imported (#55595)
    import the default exported component correctly (#56432)

    router

    Commit Description
    Allow UrlTree as an input to routerLink (#56265)
    Set a different browser URL from the one for route matching (#53318)
    Open source →
    Additional notes

    common

    Commit Type Description
    f25653e231 fix typo in NgOptimizedImage warning (#56756)
    9b35726e42 fix typo in warning for NgOptimizedDirective (#56817)

    compiler

    Commit Type Description
    fd6cd0422d feat Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295)
    341a116d61 fix allow more characters in let declaration name (#56764)
    2a1291e942 fix give precedence to local let declarations over parent ones (#56752)

    compiler-cli

    Commit Type Description
    66e582551e fix avoid duplicate diagnostics for let declarations read before definition (#56843)
    4d18c5bfd5 fix flag all conflicts between let declarations and local symbols (#56752)
    9e21582456 fix Show template syntax errors in local compilation modified (#55855)
    5996502921 fix type check let declarations nested inside nodes (#56752)
    cdebf751e4 fix used before declared diagnostic not firing for control flow blocks (#56843)

    core

    Commit Type Description
    ea3c802056 feat Add a schematic to migrate afterRender phase flag (#55648)
    5df3e78c99 feat add equality function to rxjs-interop toSignal (#56447)
    0a48d584f2 feat add support for let syntax (#56715)
    352e0782ec feat expose signal input metadata in ComponentMirror (#56402)
    a655e46447 feat Redesign the afterRender & afterNextRender phases API (#55648)
    e5a6f91722 feat support TypeScript 5.5 (#56096)
    38effcc63e fix Add back phase flag option as a deprecated API (#55648)
    86bcfd3e49 fix improve docs on afterRender hooks (#56522)
    b2445a0953 fix link errors to ADEV (#55554) (#56038)
    03a2acd2a3 fix properly remove imports in the afterRender phase migration (#56524)
    4d87b9e899 fix rename the equality function option in toSignal (#56769) (#56922)
    8bd4c074af fix toSignal equal option should be passed to inner computed (#56903)

    forms

    Commit Type Description
    00bde8b1c2 fix Make NgControlStatus host bindings OnPush compatible (#55720)

    http

    Commit Type Description
    cc21989132 fix Make Content-Type header case insensitive (#56541)

    language-service

    Commit Type Description
    b400e2e4d4 feat autocompletion for the component not imported (#55595)
    67b2c336bc fix import the default exported component correctly (#56432)

    router

    Commit Type Description
    a13f5da773 feat Allow UrlTree as an input to routerLink (#56265)
    1d3a7529b4 feat Set a different browser URL from the one for route matching (#53318)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.7"></a>

    Open source →
  48. 18.1.0-rc.01 Jul 2024pre-release
    Release notes

    <a name="18.1.0-rc.0"></a>

    18.1.0-rc.0 (2024-07-01)

    common

    Commit Description
    Don't run preconnect assertion on the server. (#56213)
    typo in NgOptimizedImage warning (#56756)

    compiler

    Commit Description
    Add extended diagnostic to warn when there are uncalled functions in event bindings (#56295)
    allow more characters in let declaration name (#56764)
    give precedence to local let declarations over parent ones (#56752)

    compiler-cli

    Commit Description
    flag all conflicts between let declarations and local symbols (#56752)
    type check let declarations nested inside nodes (#56752)
    Open source →
  49. 18.1.0-next.427 Jun 2024pre-release
    Release notes

    <a name="18.1.0-next.4"></a>

    18.1.0-next.4 (2024-06-26)

    core

    Commit Description
    add support for let syntax (#56715)
    improve support for i18n hydration of projected content (#56192)
    prevent calling devMode only function on @defer error. (#56559)

    http

    Commit Description
    Make Content-Type header case insensitive (#56541)
    Open source →
  50. 18.1.0-next.320 Jun 2024pre-release
    Release notes

    <a name="18.1.0-next.3"></a>

    18.1.0-next.3 (2024-06-20)

    compiler-cli

    Commit Description
    insert constant statements after the first group of imports (#56431)

    core

    Commit Description
    add equality function to rxjs-interop toSignal (#56447)
    expose signal input metadata in ComponentMirror (#56402)
    do not activate event replay when no events are registered (#56509)
    improve docs on afterRender hooks (#56522)
    properly remove imports in the afterRender phase migration (#56524)

    forms

    Commit Description
    Make NgControlStatus host bindings OnPush compatible (#55720)

    language-service

    Commit Description
    import the default exported component correctly (#56432)

    router

    Commit Description
    Set a different browser URL from the one for route matching (#53318)
    Delay the view transition to ensure renders in microtasks complete (#56494)
    Open source →
  51. 18.1.0-next.212 Jun 2024pre-release

    Nothing published for this version

  52. 18.1.0-next.15 Jun 2024pre-release

    Nothing published for this version

  53. 18.1.0-next.029 May 2024pre-release

    Nothing published for this version

  54. 18.0.710 Jul 2024
    Release notes

    <a name="18.0.7"></a>

    18.0.7 (2024-07-10)

    compiler

    Commit Description
    fix CSS animation rule scope (#56800)

    http

    Commit Description
    execute fetch outside of Angular zone (#56820)

    migrations

    Commit Description
    Fix cf migration let condition semicolon order (#56913)
    Open source →
    Additional notes

    compiler

    Commit Type Description
    85f77b5cda fix fix CSS animation rule scope (#56800)

    http

    Commit Type Description
    95d7076d1a perf execute fetch outside of Angular zone (#56820)

    migrations

    Commit Type Description
    d6fff45e73 fix Fix cf migration let condition semicolon order (#56913)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.6"></a>

    Open source →
  55. 18.0.63 Jul 2024
    Release notes

    <a name="18.0.6"></a>

    18.0.6 (2024-07-03)

    common

    Commit Description
    Don't run preconnect assertion on the server. (#56213)

    core

    Commit Description
    establish proper defer injector hierarchy for components attached to ApplicationRef (#56763)
    support injection of object with null constructor. (#56553)

    router

    Commit Description
    routes should not get stale providers (#56798)
    Open source →
    Additional notes

    common

    Commit Type Description
    a55719f55e fix Don't run preconnect assertion on the server. (#56213)

    core

    Commit Type Description
    4909844805 fix establish proper defer injector hierarchy for components attached to ApplicationRef (#56763)
    fec5b80aaf fix support injection of object with null constructor. (#56553)

    router

    Commit Type Description
    b7d3ecc873 fix routes should not get stale providers (#56798)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.5"></a>

    Open source →
  56. 18.0.527 Jun 2024
    Release notes

    <a name="18.0.5"></a>

    18.0.5 (2024-06-26)

    core

    Commit Description
    improve docs on afterRender hooks (#56525)
    improve support for i18n hydration of projected content (#56192)
    prevent calling devMode only function on @defer error. (#56559)
    Open source →
    Additional notes

    core

    Commit Type Description
    2f73281dfd fix improve docs on afterRender hooks (#56525)
    be9e4892f9 fix improve support for i18n hydration of projected content (#56192)
    5f9bd5521e fix prevent calling devMode only function on @defer error. (#56559)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.4"></a>

    Open source →
  57. 18.0.420 Jun 2024
    Release notes

    compiler-cli

    Commit Type Description
    ec0d1bf6f3 fix insert constant statements after the first group of imports (#56431)

    core

    Commit Type Description
    83ffa94783 fix do not activate event replay when no events are registered (#56509)

    router

    Commit Type Description
    5578681da2 fix Delay the view transition to ensure renders in microtasks complete (#56494)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.3"></a>

    Open source →
  58. 18.0.312 Jun 2024
    Release notes

    benchpress

    Commit Type Description
    ebf00aa0659 fix adjust supported browser names for headless chrome (#56360)

    core

    Commit Type Description
    dbd0fa00f8c fix async EventEmitter should contribute to app stability (#56308)
    625ca3e2b3f fix signals should be tracked when embeddedViewRef.detectChanges is called (#55719)

    localize

    Commit Type Description
    d6dd3dbdb09 fix add @angular/localize/init as polyfill in angular.json (#56300)

    migrations

    Commit Type Description
    c07e1b33569 fix resolve error in standalone migration (#56302)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.2"></a>

    Open source →
  59. 18.0.25 Jun 2024
    Release notes

    core

    Commit Type Description
    78cf9bfc0e fix Do not migrate HttpClientModule imports on components. (#56067)
    616cdef474 fix don't coerce all producers to consumers on liveness change (#56140)
    2a440e1064 fix Fix shouldPreventDefaultBeforeDispatching bug (#56188)
    290a47d842 fix handle missing withI18nSupport() call for components that use i18n blocks (#56175)

    migrations

    Commit Type Description
    b70b80ba55 fix do not generate aliased variables with the same name (#56154)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="18.0.1"></a>

    Open source →
  60. 18.0.129 May 2024
    Release notes

    compiler

    Commit Type Description
    419ffa2026 fix optimize track function that only passes $index (#55872)

    compiler-cli

    Commit Type Description
    4c7efc005a fix interpolatedSignalNotInvoked diagnostic for class, style, attribute and animation bindings (#55969)

    core

    Commit Type Description
    4e6ea0e19c fix handle elements with local refs in event replay serialization logic (#56076)
    d73a0175cb fix link errors to ADEV (#55554)
    985a215b10 fix typo in zoneless warning (#55974)

    migrations

    Commit Type Description
    ba85d08158 fix handle empty ngSwitchCase (#56105)

    <!-- CHANGELOG SPLIT MARKER -->

    <a name="17.3.10"></a>

    Open source →