angular v14.0.0-next.5 Release Notes

Release Date: 2022-03-02 // about 2 years ago
  • 💥 Breaking Changes

    router

    • The type of Route.pathMatch is now more strict. Places that use ⚡️ pathMatch will likely need to be updated to have an explicit Route/Routes type so that TypeScript does not infer the type as string.

    • Previously, resolvers were waiting to be completed before proceeding with the navigation and the Router would take the last value emitted from the resolver. The router now takes only the first emitted value by the resolvers and then proceeds with navigation. This is now consistent with Observables returned by other guards: only the first value is used.

      common

      Commit Type Description
      7671a1e40d fix canceled JSONP requests won't throw console error with missing callback function (#36807)
      05d50b849b perf make NgLocalization token tree-shakable (#45118)

      core

      Commit Type Description
      69018c9f42 feat allow for injector to be specified when creating an embedded view (#45156)
      ⚡️ c5df474c7c fix
      88f1168506 perf only track LViews that are referenced in ngContext (#45172)

      forms

      Commit Type Description
      7ee121f595 feat Add untyped versions of the model classes for use in migration. (#45205)

      localize

      Commit Type Description
      📦 ca5603b09b fix

      router

      Commit Type Description
      7fd416d060 fix Fix type of Route.pathMatch to be more accurate (#45176)
      🔨 c9679760b2 refactor

      Special Thanks

      Andrew Kushnir, Andrew Scott, Charles Lyding, Dmitrij Kuba, Dylan Hunn, Guillaume Bonnet, Jessica Janiuk, JiaLiPassion, JoostK, Kristiyan Kostadinov, Martin Sikora, Paul Gschwendtner, Theodore Brown and dario-piotrowicz

    <!-- CHANGELOG SPLIT MARKER -->