Skip to content

Releases: angular/angular

21.0.0-next.3

10 Sep 15:12
Compare
Choose a tag to compare
21.0.0-next.3 Pre-release
Pre-release

Commit Description
fix - ef025880cc remove refresh button from transfer state tab (#63592)

compiler-cli

Commit Description
feat - 0571b335b9 enable type checking of host bindings by default (#63654)

core

Commit Description
feat - 28926ba92c introduce BootstrapContext for improved server bootstrapping (#63562)
fix - c0791e1887 drop support for TypeScript 5.8 (#63589)

migrations

Commit Description
fix - 655a99d0c6 fix bug in ngclass-to-class migration (#63617)

Breaking Changes

compiler-cli

    • Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set "typeCheckHostBindings": false in the angularCompilerOptions section of your tsconfig.

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.

    • TypeScript versions less than 5.9 are no longer supported.

20.3.0-rc.0

10 Sep 14:57
Compare
Choose a tag to compare

Commit Description
fix - a3f808d7c8 remove refresh button from transfer state tab (#63592)

core

Commit Description
feat - 6117ccee2e introduce BootstrapContext for improved server bootstrapping (#63636)

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 8bf80c9)

20.3.0

10 Sep 15:02
Compare
Choose a tag to compare

Commit Description
fix - a3f808d7c8 remove refresh button from transfer state tab (#63592)

core

Commit Description
feat - 6117ccee2e introduce BootstrapContext for improved server bootstrapping (#63636)

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 8bf80c9)

19.2.15

10 Sep 18:08
Compare
Choose a tag to compare

core

Commit Description
fix - 70d0639bc1 introduce BootstrapContext for improved server bootstrapping (#63639)

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.

18.2.14

10 Sep 18:48
Compare
Choose a tag to compare

core

Commit Description
fix - 9d1fb33f5e 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.

    (cherry picked from commit 8bf80c9)

21.0.0-next.2

03 Sep 19:45
Compare
Choose a tag to compare
21.0.0-next.2 Pre-release
Pre-release

common

Commit Description
feat - c795960ada Add experimental support for the Navigation API (#63406)

compiler

Commit Description
fix - 0a82138d4b fixes regression with event parsing and animate prefix (#63470)

core

Commit Description
fix - 538de86a72 avoid injecting internal error handler from a destroyed injector (#62275)
fix - d399d7d02b Explicit Zone CD in TestBed providers should not override TestBed error handler (#63404)
fix - ed3d1f246b Fix cancellation of animation enter classes (#63442)
fix - 06f4fd4456 Fixed inject migration schematics for migrate destructured properties (#62832)
fix - 9ae9875384 Prevent an error on cleanup when an rxResource stream threw before returning an Observable (#63342)
fix - 92e09adc0a Remove ignoreChangesOutsideZone option (#62700)

forms

Commit Description
feat - b8314bd340 add experimental signal-based forms (#63408)
fix - 10ef96adb3 consistent treatment of empty (#63456)

http

Commit Description
feat - 07e678872f Add reponseType property to HttpResponse and HttpErrorResponse (#63043)

platform-browser

Commit Description
refactor - ce8db665f9 remove deprecated ApplicationConfig export (#63529)

platform-server

Commit Description
fix - ee73dc9553 prevent false warning for duplicate state serialization (#63525)

router

Commit Description
fix - 5b53535dd1 Update recognize stage to use internally async/await (#62994)

upgrade

Commit Description
fix - f86846555b Remove deprecated UpgradeAdapter (#61659)

Breaking Changes

common

  • (test only) - TestBed now provides a fake PlatformLocation
    implementation that supports the Navigation API. This may break some
    tests, though we have not observed any failures internally. You can revert to the
    old default for TestBed by providing the MockPlatformLocation from
    @angular/common/testing in your providers:
    {provide: PlatformLocation, useClass: MockPlatformLocation}

core

  • (test only) - Using provideZoneChangeDetection in the
    TestBed providers would previously prevent TestBed from rethrowing
    errors as it should. Errors in the test will now be rethrown, regardless
    of the usage of provideZoneChangeDetection. Tests should be adjusted to
    prevent or account for these errors. As in previous major versions,
    this behavior can be disabled with rethrowApplicationErrors: false in
    configureTestingModule as a last resort.
  • ignoreChangesOutsideZone is no longer available as an
    option for configuring ZoneJS change detection behavior.

platform-browser

  • The deprecated ApplicationConfig export from @angular/platform-browser has been removed.
    Please import ApplicationConfig from @angular/core instead.

router

  • Router navigations may take several additional
    microtasks to complete. Tests have been found to often be highly
    dependent on the exact timing of navigation completions with respect to
    the microtask queue. The most common fix for tests is to ensure all
    navigations have been completed before making assertions. On rare
    occasions, this can also affect production applications. This can be
    caused by multiple subscriptions to router state throughout the application,
    both of which trigger navigations that happened to not conflict with the
    previous timing.

upgrade

  • UpgradeAdapter is no longer available. Use
    upgrade/static instead

20.2.4

03 Sep 19:36
Compare
Choose a tag to compare

core

Commit Description
fix - dc64f3e478 Fixed inject migration schematics for migrate destructured properties (#62832)

platform-server

Commit Description
fix - d1d32db972 prevent false warning for duplicate state serialization (#63525)

20.2.3

29 Aug 12:33
Compare
Choose a tag to compare

compiler

Commit Description
fix - 479a919f42 fixes regression with event parsing and animate prefix (#63470)

core

Commit Description
fix - f87fad3fff avoid injecting internal error handler from a destroyed injector (#62275)
fix - 114906d2d6 Fix cancellation of animation enter classes (#63442)
fix - 596b545130 Prevent an error on cleanup when an rxResource stream threw before returning an Observable (#63342)

21.0.0-next.1

27 Aug 18:00
Compare
Choose a tag to compare
21.0.0-next.1 Pre-release
Pre-release

common

Commit Description
refactor - 25f593ce2a removengModuleFactory input of NgComponentOutlet (#62838)

compiler

Commit Description
fix - a0388409e3 fixes animations on elements with structural directives (#63390)
fix - 827c3c15f4 Keep paraenthesis in Nullish + Boolean expression. (#63292)

core

Commit Description
fix - 37ead5ffb5 Ensures @for loop animations never get cancelled (#63328)
fix - 18c9352d21 fix memory leak with leaving nodes tracking (#63328)
fix - 9139fe0d95 Fixes animate.leave binding to a string with spaces (#63366)

forms

Commit Description
feat - 0dd95c503f Add FormArrayDirective (#55880)

migrations

Commit Description
feat - 6ddb250391 add migration to convert ngClass to use class (#62983)

Breaking Changes

common

  • NgModuleFactory has been removed, use NgModule instead.

forms

  • This new directive will conflict with existing FormArray directives or formArray inputs on the same element.

20.2.2

27 Aug 17:53
Compare
Choose a tag to compare

compiler

Commit Description
fix - d7b6045d61 fixes animations on elements with structural directives (#63390)

core

Commit Description
fix - 6c421ed65d Ensures @for loop animations never get cancelled (#63328)
fix - 9093e0e132 fix memory leak with leaving nodes tracking (#63328)
fix - c8f07daf8f Fixes animate.leave binding to a string with spaces (#63366)