@angular/core
4.5/51.6K

@angular/core

npm i @angular/core

657 Versions

15.2.0-next.2

next
4 days ago

15.2.0-next.2 (2023-01-25) compiler
CommitDescription
handle css selectors with space after an escaped character. (#48558)
compiler-cli
CommitDescription
resolve deprecation warning (#48812)
core
CommitDescription
add ng generate schematic to convert declarations to standalone (#48790)
add ng generate schematic to remove unnecessary modules (#48832)
router
CommitDescription
'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734)
Special Thanks

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


15.1.2

latest
4 days ago

15.1.2 (2023-01-25) compiler
CommitDescription
handle css selectors with space after an escaped character. (#48558)
compiler-cli
CommitDescription
resolve deprecation warning (#48812)
router
CommitDescription
'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734)
Special Thanks

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


15.2.0-next.1

11 days ago

15.2.0-next.1 (2023-01-18) Deprecations
  • Class and InjectionToken guards and resolvers are deprecated. Instead, write guards as plain JavaScript functions and inject dependencies with inject from @angular/core.
CommitDescription
Deprecate class and InjectionToken and resolvers (#47924)
common
CommitDescription
Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48489)
avoid excessive DOM mutation in NgClass (#48433)
core
CommitDescription
makeEnvironmentProviders should accept EnvironmentProviders (#48720)
language-service
CommitDescription
Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354)
Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354)
Special Thanks

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


15.1.1

11 days ago

15.1.1 (2023-01-18) common
CommitDescription
Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48489)
avoid excessive DOM mutation in NgClass (#48433)
core
CommitDescription
makeEnvironmentProviders should accept EnvironmentProviders (#48720)
Special Thanks

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


15.2.0-next.0

18 days ago

15.2.0-next.0 (2023-01-11) router
CommitDescription
Add a withNavigationErrorHandler feature to provideRouter (#48551)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Scott, Paul Gschwendtner and angular-robot[bot]


15.1.0

19 days ago

15.1.0 (2023-01-10) Deprecations router
  • CanLoad guards in the Router are deprecated. Use CanMatch instead.

  • router writable properties

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

    • routeReuseStrategy
    • titleStrategy
    • urlHandlingStrategy

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

    • onSameUrlNavigation
    • paramsInheritanceStrategy
    • urlUpdateStrategy
    • canceledNavigationResolution

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

    • malformedUriErrorHandler - This was found to not be used anywhere internally.
    • errorHandler - Developers can instead subscribe to Router.events and filter for NavigationError.
common
CommitDescription
Add BrowserPlatformLocation to the public API (#48488)
Add data attribtue to NgOptimizedImage (#48497)
compiler
CommitDescription
allow self-closing tags on custom elements (#48535)
resolve deprecation warning (#48652)
type-only symbols incorrectly retained when downlevelling custom decorators (#48638)
compiler-cli
CommitDescription
update @babel/core dependency and lock version (#48634)
core
CommitDescription
Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
Make the isStandalone() function available in public API (#48114)
support TypeScript 4.9 (#48005)
forms
CommitDescription
Form provider FormsModule.withConfig return a FormsModule (#48526)
language-service
CommitDescription
Allow auto-imports to suggest multiple possible imports. (#47787)
expose package.json for vscode extension resolution (#48678)
Prevent crashes on unemitable references (#47938)
ship /api entry-point (#48670)
update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663)
localize
CommitDescription
add triple slash type reference on @angular/localize on `ng add (#48502)
migrations
CommitDescription
combine newly-added imports in import manager (#48620)
router
CommitDescription
Deprecate canLoad guards in favor of canMatch (#48180)
Deprecate public members of Router that are meant to be configured elsewhere (#48006)
Add ability to override onSameUrlNavigation default per-navigation (#48050)
Add feature provider for enabling hash navigation (#48301)
Add new NavigationSkipped event for ignored navigations (#48024)
page refresh should not destroy history state (#48540)
Special Thanks

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


15.1.0-rc.0

24 days ago

15.1.0-rc.0 (2023-01-05) common
CommitDescription
Add data attribtue to NgOptimizedImage (#48497)
compiler
CommitDescription
allow self-closing tags on custom elements (#48535)
type-only symbols incorrectly retained when downlevelling custom decorators (#48638)
compiler-cli
CommitDescription
update @babel/core dependency and lock version (#48634)
localize
CommitDescription
add triple slash type reference on @angular/localize on `ng add (#48502)
migrations
CommitDescription
combine newly-added imports in import manager (#48620)
Special Thanks

Alan Agius, Alex Castle, Andrew Kushnir, Derek Cormier, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Renan Ferro, Vadim, ced, mgechev, piyush132000 and robertIsaac


15.1.0-next.3

2 months ago

15.1.0-next.3 (2022-12-14) animations
CommitDescription
fix incorrect handling of camel-case css properties (#48436)
common
CommitDescription
Add BrowserPlatformLocation to the public API (#48488)
Fix TestBed.overrideProvider type to include multi (#48424)
Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48394)
compiler-cli
CommitDescription
evaluate const tuple types statically (#48091)
router
CommitDescription
Add feature provider for enabling hash navigation (#48301)
Special Thanks

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


15.0.4

2 months ago

15.0.4 (2022-12-14) animations
CommitDescription
fix incorrect handling of camel-case css properties (#48436)
common
CommitDescription
Fix TestBed.overrideProvider type to include multi (#48424)
Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48394)
compiler-cli
CommitDescription
evaluate const tuple types statically (#48091)
Special Thanks

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


15.1.0-next.2

2 months ago

15.1.0-next.2 (2022-12-07) common
CommitDescription
Don't generate srcsets with very large sources (#47997)
Update Location to support base href containing origin (#48327)
compiler
CommitDescription
make sure selectors inside container queries are correctly scoped (#48353)
compiler-cli
CommitDescription
Produce diagnostic rather than crash when using invalid hostDirective (#48314)
core
CommitDescription
Make the isStandalone() function available in public API (#48114)
support TypeScript 4.9 (#48005)
unable to inject ChangeDetectorRef inside host directives (#48355)
Special Thanks

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


15.0.3

2 months ago

15.0.3 (2022-12-07) common
CommitDescription
Don't generate srcsets with very large sources (#47997)
Update Location to support base href containing origin (#48327)
compiler
CommitDescription
make sure selectors inside container queries are correctly scoped (#48353)
compiler-cli
CommitDescription
Produce diagnostic rather than crash when using invalid hostDirective (#48314)
core
CommitDescription
unable to inject ChangeDetectorRef inside host directives (#48355)
Special Thanks

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


15.1.0-next.1

2 months ago

15.1.0-next.1 (2022-11-30) Deprecations router
  • CanLoad guards in the Router are deprecated. Use CanMatch instead.
compiler-cli
CommitDescription
accept inheriting the constructor from a class in a library (#48156)
router
CommitDescription
Deprecate canLoad guards in favor of canMatch (#48180)
Add ability to override onSameUrlNavigation default per-navigation (#48050)
Special Thanks

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


15.0.2

2 months ago

15.0.2 (2022-11-30) compiler-cli
CommitDescription
accept inheriting the constructor from a class in a library (#48156)
Special Thanks

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


15.0.1

2 months ago

15.0.1 (2022-11-22) common
CommitDescription
Fix MockPlatformLocation events and missing onPopState implementation (#48113)
forms
CommitDescription
don't mutate validators array (#47830)
FormBuilder.group return right type with shorthand parameters. (#48084)
language-service
CommitDescription
correctly handle host directive inputs/outputs (#48147)
update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120)
router
CommitDescription
correct type of nextState parameter in canDeactivate (#48038)
Ensure renavigating in component init works with enabledBlocking (#48063)
restore 'history.state' on popstate even if navigationId missing (#48033)
Special Thanks

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


15.1.0-next.0

2 months ago

15.1.0-next.0 (2022-11-22) Deprecations router
  • router writable properties

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

    • routeReuseStrategy
    • titleStrategy
    • urlHandlingStrategy

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

    • onSameUrlNavigation
    • paramsInheritanceStrategy
    • urlUpdateStrategy
    • canceledNavigationResolution

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

    • malformedUriErrorHandler - This was found to not be used anywhere internally.
    • errorHandler - Developers can instead subscribe to Router.events and filter for NavigationError.
common
CommitDescription
Fix MockPlatformLocation events and missing onPopState implementation (#48113)
core
CommitDescription
Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
forms
CommitDescription
don't mutate validators array (#47830)
FormBuilder.group return right type with shorthand parameters. (#48084)
language-service
CommitDescription
Allow auto-imports to suggest multiple possible imports. (#47787)
correctly handle host directive inputs/outputs (#48147)
Prevent crashes on unemitable references (#47938)
update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120)
router
CommitDescription
Deprecate public members of Router that are meant to be configured elsewhere (#48006)
Add new NavigationSkipped event for ignored navigations (#48024)
correct type of nextState parameter in canDeactivate (#48038)
Ensure renavigating in component init works with enabledBlocking (#48063)
restore 'history.state' on popstate even if navigationId missing (#48033)
Special Thanks

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


12.2.17

v12-lts
2 months ago

12.2.17 (2022-11-22) Breaking Changes core
  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
CommitDescription
hardening attribute and property binding rules for elements
Special Thanks

Andrew Kushnir, Joey Perrott and Paul Gschwendtner


13.3.12

v13-lts
2 months ago

13.3.12 (2022-11-21) Breaking Changes core
  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
CommitDescription
hardening attribute and property binding rules for elements (#48029)
Special Thanks

Andrew Kushnir, Andrew Scott, George Looshch, Joey Perrott and Paul Gschwendtner


14.2.12

v14-lts
2 months ago

14.2.12 (2022-11-21) Breaking Changes core
  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
CommitDescription
hardening attribute and property binding rules for elements (#48028)
Special Thanks

Andrew Kushnir


15.0.0

2 months ago

15.0.0 (2022-11-16) Breaking Changes compiler
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
compiler-cli
  • Invalid constructors for DI may now report compilation errors

    When a class inherits its constructor from a base class, the compiler may now report an error when that constructor cannot be used for DI purposes. This may either be because the base class is missing an Angular decorator such as @Injectable() or @Directive(), or because the constructor contains parameters which do not have an associated token (such as primitive types like string). These situations used to behave unexpectedly at runtime, where the class may be constructed without any of its constructor parameters, so this is now reported as an error during compilation.

    Any new errors that may be reported because of this change can be resolved either by decorating the base class from which the constructor is inherited, or by adding an explicit constructor to the class for which the error is reported.

  • Angular compiler option enableIvy has been removed as Ivy is the only rendering engine.

core
  • Angular no longer supports Node.js versions 14.[15-19].x and 16.[10-12].x. Current supported versions of Node.js are 14.20.x, 16.13.x and 18.10.x.
  • TypeScript versions older than 4.8 are no longer supported.
  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
  • Existing iframe usages may have src or srcdoc preceding other attributes. Such usages may need to be updated to ensure compliance with the new stricter rules around iframe bindings.
forms
  • setDisabledState will always be called when a ControlValueAccessor is attached. You can opt-out with FormsModule.withConfig or ReactiveFormsModule.withConfig.
localize
    • canParse method has been removed from all translation parsers in @angular/localize/tools. analyze should be used instead.
    • the hint parameter in theparse methods is now mandatory.
router
  • Previously, the RouterOutlet would immediately instantiate the component being activated during navigation. Now the component is not instantiated until the change detection runs. This could affect tests which do not trigger change detection after a router navigation. In rarer cases, this can affect production code that relies on the exact timing of component availability.
  • The title property is now required on ActivatedRouteSnapshot
  • relativeLinkResolution is no longer configurable in the Router. This option was used as a means to opt out of a bug fix.
Deprecations common
  • The DATE_PIPE_DEFAULT_TIMEZONE token is now deprecated in favor of the DATE_PIPE_DEFAULT_OPTIONS token, which accepts an object as a value and the timezone can be defined as a field (called timezone) on that object.
core
    • The ability to pass an NgModule to the providedIn option for @Injectable and InjectionToken is now deprecated.

    providedIn: NgModule was intended to be a tree-shakable alternative to NgModule providers. It does not have wide usage, and in most cases is used incorrectly, in circumstances where providedIn: 'root' should be preferred. If providers should truly be scoped to a specific NgModule, use NgModule.providers instead.

    • The ability to set providedIn: 'any' for an @Injectable or InjectionToken is now deprecated.

    providedIn: 'any' is an option with confusing semantics and is almost never used apart from a handful of esoteric cases internal to the framework.

  • The bit field signature of Injector.get() has been deprecated, in favor of the new options object.

  • The bit field signature of TestBed.inject() has been deprecated, in favor of the new options object.

router
  • The RouterLinkWithHref directive is deprecated, use the RouterLink directive instead. The RouterLink contains the code from the RouterLinkWithHref to handle elements with href attributes.
common
CommitDescription
add provideLocationMocks() function to provide Location mocks (#47674)
add preload tag on server for priority img (#47343)
Add automatic srcset generation to ngOptimizedImage (#47547)
Add fill mode to NgOptimizedImage (#47738)
add injection token for default DatePipe configuration (#47157)
Add fetchpriority to ngOptimizedImage preloads (#48010)
don't generate srcset if noopImageLoader is used (#47804)
Don't warn about image distortion is fill mode is enabled (#47824)
export the IMAGE_CONFIG token (#48051)
fix formatting on oversized image error (#47188)
rename rawSrc -> ngSrc in NgOptimizedImage directive (#47362)
support density descriptors with 2+ decimals (#47197)
update size error to mention 'fill' mode (#47797)
warn if using supported CDN but not built-in loader (#47330)
Warn on fill ngOptimizedImage without height (#48036)
compiler
CommitDescription
scope css keyframes in emulated view encapsulation (#42608)
update element schema (#47552)
update element schema (#47552)
compiler-cli
CommitDescription
exclude abstract classes from strictInjectionParameters requirement (#44615)
implement more host directive validations as diagnostics (#47768)
support hasInvalidatedResolutions. (#47585)
use @ts-ignore. (#47636)
cache source file for reporting type-checking diagnostics (#47471)
remove enableIvy options (#47346)
core
CommitDescription
deprecate providedIn: NgModule and providedIn: 'any' (#47616)
add support for Node.js version 18 (#47730)
drop support for TypeScript 4.6 and 4.7 (#47690)
enable the new directive composition API (#47642)
introduce EnvironmentProviders wrapper type (#47669)
support object-based DI flags in Injector.get() (#46761)
support object-based DI flags in TestBed.inject() (#46761)
allow readonly arrays for standalone imports (#47851)
hardening attribute and property binding rules for elements (#47964)
hardening rules related to the attribute order on iframe elements (#47935)
update isDevMode to rely on ngDevMode (#47475)
forms
CommitDescription
export forms utility functions: isFormArray, isFormGroup… (#47718)
call setDisabledState on ControlValueAcessor when control is enabled (#47576)
don't mutate validators array (#47830)
Improve a very commonly viewed error message by adding a guide. (#47969)
Runtime error pages must begin with leading zero (#47991)
http
CommitDescription
allow for child HttpClients to request via parents (#47502)
introduce provideHttpClientTesting provider function (#47502)
introduce functional interceptors (#47502)
introduce the provideHttpClient() API (#47502)
better handle unexpected undefined XSRF tokens (#47683)
rename withLegacyInterceptors to withInterceptorsFromDi (#47901)
language-service
CommitDescription
Quick fix to import a component when its selector is used (#47088)
support to fix invalid banana in box (#47393)
localize
CommitDescription
add polyfill in polyfills array instead of polyfills.ts (#47569)
update ng add schematic to support Angular CLI version 15 (#47763)
remove deprecated canParse method from TranslationParsers (#47275)
platform-server
CommitDescription
align server renderer interface with base renderer (#47868)
router
CommitDescription
add a migration to remove relativeLinkResolution usages (#47604)
Add UrlTree constructor to public API (#47186)
auto-unwrap default exports when lazy loading (#47586)
make RouterOutlet name an Input so it can be set dynamically (#46569)
merge RouterLinkWithHref into RouterLink (#47630)
migrate RouterLinkWithHref references to RouterLink (#47599)
prevent provideRouter() from usage in @Component (#47669)
Delay router scroll event until navigated components have rendered (#47563)
Ensure ActivatedRouteSnapshot#title has correct value (#47481)
Remove deprecated relativeLinkResolution (#47623)
Special Thanks

Alan Agius, AleksanderBodurri, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Charles Lyding, Dylan Hunn, Ferdinand Malcher, George Kalpakas, Jeremy Elbourn, Jessica Janiuk, JiaLiPassion, Joey Perrott, JoostK, Kara Erickson, Kristiyan Kostadinov, Martin Probst, Matthias Weiß, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Sabareesh Kappagantu, WD Snoeijer, angular-robot[bot], arturovt, ced, dario-piotrowicz, ivanwonder and jaybell


14.2.11

2 months ago

14.2.11 (2022-11-16) router
CommitDescription
Ensure renavigating in component init works with enabledBlocking (#48066)
Special Thanks

Alan Agius, Andrew Scott and Mujo Osmanovic


15.0.0-rc.4

2 months ago

15.0.0-rc.4 (2022-11-14) common
CommitDescription
Add fetchpriority to ngOptimizedImage preloads (#48010)
export the IMAGE_CONFIG token (#48051)
Warn on fill ngOptimizedImage without height (#48036)
Special Thanks

Alan Agius, Alex Castle, Andrew Kushnir, Mujo Osmanovic and ced


15.0.0-rc.3

3 months ago

15.0.0-rc.3 (2022-11-09) Breaking Changes core
  • Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
CommitDescription
add zone.js version 0.12.x as a valid peer dependency (#48002)
hardening attribute and property binding rules for elements (#47964)
forms
CommitDescription
Improve a very commonly viewed error message by adding a guide. (#47969)
Runtime error pages must begin with leading zero (#47991)
http
CommitDescription
rename withLegacyInterceptors to withInterceptorsFromDi (#47901)
router
CommitDescription
fix redirectTo on named outlets - resolves #33783 (#47927)
Special Thanks

Alan Agius, Albert Szekely, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Doug Parker, Dylan Hunn, Kristiyan Kostadinov, Markus Eckstein, Matthieu Riegler, Paul Gschwendtner, Peter Scriven and abergquist


14.2.10

3 months ago

14.2.10 (2022-11-09) core
CommitDescription
add zone.js version 0.12.x as a valid peer dependency (#48002)
router
CommitDescription
fix redirectTo on named outlets - resolves #33783 (#47927)
Special Thanks

Alan Agius, Albert Szekely, Andrew Scott, Doug Parker, Kristiyan Kostadinov, Markus Eckstein, Peter Scriven and abergquist


15.0.0-rc.2

3 months ago

15.0.0-rc.2 (2022-11-04) Breaking Changes core
  • Existing iframe usages may have src or srcdoc preceding other attributes. Such usages may need to be updated to ensure compliance with the new stricter rules around iframe bindings.
core
CommitDescription
allow readonly arrays for standalone imports (#47851)
hardening rules related to the attribute order on iframe elements (#47935)
platform-browser
CommitDescription
resolve memory leak when using animations with shadow DOM (#47903)
platform-server
CommitDescription
call onSerialize when state is empty (#47888)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Charles Lyding, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Virginia Dooley and mgechev


14.2.9

3 months ago

14.2.9 (2022-11-03) platform-browser
CommitDescription
resolve memory leak when using animations with shadow DOM (#47903)
platform-server
CommitDescription
call onSerialize when state is empty (#47888)
Special Thanks

Alan Agius, Kristiyan Kostadinov, Virginia Dooley and mgechev


15.0.0-rc.1

3 months ago

15.0.0-rc.1 (2022-10-26) common
CommitDescription
Don't warn about image distortion is fill mode is enabled (#47824)
forms
CommitDescription
don't mutate validators array (#47830)
platform-server
CommitDescription
align server renderer interface with base renderer (#47868)
Special Thanks

Alan Agius, Alex Castle, Andrew Scott, Balaji, George Kalpakas, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, WD Snoeijer, onrails and vyom1611


14.2.8

3 months ago

14.2.8 (2022-10-26) Special Thanks

Andrew Scott, Balaji, Paul Gschwendtner, WD Snoeijer, onrails and vyom1611


15.0.0-rc.0

3 months ago

15.0.0-rc.0 (2022-10-19) common
CommitDescription
don't generate srcset if noopImageLoader is used (#47804)
update size error to mention 'fill' mode (#47797)
warn if using supported CDN but not built-in loader (#47330)
compiler-cli
CommitDescription
implement more host directive validations as diagnostics (#47768)
localize
CommitDescription
update ng add schematic to support Angular CLI version 15 (#47763)
router
CommitDescription
Delay router scroll event until navigated components have rendered (#47563)
Special Thanks

Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Barnes, Charles Lyding, Kara Erickson, Kristiyan Kostadinov, Paul Gschwendtner, Virginia Dooley, WD Snoeijer, abergquist and urugator


14.2.7

3 months ago

14.2.7 (2022-10-19) Special Thanks

Bob Watson, Charles Barnes, Joey Perrott, Virginia Dooley, WD Snoeijer, abergquist and urugator


15.0.0-next.6

4 months ago

15.0.0-next.6 (2022-10-12) Breaking Changes compiler-cli
  • Invalid constructors for DI may now report compilation errors

    When a class inherits its constructor from a base class, the compiler may now report an error when that constructor cannot be used for DI purposes. This may either be because the base class is missing an Angular decorator such as @Injectable() or @Directive(), or because the constructor contains parameters which do not have an associated token (such as primitive types like string). These situations used to behave unexpectedly at runtime, where the class may be constructed without any of its constructor parameters, so this is now reported as an error during compilation.

    Any new errors that may be reported because of this change can be resolved either by decorating the base class from which the constructor is inherited, or by adding an explicit constructor to the class for which the error is reported.

core
  • Angular no longer supports Node.js versions 14.[15-19].x and 16.[10-12].x. Current supported versions of Node.js are 14.20.x, 16.13.x and 18.10.x.
  • TypeScript versions older than 4.8 are no longer supported.
forms
  • setDisabledState will always be called when a ControlValueAccessor is attached. You can opt-out with FormsModule.withConfig or ReactiveFormsModule.withConfig.
router
  • relativeLinkResolution is no longer configurable in the Router. This option was used as a means to opt out of a bug fix.
Deprecations common
  • The DATE_PIPE_DEFAULT_TIMEZONE token is now deprecated in favor of the DATE_PIPE_DEFAULT_OPTIONS token, which accepts an object as a value and the timezone can be defined as a field (called timezone) on that object.
router
  • The RouterLinkWithHref directive is deprecated, use the RouterLink directive instead. The RouterLink contains the code from the RouterLinkWithHref to handle elements with href attributes.
common
CommitDescription
add provideLocationMocks() function to provide Location mocks (#47674)
add preload tag on server for priority img (#47343)
Add automatic srcset generation to ngOptimizedImage (#47547)
Add fill mode to NgOptimizedImage (#47738)
add injection token for default DatePipe configuration (#47157)
compiler
CommitDescription
update element schema (#47552)
update element schema (#47552)
compiler-cli
CommitDescription
add missing period to error message (#47744)
exclude abstract classes from strictInjectionParameters requirement (#44615)
use @ts-ignore. (#47636)
minimize filesystem calls when generating shims (#47682)
core
CommitDescription
add support for Node.js version 18 (#47730)
drop support for TypeScript 4.6 and 4.7 (#47690)
enable the new directive composition API (#47642)
introduce EnvironmentProviders wrapper type (#47669)
forms
CommitDescription
export forms utility functions: isFormArray, isFormGroup… (#47718)
call setDisabledState on ControlValueAcessor when control is enabled (#47576)
http
CommitDescription
allow for child HttpClients to request via parents (#47502)
introduce provideHttpClientTesting provider function (#47502)
introduce functional interceptors (#47502)
introduce the provideHttpClient() API (#47502)
better handle unexpected undefined XSRF tokens (#47683)
language-service
CommitDescription
Quick fix to import a component when its selector is used (#47088)
router
CommitDescription
add a migration to remove relativeLinkResolution usages (#47604)
merge RouterLinkWithHref into RouterLink (#47630)
migrate RouterLinkWithHref references to RouterLink (#47599)
prevent provideRouter() from usage in @Component (#47669)
Remove deprecated relativeLinkResolution (#47623)
Special Thanks

Alan Agius, AleksanderBodurri, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, Charles Lyding, Dylan Hunn, Ferdinand Malcher, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Joshua Morony, Kristiyan Kostadinov, Martin Probst, Mathew Berg, Matthias Weiß, Paul Gschwendtner, Peter Dickten, Renan Ferro, Sri Ram, WD Snoeijer, arturovt, jaybell, markostanimirovic and Álvaro Martínez


14.2.6

4 months ago

14.2.6 (2022-10-12) compiler-cli
CommitDescription
add missing period to error message (#47744)
minimize filesystem calls when generating shims (#47682)
Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, Charles Lyding, Joey Perrott, Joshua Morony, Mathew Berg, Paul Gschwendtner, Peter Dickten, Renan Ferro, Sri Ram, WD Snoeijer, markostanimirovic and Álvaro Martínez


15.0.0-next.5

4 months ago

15.0.0-next.5 (2022-10-05) Breaking Changes compiler
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
router
  • Previously, the RouterOutlet would immediately instantiate the component being activated during navigation. Now the component is not instantiated until the change detection runs. This could affect tests which do not trigger change detection after a router navigation. In rarer cases, this can affect production code that relies on the exact timing of component availability.
Deprecations core
    • The ability to pass an NgModule to the providedIn option for @Injectable and InjectionToken is now deprecated.

    providedIn: NgModule was intended to be a tree-shakable alternative to NgModule providers. It does not have wide usage, and in most cases is used incorrectly, in circumstances where providedIn: 'root' should be preferred. If providers should truly be scoped to a specific NgModule, use NgModule.providers instead.

    • The ability to set providedIn: 'any' for an @Injectable or InjectionToken is now deprecated.

    providedIn: 'any' is an option with confusing semantics and is almost never used apart from a handful of esoteric cases internal to the framework.

compiler
CommitDescription
scope css keyframes in emulated view encapsulation (#42608)
compiler-cli
CommitDescription
support hasInvalidatedResolutions. (#47585)
core
CommitDescription
deprecate providedIn: NgModule and providedIn: 'any' (#47616)
localize
CommitDescription
add polyfill in polyfills array instead of polyfills.ts (#47569)
router
CommitDescription
auto-unwrap default exports when lazy loading (#47586)
make RouterOutlet name an Input so it can be set dynamically (#46569)
Special Thanks

Alan Agius, Alex Rickabaugh, Alexander Wiebe, Andrew Kushnir, Andrew Scott, Ciprian Sauliuc, Dmytro Mezhenskyi, Dylan Hunn, George Kalpakas, Joe Martin (Crowdstaffing), Jordan, Kristiyan Kostadinov, Martin Probst, Ole M, Paul Gschwendtner, Pawel Kozlowski, dario-piotrowicz and mgechev


14.2.5

4 months ago

14.2.5 (2022-10-05) Special Thanks

Alexander Wiebe, Ciprian Sauliuc, Dmytro Mezhenskyi, George Kalpakas, Joe Martin (Crowdstaffing), Jordan, Ole M, Paul Gschwendtner, Pawel Kozlowski and mgechev


15.0.0-next.4

4 months ago

15.0.0-next.4 (2022-09-28) Breaking Changes router
  • The title property is now required on ActivatedRouteSnapshot
Deprecations core
  • The bit field signature of Injector.get() has been deprecated, in favor of the new options object.
  • The bit field signature of TestBed.inject() has been deprecated, in favor of the new options object.
core
CommitDescription
support object-based DI flags in Injector.get() (#46761)
support object-based DI flags in TestBed.inject() (#46761)
correctly check for typeof of undefined in ngDevMode check (#47480)
update isDevMode to rely on ngDevMode (#47475)
language-service
CommitDescription
support to fix invalid banana in box (#47393)
router
CommitDescription
Ensure ActivatedRouteSnapshot#title has correct value (#47481)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Ashley Hunter, Doug Parker, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Rokas Brazdžionis, Simona Cotin and ivanwonder


14.2.4

4 months ago

14.2.4 (2022-09-28) compiler-cli
CommitDescription
cache source file for reporting type-checking diagnostics (#47508)
core
CommitDescription
correctly check for typeof of undefined in ngDevMode check (#47480)
Special Thanks

Alan Agius, Ashley Hunter, Doug Parker, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Rokas Brazdžionis and Simona Cotin


15.0.0-next.3

4 months ago

15.0.0-next.3 (2022-09-21) animations
CommitDescription
make sure that the useAnimation function delay is applied (#47468)
compiler-cli
CommitDescription
cache source file for reporting type-checking diagnostics (#47471)
Special Thanks

AleksanderBodurri, Andrew Kushnir, Andrew Scott, Bob Watson, George Kalpakas, JiaLiPassion, Joey Perrott, JoostK, Kristiyan Kostadinov, Mauro Mattos, Pawel Kozlowski, Sabareesh Kappagantu, angular-robot[bot], dario-piotrowicz, fabioemoutinho and famzila


14.2.3

4 months ago

14.2.3 (2022-09-21) animations
CommitDescription
make sure that the useAnimation function delay is applied (#47468)
Special Thanks

AleksanderBodurri, Andrew Kushnir, Andrew Scott, Bob Watson, George Kalpakas, Joey Perrott, Mauro Mattos, dario-piotrowicz, fabioemoutinho and famzila


15.0.0-next.2

4 months ago

15.0.0-next.2 (2022-09-14) animations
CommitDescription
make sure that the animation function delay is applied (#47285)
common
CommitDescription
rename rawSrc -> ngSrc in NgOptimizedImage directive (#47362)
core
CommitDescription
imply @Optional flag when a default value is provided (#47242)
forms
CommitDescription
don't prevent default behavior for forms with method="dialog" (#47308)
Special Thanks

Abhishek Rawat, Andrew Kushnir, Benjamin Chanudet, Bob Watson, Dylan Hunn, George Kalpakas, Ikko Ashimine, Joey Perrott, Kristiyan Kostadinov, Marc Wrobel, Mariia Subkov, Pawel Kozlowski, Sebastian, abergquist, dario-piotrowicz, onrails and vyom1611


14.2.2

4 months ago

14.2.2 (2022-09-14) animations
CommitDescription
make sure that the animation function delay is applied (#47285)
common
CommitDescription
rename rawSrc -> ngSrc in NgOptimizedImage directive (#47362) (#47396)
core
CommitDescription
imply @Optional flag when a default value is provided (#47242)
forms
CommitDescription
don't prevent default behavior for forms with method="dialog" (#47308)
Special Thanks

Abhishek Rawat, Andrew Kushnir, Benjamin Chanudet, Bob Watson, George Kalpakas, Ikko Ashimine, Kristiyan Kostadinov, Marc Wrobel, Mariia Subkov, Pawel Kozlowski, Sebastian, abergquist, dario-piotrowicz, onrails and vyom1611


15.0.0-next.1

5 months ago

15.0.0-next.1 (2022-09-07) Breaking Changes compiler-cli
  • Angular compiler option enableIvy has been removed as Ivy is the only rendering engine.
localize
    • canParse method has been removed from all translation parsers in @angular/localize/tools. analyze should be used instead.
    • the hint parameter in theparse methods is now mandatory.
common
CommitDescription
improve formatting of image warnings (#47299)
use DOCUMENT token to query for preconnect links (#47353)
compiler
CommitDescription
avoid errors for inputs with Object-builtin names (#47220)
compiler-cli
CommitDescription
remove enableIvy options (#47346)
localize
CommitDescription
remove deprecated canParse method from TranslationParsers (#47275)
service-worker
CommitDescription
include headers in requests for assets (#47260)
only consider GET requests as navigation requests (#47263)
Special Thanks

Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Asaf M, Bingo's Code, Bob Watson, Daniel Ostrovsky, George Kalpakas, Giovanni Alberto Rivas, Jeremy Elbourn, JiaLiPassion, Jobayer Hossain, Joe Martin (Crowdstaffing), Joey Perrott, JoostK, Kara Erickson, Kristiyan Kostadinov, Maina Wycliffe, Sabareesh Kappagantu, Simona Cotin, Sonu Sindhu, Yann Provoost, abergquist, angular-robot[bot], jaybell and vyom1611


14.2.1

5 months ago

14.2.1 (2022-09-07) common
CommitDescription
improve formatting of image warnings (#47299)
use DOCUMENT token to query for preconnect links (#47353)
compiler
CommitDescription
avoid errors for inputs with Object-builtin names (#47220)
service-worker
CommitDescription
include headers in requests for assets (#47260)
only consider GET requests as navigation requests (#47263)
Special Thanks

Aristeidis Bampakos, Asaf M, Bingo's Code, Bob Watson, Daniel Ostrovsky, George Kalpakas, Giovanni Alberto Rivas, Jeremy Elbourn, Jobayer Hossain, Joe Martin (Crowdstaffing), Joey Perrott, JoostK, Kara Erickson, Kristiyan Kostadinov, Maina Wycliffe, Sabareesh Kappagantu, Simona Cotin, Sonu Sindhu, Yann Provoost, abergquist, jaybell and vyom1611


15.0.0-next.0

5 months ago

15.0.0-next.0 (2022-08-25) common
CommitDescription
fix formatting on oversized image error (#47188)
support density descriptors with 2+ decimals (#47197)
router
CommitDescription
Add UrlTree constructor to public API (#47186)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Scott, Joey Perrott, Kara Erickson, Kristiyan Kostadinov and Pawel Kozlowski


14.2.0

5 months ago

14.2.0 (2022-08-25) animations
CommitDescription
fix stagger timing not handling params (#47208)
common
CommitDescription
add a density cap for image srcsets (#47082)
add built-in Imgix loader (#47082)
add cloudflare loader (#47082)
add Image directive skeleton (#45627) (#47082)
Add image lazy loading and fetchpriority (#47082)
add loaders for cloudinary & imagekit (#47082)
add loading attr to NgOptimizedImage (#47082)
add warnings re: image distortion (#47082)
define public API surface for NgOptimizedImage directive (#47082)
detect LCP images in NgOptimizedImage and assert if priority is set (#47082)
explain why width/height is required (#47082)
provide an ability to exclude origins from preconnect checks in NgOptimizedImage (#47082)
support custom srcset attributes in NgOptimizedImage (#47082)
verify that priority images have preconnect links (#47082)
warn if rendered size is much smaller than intrinsic (#47082)
allow null/undefined to be passed to ngClass input (#39280) (#46906)
allow null/undefined to be passed to ngStyle input (#47069)
avoid interacting with a destroyed injector (#47243)
consider density descriptors with multiple digits as valid (#47230)
detect data: and blob: inputs in NgOptimizedImage directive (#47082)
fix formatting on oversized image error (#47188) (#47232)
remove default for image width (#47082)
remove duplicate deepForEach (#47189)
sanitize rawSrc and rawSrcset values in NgOptimizedImage directive (#47082)
set bound width and height onto host element (#47082)
support density descriptors with 2+ decimals (#47197) (#47232)
throw if srcset is used with rawSrc (#47082)
monitor LCP only for images without priority attribute (#47082)
compiler-cli
CommitDescription
support more recent version of tsickle (#47018)
core
CommitDescription
add createComponent function (#46685)
add reflectComponentType function (#46685)
introduce createApplication API (#46475)
support TypeScript 4.8 (#47038)
align TestBed interfaces and implementation (#46635)
forms
CommitDescription
add FormBuilder.record() method (#46485)
Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034)
language-service
CommitDescription
support fix the component missing member (#46764)
platform-browser
CommitDescription
add isEmpty method to the TransferState class (#46915)
platform-server
CommitDescription
support document reference in render functions (#47032)
router
CommitDescription
allow guards and resolvers to be plain functions (#46684)
Create APIs for using Router without RouterModule (#47010)
expose resolved route title (#46826)
Expose the default matcher for Routes used by the Router (#46913)
improve typings for RouterLink boolean inputs (#47101)
Make router directives standalone (#46758)
Fix route recognition behavior with some versions of rxjs (#47098)
service-worker
CommitDescription
support sendRequest as a notificationclick action (#46912)
export NoNewVersionDetectedEvent (#47044)
update golden index.md (#47044)
Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Cédric Exbrayat, Dylan Hunn, Emmanuel Roux, FatalMerlin, George Kalpakas, Ilia Mirkin, Jan Kuehle, Jeremy Elbourn, Jessica Janiuk, JiaLiPassion, Kalbarczyk, Kara Erickson, Katie Hempenius, Kristiyan Kostadinov, Merlin, Paul Gschwendtner, Pawel Kozlowski, Tristan Sprößer, Victor Porof, angular-robot[bot], dario-piotrowicz, ivanwonder and vyom


14.2.0-rc.0

5 months ago

14.2.0-rc.0 (2022-08-17) common
CommitDescription
add a density cap for image srcsets (#47082)
add built-in Imgix loader (#47082)
add cloudflare loader (#47082)
add Image directive skeleton (#45627) (#47082)
Add image lazy loading and fetchpriority (#47082)
add loaders for cloudinary & imagekit (#47082)
add loading attr to NgOptimizedImage (#47082)
add warnings re: image distortion (#47082)
define public API surface for NgOptimizedImage directive (#47082)
detect LCP images in NgOptimizedImage and assert if priority is set (#47082)
explain why width/height is required (#47082)
provide an ability to exclude origins from preconnect checks in NgOptimizedImage (#47082)
support custom srcset attributes in NgOptimizedImage (#47082)
verify that priority images have preconnect links (#47082)
warn if rendered size is much smaller than intrinsic (#47082)
detect data: and blob: inputs in NgOptimizedImage directive (#47082)
remove default for image width (#47082)
sanitize rawSrc and rawSrcset values in NgOptimizedImage directive (#47082)
set bound width and height onto host element (#47082)
throw if srcset is used with rawSrc (#47082)
monitor LCP only for images without priority attribute (#47082)
compiler
CommitDescription
infinite loop in parser assignment expression with invalid left-hand expression (#47151)
core
CommitDescription
support TypeScript 4.8 (#47038)
forms
CommitDescription
Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034)
router
CommitDescription
Create APIs for using Router without RouterModule (#47010)
improve typings for RouterLink boolean inputs (#47101)
Special Thanks

AlirezaEbrahimkhani, Alma Eyre, Andrew Kushnir, Andrew Scott, Bob Watson, Dylan Hunn, Emmanuel Roux, George Kalpakas, Kalbarczyk, Kara Erickson, Katie Hempenius, Kristiyan Kostadinov, Leosvel Pérez Espinosa, Paul Gschwendtner, Pawel Kozlowski, Roman Matusevich and Sonu Kapoor


14.1.3

5 months ago

14.1.3 (2022-08-17) compiler
CommitDescription
infinite loop in parser assignment expression with invalid left-hand expression (#47151)
Special Thanks

AlirezaEbrahimkhani, Alma Eyre, Andrew Scott, Bob Watson, George Kalpakas, Kalbarczyk, Kristiyan Kostadinov, Leosvel Pérez Espinosa, Roman Matusevich and Sonu Kapoor


14.1.2

6 months ago

14.1.2 (2022-08-10) core
CommitDescription
check if transplanted views are attached to change detector (#46974)
router
CommitDescription
Fix route recognition behavior with some versions of rxjs (#47098) (#47112)
Special Thanks

4javier, Andrew Kushnir, Andrew Scott, AntonioCardenas, Bob Watson, Bruno Barbosa, Eduardo Speroni, Edward, George Kalpakas, Jan Melcher, Kristiyan Kostadinov, Mladen Jakovljević, Paul Gschwendtner, Pawel Kozlowski, Roman Matusevich, Vovch, ashide2729, ileil and onrails


14.2.0-next.1

6 months ago

14.2.0-next.1 (2022-08-10) common
CommitDescription
allow null/undefined to be passed to ngStyle input (#47069)
compiler-cli
CommitDescription
support more recent version of tsickle (#47018)
core
CommitDescription
check if transplanted views are attached to change detector (#46974)
platform-server
CommitDescription
support document reference in render functions (#47032)
router
CommitDescription
allow guards and resolvers to be plain functions (#46684)
Fix route recognition behavior with some versions of rxjs (#47098)
Special Thanks

4javier, Andrew Kushnir, Andrew Scott, AntonioCardenas, Bob Watson, Bruno Barbosa, Eduardo Speroni, Edward, George Kalpakas, Ilia Mirkin, Jan Melcher, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Mladen Jakovljević, Paul Gschwendtner, Pawel Kozlowski, Roman Matusevich, Victor Porof, Vovch, ashide2729, ileil and onrails


14.2.0-next.0

6 months ago

14.2.0-next.0 (2022-08-03) common
CommitDescription
allow null/undefined to be passed to ngClass input (#39280) (#46906)
core
CommitDescription
add createComponent function (#46685)
add reflectComponentType function (#46685)
introduce createApplication API (#46475)
align TestBed interfaces and implementation (#46635)
forms
CommitDescription
add FormBuilder.record() method (#46485)
language-service
CommitDescription
support fix the component missing member (#46764)
platform-browser
CommitDescription
add isEmpty method to the TransferState class (#46915)
router
CommitDescription
expose resolved route title (#46826)
Expose the default matcher for Routes used by the Router (#46913)
Make router directives standalone (#46758)
service-worker
CommitDescription
support sendRequest as a notificationclick action (#46912)
Special Thanks

Andrew Kushnir, Andrew Scott, Cédric Exbrayat, Emmanuel Roux, George Kalpakas, Ilia Mirkin, Jessica Janiuk, Paul Gschwendtner, Pawel Kozlowski, Tristan Sprößer, angular-robot[bot], dario-piotrowicz and ivanwonder


14.1.1

6 months ago

14.1.1 (2022-08-03) core
CommitDescription
improve the missing control flow directive message (#46903)
router
CommitDescription
Do not call preload method when not necessary (#47007)
Use correct return type for provideRoutes function (#46941)
Special Thanks

Alan Agius, Andrew Kushnir, Andrew Quinn, Andrew Scott, Aristeidis Bampakos, Asaf M, Bob Watson, Cédric Exbrayat, Durairaj Subramaniam, George Kalpakas, Ivaylo Kirov, J Rob Gant, Kristiyan Kostadinov, Marek Hám, Paul Gschwendtner, Roman Matusevich and Simona Cotin


14.1.0

6 months ago

14.1.0 (2022-07-20) Deprecations core
  • The createNgModuleRef is deprecated in favor of newly added createNgModule one.
  • The bit field signature of inject() has been deprecated, in favor of the new options object. Correspondingly, InjectFlags is deprecated as well.
animations
CommitDescription
add provideAnimations() and provideNoopAnimations() functions (#46793)
common
CommitDescription
make the CommonModule pipes standalone (#46401)
make the CommonModule directives standalone (#46469)
compiler
CommitDescription
Add extended diagnostic to warn when missing let on ngForOf (#46683)
Add extended diagnostic to warn when text attributes are intended to be bindings (#46161)
warn when style suffixes are used with attribute bindings (#46651)
compiler-cli
CommitDescription
add extended diagnostic for non-nullable optional chains (#46686)
detect missing control flow directive imports in standalone components (#46146)
improve the missingControlFlowDirective message (#46846)
core
CommitDescription
add createComponent function
add reflectComponentType function
add ability to set inputs on ComponentRef (#46641)
alias createNgModuleRef as createNgModule (#46789)
expose EnvironmentInjector on ApplicationRef (#46665)
import AsyncStackTaggingZone if available (#46693)
introduce EnvironmentInjector.runInContext API (#46653)
options object to supersede bit flags for inject() (#46649)
support the descendants option for ContentChild queries (#46638)
Fix runInContext for NgModuleRef injector (#46877)
make parent injector argument required in createEnvironmentInjector (#46397)
http
CommitDescription
improve error message for nullish header (#46059)
router
CommitDescription
Add ability to create UrlTree from any ActivatedRouteSnapshot (#45877)
Add CanMatch guard to control whether a Route should match (#46021)
Add stable cancelation code to NavigationCancel event (#46675)
Add the target RouterStateSnapshot to NavigationError (#46731)
allow to return UrlTree from CanMatchFn (#46455)
Ensure APP_INITIALIZER of enabledBlocking option completes (#46026)
Ensure Route injector is created before running CanMatch guards (#46394)
Ensure target RouterStateSnapshot is defined in NavigationError (#46842)
Expose CanMatchFn as public API (#46394)
Fix cancellation code for canLoad rejections (#46752)
upgrade
CommitDescription
more closely align UpgradeModule#bootstrap() with angular.bootstrap() (#46214)
Special Thanks

AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Cédric Exbrayat, Dmitrij Kuba, Dylan Hunn, George Kalpakas, Jessica Janiuk, JiaLiPassion, Joey Perrott, John Vandenberg, JoostK, Keith Li, Or'el Ben-Ya'ir, Paul Gschwendtner, Pawel Kozlowski, SyedAhm3r, arturovt, mariu, markostanimirovic and mgechev


14.0.7

6 months ago

14.0.7 (2022-07-20) animations
CommitDescription
make sure falsy values are added to _globalTimelineStyles (#46863)
compiler
CommitDescription
inputs/outputs incorrectly parsed in jit mode (#46813)
core
CommitDescription
do not invoke jasmine done callback multiple times with waitForAsync
Special Thanks

Andrew Kushnir, Andrew Scott, Bob Watson, Cédric Exbrayat, Doug Parker, George Kalpakas, Jessica Janiuk, Kristiyan Kostadinov, Paul Gschwendtner, acvi, dario-piotrowicz, jnizet and piyush132000


14.1.0-rc.0

7 months ago

14.1.0-rc.0 (2022-07-13) Deprecations core
  • The createNgModuleRef is deprecated in favor of newly added createNgModule one.
animations
CommitDescription
add provideAnimations() and provideNoopAnimations() functions (#46793)
compiler
CommitDescription
Add extended diagnostic to warn when missing let on ngForOf (#46683)
warn when style suffixes are used with attribute bindings (#46651)
compiler-cli
CommitDescription
add extended diagnostic for non-nullable optional chains (#46686)
only consider used pipes for inline type-check requirement (#46807)
core
CommitDescription
alias createNgModuleRef as createNgModule (#46789)
expose EnvironmentInjector on ApplicationRef (#46665)
import AsyncStackTaggingZone if available (#46693)
forms
CommitDescription
expose ControlConfig in public API (#46594)
Move all remaining errors in Forms to use RuntimeErrorCode. (#46654)
localize
CommitDescription
add --project option to ng-add schematic (#46664)
router
CommitDescription
Add the target RouterStateSnapshot to NavigationError (#46731)
Fix cancellation code for canLoad rejections (#46752)
Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Bob Watson, Dylan Hunn, George Kalpakas, Ivaylo Kirov, Jessica Janiuk, JiaLiPassion, John Vandenberg, JoostK, Joshua VanAllen, Lukas Matta, Marcin Wosinek, Nicolas Molina Monroy, Or'el Ben-Ya'ir, Paul Gschwendtner, Pawel Kozlowski, SoulsMark, Uday Sony, dario-piotrowicz, markostanimirovic and zhysky


14.0.6

7 months ago

14.0.6 (2022-07-13) compiler-cli
CommitDescription
only consider used pipes for inline type-check requirement (#46807)
forms
CommitDescription
expose ControlConfig in public API (#46594)
Move all remaining errors in Forms to use RuntimeErrorCode. (#46654)
localize
CommitDescription
add --project option to ng-add schematic (#46664)
Special Thanks

Alan Agius, Andrew Scott, Bob Watson, Dylan Hunn, George Kalpakas, Ivaylo Kirov, Jessica Janiuk, JoostK, Joshua VanAllen, Lukas Matta, Marcin Wosinek, Nicolas Molina Monroy, Paul Gschwendtner, SoulsMark, Uday Sony, dario-piotrowicz, markostanimirovic and zhysky


14.1.0-next.4

7 months ago

14.1.0-next.4 (2022-07-06) Deprecations core
  • The bit field signature of inject() has been deprecated, in favor of the new options object. Correspondingly, InjectFlags is deprecated as well.
compiler
CommitDescription
Add extended diagnostic to warn when text attributes are intended to be bindings (#46161)
core
CommitDescription
add ability to set inputs on ComponentRef (#46641)
introduce EnvironmentInjector.runInContext API (#46653)
options object to supersede bit flags for inject() (#46649)
support the descendants option for ContentChild queries (#46638)
router
CommitDescription
Add stable cancelation code to NavigationCancel event (#46675)
Ensure APP_INITIALIZER of enabledBlocking option completes (#46026)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Scott, Aristeidis Bampakos, Bob Watson, George Kalpakas, Paul Gschwendtner and Pawel Kozlowski


14.0.5

7 months ago

14.0.5 (2022-07-06) router
CommitDescription
Ensure APP_INITIALIZER of enabledBlocking option completes (#46634)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, George Kalpakas, Paul Gschwendtner and Pawel Kozlowski


14.1.0-next.3

7 months ago

14.1.0-next.3 (2022-06-29) animations
CommitDescription
cleanup DOM elements when the root view is removed (#45143)
enable shadowElements to leave when their parent does (#46459)
common
CommitDescription
make the CommonModule pipes standalone (#46401)
make the CommonModule directives standalone (#46469)
handle CSS custom properties in NgStyle (#46451)
core
CommitDescription
trigger ApplicationRef.destroy when Platform is destroyed (#46497)
Update ngfor error code to be negative (#46555)
Updates error to use RuntimeError code (#46526)
forms
CommitDescription
Convert existing reactive errors to use RuntimeErrorCode. (#46560)
Update a Forms validator error to use RuntimeError (#46537)
router
CommitDescription
Ensure that new RouterOutlet instances work after old ones are destroyed (#46554)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bezael, Chad Ramos, Chellappan, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Jeremy Meiss, Jessica Janiuk, Joey Perrott, KMathy, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Ramesh Thiruchelvam, Vaibhav Kumar, arturovt, dario-piotrowicz and renovate[bot]


14.0.4

7 months ago

14.0.4 (2022-06-29) animations
CommitDescription
cleanup DOM elements when the root view is removed (#45143)
enable shadowElements to leave when their parent does (#46459)
common
CommitDescription
handle CSS custom properties in NgStyle (#46451)
core
CommitDescription
trigger ApplicationRef.destroy when Platform is destroyed (#46497)
Update ngfor error code to be negative (#46555)
Updates error to use RuntimeError code (#46526)
forms
CommitDescription
Convert existing reactive errors to use RuntimeErrorCode. (#46560)
Update a Forms validator error to use RuntimeError (#46537)
router
CommitDescription
Ensure that new RouterOutlet instances work after old ones are destroyed (#46554)
Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bezael, Chad Ramos, Chellappan, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Jeremy Meiss, Jessica Janiuk, Joey Perrott, KMathy, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Ramesh Thiruchelvam, Vaibhav Kumar, arturovt, dario-piotrowicz and renovate[bot]


14.1.0-next.2

7 months ago

14.1.0-next.2 (2022-06-22) animations
CommitDescription
reset the start and done fns on player reset (#46364)
core
CommitDescription
deduplicate imports of standalone components in JIT compiler (#46439)
handle NgModules with standalone pipes in TestBed correctly (#46407)
make parent injector argument required in createEnvironmentInjector (#46397)
http
CommitDescription
improve error message for nullish header (#46059)
platform-server
CommitDescription
invalid style attribute being generated for null values (#46433)
router
CommitDescription
allow to return UrlTree from CanMatchFn (#46455)
Ensure Route injector is created before running CanMatch guards (#46394)
Expose CanMatchFn as public API (#46394)
Special Thanks

4javier, Aakash, Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Dany Paredes, Derek Cormier, Dmitrij Kuba, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Ramesh Thiruchelvam, arturovt, behrooz bozorg chami, dario-piotrowicz, markostanimirovic, renovate[bot] and web-dave


14.0.3

7 months ago

14.0.3 (2022-06-22) animations
CommitDescription
reset the start and done fns on player reset (#46364)
core
CommitDescription
deduplicate imports of standalone components in JIT compiler (#46439)
handle NgModules with standalone pipes in TestBed correctly (#46407)
platform-server
CommitDescription
invalid style attribute being generated for null values (#46433)
Special Thanks

4javier, Aakash, Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Dany Paredes, Derek Cormier, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Ramesh Thiruchelvam, behrooz bozorg chami, dario-piotrowicz, markostanimirovic, renovate[bot] and web-dave


14.1.0-next.1

7 months ago

14.1.0-next.1 (2022-06-15) common
CommitDescription
allow null in ngComponentOutlet (#46280)
compiler-cli
CommitDescription
detect missing control flow directive imports in standalone components (#46146)
don't emit empty providers array (#46301)
use inline type-check blocks for components outside rootDir (#46096)
core
CommitDescription
Resolve forwardRef declarations for jit (#46334)
router
CommitDescription
Add CanMatch guard to control whether a Route should match (#46021)
Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Badawi7, Daniel Schmitz, Derek Cormier, Jessica Janiuk, JiaLiPassion, JoostK, Kevin Davila, Kristiyan Kostadinov, Paul Draper, Paul Gschwendtner, Tom Eustace, Totati, Younes Jaaidi, alefra, dario-piotrowicz, markostanimirovic, mgechev, piyush132000, sten-bone and vivekkoya


14.0.2

7 months ago

14.0.2 (2022-06-15) common
CommitDescription
allow null in ngComponentOutlet (#46280)
compiler-cli
CommitDescription
don't emit empty providers array (#46301)
use inline type-check blocks for components outside rootDir (#46096)
core
CommitDescription
Resolve forwardRef declarations for jit (#46334)
Special Thanks

Alex Rickabaugh, Andrew Scott, Badawi7, Daniel Schmitz, Derek Cormier, JoostK, Kevin Davila, Kristiyan Kostadinov, Paul Draper, Paul Gschwendtner, Tom Eustace, Totati, Younes Jaaidi, alefra, dario-piotrowicz, markostanimirovic, mgechev, piyush132000, sten-bone and vivekkoya


14.1.0-next.0

8 months ago

14.1.0-next.0 (2022-06-08) router
CommitDescription
Add ability to create UrlTree from any ActivatedRouteSnapshot (#45877)
upgrade
CommitDescription
more closely align UpgradeModule#bootstrap() with angular.bootstrap() (#46214)
Special Thanks

AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, George Kalpakas, Jessica Janiuk, Joey Perrott, Keith Li, SyedAhm3r, mariu and mgechev


14.0.1

8 months ago

14.0.1 (2022-06-08) bazel
CommitDescription
update API extractor version (#46259)
reduce input files for ng_package rollup and type bundle actions (#46187)
forms
CommitDescription
allow FormBuilder.group(...) to accept optional fields. (#46253)
Special Thanks

Adrien Crivelli, Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dylan Hunn, Fabrizio Fallico, George Kalpakas, Jelle Bruisten, JoostK, Kristiyan Kostadinov, Krzysztof Platis, Paul Gschwendtner, Phalgun Vaddepalli, San Leen, dario-piotrowicz, mgechev and wellWINeo


14.0.0

8 months ago

14.0.0 (2022-06-02) Breaking Changes animations
  • The AnimationDriver.getParentElement method has become required, so any implementors of this interface are now required to provide an implementation for this method. This breakage is unlikely to affect application developers, as AnimationDriver is not expected to be implemented in user code.
common
  • Adds new required class member that any implementors of the LocationStrategy will need to satisfy. Location does not depend on PlatformLocation anymore.
compiler
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
core
  • Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.

  • TypeScript versions older than 4.6 are no longer supported.

  • Forms [email] input coercion

    Forms [email] input value will be considered as true if it is defined with any value rather than false and 'false'.

  • Since Ivy, TestBed doesn't use AOT summaries. The aotSummaries fields in TestBed APIs were present, but unused. The fields were deprecated in previous major version and in v14 those fields are removed. The aotSummaries fields were completely unused, so you can just drop them from the TestBed APIs usage.

forms
  • Forms classes accept a generic.

    Forms model classes now accept a generic type parameter. Untyped versions of these classes are available to opt-out of the new, stricter behavior.

  • objects with a length key set to zero will no longer validate as empty.

    This is technically a breaking change, since objects with a key length and value 0 will no longer validate as empty. This is a very minor change, and any reliance on this behavior is probably a bug anyway.

http
  • Queries including + will now actually query for + instead of space. Most workarounds involving custom codecs will be unaffected. Possible server-side workarounds will need to be undone.

  • JSONP will throw an error when headers are set on a reques

    JSONP does not support headers being set on requests. Before when a request was sent to a JSONP backend that had headers set the headers were ignored. The JSONP backend will now throw an error if it receives a request that has any headers set. Any uses of JSONP on requests with headers set will need to remove the headers to avoid the error.

platform-browser
  • This change may cause a breaking change in unit tests that are implicitly depending on a specific number and sequence of change detections in order for their assertions to pass.

  • This may break invalid calls to TransferState methods.

    This tightens parameter types of TransferState usage, and is a minor breaking change which may reveal existing problematic calls.

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.

  • When returning a Promise from the LoadChildrenCallback, the possible type is now restricted to Type<any>|NgModuleFactory<any> rather than any.

  • initialNavigation: 'enabled' was deprecated in v11 and is replaced by initialNavigation: 'enabledBlocking'.

  • The type of component on ActivatedRoute and ActivatedRouteSnapshot includes string. In reality, this is not the case. The component cannot be anything other than a component class.

    • The type of initialUrl is set to string|UrlTree but in reality, the Router only sets it to a value that will always be UrlTree
    • initialUrl is documented as "The target URL passed into the Router#navigateByUrl() call before navigation" but the value actually gets set to something completely different. It's set to the current internal UrlTree of the Router at the time navigation occurs.

    With this change, there is no exact replacement for the old value of initialUrl because it was enver intended to be exposed. Router.url is likely the best replacement for this. In more specific use-cases, tracking the finalUrl between successful navigations can also be used as a replacement.

  • Lazy loaded configs are now also validated once loaded like the initial set of routes are. Lazy loaded modules which have invalid Route configs will now error. Note that this is only done in dev mode so there is no production impact of this change.

  • When a guard returns a UrlTree, the router would previously schedule the redirect navigation within a setTimeout. This timeout is now removed, which can result in test failures due to incorrectly written tests. Tests which perform navigations should ensure that all timeouts are flushed before making assertions. Tests should ensure they are capable of handling all redirects from the original navigation.

  • 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.

zone.js
  • in TaskTrackingZoneSpec track a periodic task until it is cancelled

    The breaking change is scoped only to the plugin zone.js/plugins/task-tracking. If you used TaskTrackingZoneSpec and checked the pending macroTasks e.g. using (this.ngZone as any)._inner ._parent._properties.TaskTrackingZone.getTasksFor('macroTask'), then its behavior slightly changed for periodic macrotasks. For example, previously the setInterval macrotask was no longer tracked after its callback was executed for the first time. Now it's tracked until the task is explicitly cancelled, e.g with clearInterval(id).

    fixes 45350

Deprecations common
  • The ngModuleFactory input of the NgComponentOutlet directive is deprecated in favor of a newly added ngModule input. The ngModule input accepts references to the NgModule class directly, without the need to resolve module factory first.
forms
  • The initialValueIsDefault option has been deprecated and replaced with the otherwise-identical nonNullable option, for the sake of naming consistency.
  • It is now deprecated to provide both AbstractControlOptions and an async validators argument to a FormControl. Previously, the async validators would just be silently dropped, resulting in a probably buggy forms. Now, the constructor call is deprecated, and Angular will print a warning in devmode.
router
  • The resolver argument of the RouterOutletContract.activateWith function and the resolver field of the OutletContext class are deprecated. Passing component factory resolvers are no longer needed. The ComponentFactoryResolver-related symbols were deprecated in @angular/core package since v13.
animations
CommitDescription
make validateStyleProperty check dev-mode only (#45570)
provide warnings for non-animatable CSS properties (#45212)
allow animations with unsupported CSS properties (#44729)
apply default params when resolved value is null or undefined (#45339)
implement missing transition delay (#44799)
improve algorithm to balance animation namespaces (#45057)
made errors in the animations package tree shakeable (#45004)
Remove generic objects in favor of Maps (#44482)
remove no longer needed CssKeyframes classes (#44903)
make AnimationDriver.getParentElement required (#45114)
bazel
CommitDescription
allow for generated package.json files in ng_package (#45470)
report error when dependency does not provide JS sources in ng_package (#45470)
speed up dev-turnaround by bundling types only when packaging (#45405)
do not error if files part of srcs are outside of package (#45622)
remove unnecessary file extractions from ng_package (#45470)
speed up d.ts bundling by configuring worker (#45900)
use allowedInputs to avoid fs.stat (#46069)
common
CommitDescription
add getState method to LocationStrategy interface (#45648)
support NgModule as an input to the NgComponentOutlet (#44815)
support years greater than 9999 (#43622)
cleanup URL change listeners when the root view is removed (#44901)
properly cast http param values to strings (#42643)
make NgLocalization token tree-shakable (#45118)
compiler
CommitDescription
exclude empty styles from emitted metadata (#45459)
scope css keyframes in emulated view encapsulation (#42608)
scope css keyframes in emulated view encapsulation (#42608)
compiler-cli
CommitDescription
exclude abstract classes from strictInjectionParameters requirement (#44615)
initial implementation of standalone components (#44812)
propagate standalone flag to runtime (#44973)
standalone types imported into NgModule scopes (#44973)
Support template binding to protected component members (#45823)
better error messages for NgModule structural issues (#44973)
fix issue with incremental tracking of APIs for pipes (#45672)
full side-effectful registration of NgModules with ids (#45024)
handle forwardRef in imports of standalone component (#45869)
handle inline type-check blocks in nullish coalescing extended check (#45454)
handle standalone components with cycles (#46029)
preserve forwardRef for component scopes (#46139)
report invalid imports in standalone components during resolve phase (#45827)
Support resolve animation name from the DTS (#45107)
update unknown tag error for aot standalone components (#45919)
use existing imports for standalone dependencies (#46029)
ignore the module.id anti-pattern for NgModule ids (#45024)
core
CommitDescription
add ApplicationRef.destroy method (#45624)
add the bootstrapApplication function (#45674)
allow for injector to be specified when creating an embedded view (#45156)
allow for injector to be specified when creating an embedded view (#45156)
allow to throw on unknown elements in tests (#45479)
allow to throw on unknown elements in tests (#45479)
allow to throw on unknown properties in tests (#45853)
drop support for Node.js 12 (#45286)
drop support for TypeScript 4.4 and 4.5 (#45394)
implement importProvidersFrom function (#45626)
implement EnvironmentInjector with adapter to NgModuleRef (#45626)
implement standalone directives, components, and pipes (#45687)
move ANIMATION_MODULE_TYPE injection token into core (#44970)
support TypeScript 4.6 (#45190)
support TypeScript 4.7 (#45749)
triggerEventHandler accept optional eventObj (#45279)
update TestBed to recognize Standalone Components (#45809)
add more details to the MISSING_INJECTION_CONTEXT error (#46166)
avoid Closure Compiler error in restoreView (#45445)
better error message when unknown property is present (#46147)
Ensure the StandaloneService is retained after closure minification (#45783)
handle AOT-compiled standalone components in TestBed correctly (#46052)
improve TestBed declarations standalone error message (#45999)
include component name into unknown element/property error message (#46160)
incorrectly inserting elements inside template element (#43429)
input coercion (#42803)
memory leak in event listeners inside embedded views (#43075)
prevent BrowserModule providers from being loaded twice (#45826)
produce proper error message for unknown props on <ng-template>s (#46068)
restore NgModule state correctly after TestBed overrides (#46049)
set correct context for inject() for component ctors (#45991)
support nested arrays of providers in EnvironmentInjector (#45789)
throw if standalone components are present in @NgModule.bootstrap (#45825)
update unknown property error to account for standalone components in AOT (#46159)
update unknown tag error for jit standalone components (#45920)
verify standalone component imports in JiT (#45777)
allow checkNoChanges mode to be tree-shaken in production (#45913)
avoid storing LView in ngContext (#45051)
make Compiler, ApplicationRef and ApplicationInitStatus tree-shakable (#45102)
make IterableDiffers and KeyValueDiffers tree-shakable (#45094)
make LOCALE_ID and other tokens from ApplicationModule tree-shakable (#45102)
only track LViews that are referenced in ngContext (#45172)
remove deprecated aotSummaries fields in TestBed config (#45487)
devtools tabs
CommitDescription
stop scroll occuring at tabs level
forms
CommitDescription
Add FormBuilder.nonNullable. (#45852)
Add a FormRecord type. (#45607)
Add untyped versions of the model classes for use in migration. (#45205)
Implement strict types for the Angular Forms package. (#43834)
support negative indices in FormArray methods. (#44848)
Add a nonNullable option to FormControl for consistency.
Add UntypedFormBuilder (#45268)
Allow NonNullableFormBuilder to be injected. (#45904)
Correct empty validator to handle objects with a property length: 0. (#33729)
Fix a typing bug in FormBuilder. (#45684)
Make UntypedFormBuilder assignable to FormBuilder, and vice versa. (#45421)
not picking up disabled state if group is swapped out and disabled (#43499)
Prevent FormBuilder from distributing unions to control types. (#45942)
Property renaming safe code (#45271)
Update the typed forms migration to use FormArray instead of FormArray<T[]>. (#44933)
Update the typed forms migration. (#45281)
Value and RawValue should be part of the public API. (#45978)
Warn on FormControls that are constructed with both options and asyncValidators.
http
CommitDescription
encode + signs in query params as %2B (angular#11058) (#45111)
Throw error when headers are supplied in JSONP request (#45210)
language-service
CommitDescription
Provide plugin to delegate rename requests to Angular (#44696)
Fix detection of Angular for v14+ projects (#45998)
localize
CommitDescription
ensure transitively loaded compiler code is tree-shakable (#45405)
migrations
CommitDescription
Add migration to add explicit Route/Routes type (#45084)
ngcc
CommitDescription
cope with packages following APF v14+ (#45833)
platform-browser
CommitDescription
do not run change detection when loading Hammer (#44921)
Make transfer state key typesafe. (#23020)
remove obsolete shim for Map comparison in Jasmine (#45521)
avoid including Testability by default in bootstrapApplication (#45885)
platform-server
CommitDescription
implement renderApplication function (#45785)
update renderApplication to move appId to options (#45844)
router
CommitDescription
Add EnvironmentInjector to RouterOutlet.activateWith (#45597)
Add Route.title with a configurable TitleStrategy (#43307)
Add ability to specify providers on a Route (#45673)
add ariaCurrentWhenActive input to RouterLinkActive directive (#45167)
add type properties to all router events (#44189)
Allow loadChildren to return a Route array (#45700)
set stricter type for Route.title (#44939)
Support lazy loading standalone components with loadComponent (#45705)
Fix type of Route.pathMatch to be more accurate (#45176)
merge interited resolved data and static data (#45276)
Remove any from LoadChildrenCallback type (#45524)
Remove deprecated initialNavigation option (#45729)
Remove unused string type for ActivatedRoute.component (#45625)
Update Navigation#initialUrl to match documentation and reality (#43863)
validate lazy loaded configs (#45526)
cancel the navigation instantly if at least one resolver doesn't emit any value (#45621)
deprecate no longer needed resolver fields (#45597)
Remove unnecessary setTimeout in UrlTree redirects (#45735)
take only the first emitted value of every resolver to make it consistent with guards (#44573)
service-worker
CommitDescription
add cacheOpaqueResponses option for data-groups (#44723)
emit a notification when the service worker is already up to date after check (#45216)
Special Thanks

Adrian Kunz, Alan Agius, AleksanderBodurri, Alex Rickabaugh, AlirezaEbrahimkhani, Amir Rustamzadeh, Andrew Kushnir, Andrew Scott, Chabbey François, Charles Lyding, Cédric Exbrayat, Daan De Smedt, David Schmidt, Derek Cormier, Dmitrij Kuba, Doug Parker, Dylan Hunn, Emma Twersky, George Kalpakas, George Looshch, Jan Kuehle, Jessica Janiuk, JiaLiPassion, JimMorrison723, Joe Martin (Crowdstaffing), Joey Perrott, JoostK, Kristiyan Kostadinov, Krzysztof Platis, Leosvel Pérez Espinosa, Maddie Klein, Mark Whitfeld, Martin Sikora, Michael-Doner, Michal Materowski, Minko Gechev, Paul Gschwendtner, Pawel Kozlowski, Payam Shahidi, Pusztai Tibor, Ricardo Mattiazzi Baumgartner, Roy Dorombozi, Ruslan Lekhman, Samuel Littley, Sergej Grilborzer, Sumit Arora, Tobias Speicher, Virginia Dooley, Zack Elliott, alirezaghey, ananyahs96, arturovt, cexbrayat, dario-piotrowicz, ivanwonder, kamikopi, markostanimirovic, markwhitfeld, mgechev, renovate[bot], twerske and zverbeta


14.0.0-rc.3

8 months ago

14.0.0-rc.3 (2022-05-31) compiler-cli
CommitDescription
preserve forwardRef for component scopes (#46139)
core
CommitDescription
add more details to the MISSING_INJECTION_CONTEXT error (#46166)
better error message when unknown property is present (#46147)
include component name into unknown element/property error message (#46160)
update unknown property error to account for standalone components in AOT (#46159)
Special Thanks

Alex Rickabaugh, Andrew Kushnir, Billy Lando, George Kalpakas, Ian Gregory, Matt Shaffer, Paul Gschwendtner, Pawel Kozlowski, Rune Andersen Hartvig, dario-piotrowicz and mgechev


13.3.11

8 months ago

13.3.11 (2022-05-31) Special Thanks

Andrew Scott, Billy Lando, George Kalpakas, Ian Gregory, Matt Shaffer, Rune Andersen Hartvig, dario-piotrowicz and mgechev


14.0.0-rc.2

8 months ago

14.0.0-rc.2 (2022-05-25) Deprecations forms
  • The initialValueIsDefault option has been deprecated and replaced with the otherwise-identical nonNullable option, for the sake of naming consistency.
  • It is now deprecated to provide both AbstractControlOptions and an async validators argument to a FormControl. Previously, the async validators would just be silently dropped, resulting in a probably buggy forms. Now, the constructor call is deprecated, and Angular will print a warning in devmode.
bazel
CommitDescription
use allowedInputs to avoid fs.stat (#46069)
compiler-cli
CommitDescription
update unknown tag error for aot standalone components (#45919)
core
CommitDescription
handle AOT-compiled standalone components in TestBed correctly (#46052)
improve TestBed declarations standalone error message (#45999)
produce proper error message for unknown props on <ng-template>s (#46068)
restore NgModule state correctly after TestBed overrides (#46049)
update unknown tag error for jit standalone components (#45920)
forms
CommitDescription
Add a nonNullable option to FormControl for consistency.
Warn on FormControls that are constructed with both options and asyncValidators.
Special Thanks

A. J. Javier, Alex Rickabaugh, Andrew Kushnir, Aristeidis Bampakos, David Schmidt, Doug Parker, Dylan Hunn, George Kalpakas, J Rob Gant, Jan Kuehle, Jerome Kruse, Joey Perrott, JoostK, Kristiyan Kostadinov, Nathan Nontell, Paul Gschwendtner, Pawel Kozlowski, Roopesh Chinnakampalli, Thomas Mair, Tom Raithel, dario-piotrowicz and mgechev


13.3.10

8 months ago

13.3.10 (2022-05-25) Special Thanks

A. J. Javier, Aristeidis Bampakos, J Rob Gant, Jerome Kruse, Joey Perrott, Nathan Nontell, Paul Gschwendtner, Roopesh Chinnakampalli, Thomas Mair, Tom Raithel, dario-piotrowicz and mgechev


14.0.0-rc.1

8 months ago

14.0.0-rc.1 (2022-05-18) compiler-cli
CommitDescription
handle standalone components with cycles (#46029)
use existing imports for standalone dependencies (#46029)
core
CommitDescription
set correct context for inject() for component ctors (#45991)
forms
CommitDescription
Value and RawValue should be part of the public API. (#45978)
language-service
CommitDescription
Fix detection of Angular for v14+ projects (#45998)
Prevent TSServer from removing templates from project (#45965)
Special Thanks

4javier, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Dylan Hunn, Evan Lee, George Kalpakas, Joey Perrott, Kristiyan Kostadinov, Pavan Kumar Jadda, Roy Dorombozi, Virginia Dooley, celinetunc, ivanwonder and mariu


13.3.9

8 months ago

13.3.9 (2022-05-18) Special Thanks

4javier, Bob Watson, Evan Lee, George Kalpakas, Joey Perrott, Pavan Kumar Jadda, celinetunc and mariu


13.3.8

9 months ago

13.3.8 (2022-05-12) language-service
CommitDescription
Prevent TSServer from removing templates from project (#45965)
Special Thanks

Andrew Scott, George Kalpakas and Joey Perrott


14.0.0-rc.0

9 months ago

14.0.0-rc.0 (2022-05-11) bazel
CommitDescription
speed up d.ts bundling by configuring worker (#45900)
core
CommitDescription
allow checkNoChanges mode to be tree-shaken in production (#45913)
forms
CommitDescription
Allow NonNullableFormBuilder to be injected. (#45904)
Prevent FormBuilder from distributing unions to control types. (#45942)
language-service
CommitDescription
Add resource files as roots to their associated projects (#45601)
ngcc
CommitDescription
cope with packages following APF v14+ (#45833)
platform-browser
CommitDescription
avoid including Testability by default in bootstrapApplication (#45885)
Special Thanks

AleksanderBodurri, Andrew Kushnir, Andrew Scott, Cédric Exbrayat, Dylan Hunn, George Kalpakas, JayMartMedia, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Ted.chang, Thomas Mair, Will 保哥, dario-piotrowicz, mgechev and ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ


13.3.7

9 months ago

13.3.7 (2022-05-11) core
CommitDescription
allow checkNoChanges mode to be tree-shaken in production (#45936)
language-service
CommitDescription
Add resource files as roots to their associated projects (#45601)
Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, JayMartMedia, JoostK, Paul Gschwendtner, Ted.chang, Thomas Mair, Will 保哥, dario-piotrowicz, mgechev and ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ


14.0.0-next.16

9 months ago

14.0.0-next.16 (2022-05-04) Breaking Changes router
  • initialNavigation: 'enabled' was deprecated in v11 and is replaced by initialNavigation: 'enabledBlocking'.
common
CommitDescription
properly cast http param values to strings (#42643)
compiler
CommitDescription
exclude empty styles from emitted metadata (#45459)
compiler-cli
CommitDescription
exclude abstract classes from strictInjectionParameters requirement (#44615)
Support template binding to protected component members (#45823)
handle forwardRef in imports of standalone component (#45869)
report invalid imports in standalone components during resolve phase (#45827)
core
CommitDescription
allow to throw on unknown elements in tests (#45479)
allow to throw on unknown elements in tests (#45479)
allow to throw on unknown properties in tests (#45853)
support TypeScript 4.7 (#45749)
update TestBed to recognize Standalone Components (#45809)
Ensure the StandaloneService is retained after closure minification (#45783)
prevent BrowserModule providers from being loaded twice (#45826)
support nested arrays of providers in EnvironmentInjector (#45789)
throw if standalone components are present in @NgModule.bootstrap (#45825)
verify standalone component imports in JiT (#45777)
forms
CommitDescription
Add FormBuilder.nonNullable. (#45852)
platform-server
CommitDescription
implement renderApplication function (#45785)
update renderApplication to move appId to options (#45844)
router
CommitDescription
add type properties to all router events (#44189)
Remove deprecated initialNavigation option (#45729)
Special Thanks

AleksanderBodurri, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Charles Lyding, Cédric Exbrayat, Dylan Hunn, George Kalpakas, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Ryan Day, Zack Elliott, cexbrayat and dario-piotrowicz


13.3.6

9 months ago

13.3.6 (2022-05-04) Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Paul Gschwendtner, Pawel Kozlowski, Ryan Day and dario-piotrowicz


14.0.0-next.15

9 months ago

14.0.0-next.15 (2022-04-27) Breaking Changes common
  • Adds new required class member that any implementors of the LocationStrategy will need to satisfy. Location does not depend on PlatformLocation anymore.
compiler
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
router
  • When a guard returns a UrlTree, the router would previously schedule the redirect navigation within a setTimeout. This timeout is now removed, which can result in test failures due to incorrectly written tests. Tests which perform navigations should ensure that all timeouts are flushed before making assertions. Tests should ensure they are capable of handling all redirects from the original navigation.
bazel
CommitDescription
speed up dev-turnaround by bundling types only when packaging (#45405)
add this_is_bazel marker (#45728)
common
CommitDescription
add getState method to LocationStrategy interface (#45648)
compiler
CommitDescription
scope css keyframes in emulated view encapsulation (#42608)
core
CommitDescription
add the bootstrapApplication function (#45674)
implement standalone directives, components, and pipes (#45687)
localize
CommitDescription
ensure transitively loaded compiler code is tree-shakable (#45405)
router
CommitDescription
add ariaCurrentWhenActive input to RouterLinkActive directive (#45167)
Allow loadChildren to return a Route array (#45700)
Support lazy loading standalone components with loadComponent (#45705)
Remove unnecessary setTimeout in UrlTree redirects (#45735)
Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, George Kalpakas, Joey Perrott, Michal Materowski, Paul Gschwendtner, Pawel Kozlowski, Sumit Arora and dario-piotrowicz


13.3.5

9 months ago

13.3.5 (2022-04-27) bazel
CommitDescription
add this_is_bazel marker (#45728)
Special Thanks

Andrew Kushnir, George Kalpakas, Joey Perrott and dario-piotrowicz


14.0.0-next.14

9 months ago

14.0.0-next.14 (2022-04-20) Breaking Changes http
  • Queries including + will now actually query for + instead of space. Most workarounds involving custom codecs will be unaffected. Possible server-side workarounds will need to be undone.
router
  • The type of component on ActivatedRoute and ActivatedRouteSnapshot includes string. In reality, this is not the case. The component cannot be anything other than a component class.

  • Lazy loaded configs are now also validated once loaded like the initial set of routes are. Lazy loaded modules which have invalid Route configs will now error. Note that this is only done in dev mode so there is no production impact of this change.

Deprecations router
  • The resolver argument of the RouterOutletContract.activateWith function and the resolver field of the OutletContext class are deprecated. Passing component factory resolvers are no longer needed. The ComponentFactoryResolver-related symbols were deprecated in @angular/core package since v13.
bazel
CommitDescription
do not error if files part of srcs are outside of package (#45622)
compiler-cli
CommitDescription
fix issue with incremental tracking of APIs for pipes (#45672)
core
CommitDescription
add ApplicationRef.destroy method (#45624)
implement importProvidersFrom function (#45626)
implement EnvironmentInjector with adapter to NgModuleRef (#45626)
better error message when directive extends a component (#45658)
improve multiple components match error (#45645)
forms
CommitDescription
Add a FormRecord type. (#45607)
Fix a typing bug in FormBuilder. (#45684)
http
CommitDescription
encode + signs in query params as %2B (angular#11058) (#45111)
language-service
CommitDescription
two-way binding completion should not remove the trailing quote (#45582)
router
CommitDescription
Add EnvironmentInjector to RouterOutlet.activateWith (#45597)
Add ability to specify providers on a Route (#45673)
Remove unused string type for ActivatedRoute.component (#45625)
validate lazy loaded configs (#45526)
cancel the navigation instantly if at least one resolver doesn't emit any value (#45621)
deprecate no longer needed resolver fields (#45597)
Special Thanks

Adrian Kunz, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dmitrij Kuba, Doug Parker, Dylan Hunn, George Kalpakas, Ilya Marchik, Jeremy Elbourn, Kristiyan Kostadinov, Louis Gombert, Mangalraj, Marko Kaznovac, Paul Gschwendtner, Saurabh Kamble, dario-piotrowicz and ivanwonder


13.3.4

9 months ago

13.3.4 (2022-04-20) core
CommitDescription
better error message when directive extends a component (#45658)
improve multiple components match error (#45645)
language-service
CommitDescription
two-way binding completion should not remove the trailing quote (#45582)
Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Ilya Marchik, Jeremy Elbourn, Kristiyan Kostadinov, Louis Gombert, Mangalraj, Marko Kaznovac, Paul Gschwendtner, Saurabh Kamble, dario-piotrowicz and ivanwonder


14.0.0-next.13

10 months ago

14.0.0-next.13 (2022-04-13) Breaking Changes core
  • Since Ivy, TestBed doesn't use AOT summaries. The aotSummaries fields in TestBed APIs were present, but unused. The fields were deprecated in previous major version and in v14 those fields are removed. The aotSummaries fields were completely unused, so you can just drop them from the TestBed APIs usage.
compiler
CommitDescription
avoid errors with extremely long instruction chains (#45574)
core
CommitDescription
remove deprecated aotSummaries fields in TestBed config (#45487)
Special Thanks

4javier, Andrew Kushnir, Andrew Scott, Dylan Hunn, Jason Hendee, Jessica Janiuk, Kristiyan Kostadinov, Michael-Doner, Michal Materowski and Virginia Dooley


13.3.3

10 months ago

13.3.3 (2022-04-13) compiler
CommitDescription
avoid errors with extremely long instruction chains (#45574)
Special Thanks

4javier, Andrew Kushnir, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Hossein Mousavi, Jason Hendee, Joe Martin (Crowdstaffing), Kristiyan Kostadinov, Michael-Doner, Michal Materowski and Virginia Dooley


14.0.0-next.12

10 months ago

14.0.0-next.12 (2022-04-12) Breaking Changes forms
  • Forms classes accept a generic.

    Forms model classes now accept a generic type parameter. Untyped versions of these classes are available to opt-out of the new, stricter behavior.

router
  • When returning a Promise from the LoadChildrenCallback, the possible type is now restricted to Type<any>|NgModuleFactory<any> rather than any.
animations
CommitDescription
make validateStyleProperty check dev-mode only (#45570)
bazel
CommitDescription
allow for generated package.json files in ng_package (#45470)
report error when dependency does not provide JS sources in ng_package (#45470)
remove unnecessary file extractions from ng_package (#45470)
forms
CommitDescription
Implement strict types for the Angular Forms package. (#43834)
platform-browser
CommitDescription
remove obsolete shim for Map comparison in Jasmine (#45521)
router
CommitDescription
Remove any from LoadChildrenCallback type (#45524)
Special Thanks

Andrew Scott, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Hossein Mousavi, Jessica Janiuk, Joe Martin (Crowdstaffing), Joey Perrott, Kristiyan Kostadinov, Leosvel Pérez Espinosa, Michael-Doner, Michal Materowski, Paul Gschwendtner, Samuel Littley, Sumit Arora and dario-piotrowicz


14.0.0-next.11

10 months ago

14.0.0-next.11 (2022-04-06) animations
CommitDescription
handle structured AnimateTimings (#31107)
migrations
CommitDescription
Add migration to add explicit Route/Routes type (#45084)
router
CommitDescription
merge interited resolved data and static data (#45276)
Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Chabbey François, Christoph Guttandin, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Martin Sikora, mgechev and piyush132000


13.3.2

10 months ago

13.3.2 (2022-04-06) animations
CommitDescription
handle structured AnimateTimings (#31107)
Special Thanks

Alan Agius, Andrew Kushnir, Christoph Guttandin, Cédric Exbrayat, mgechev and piyush132000


13.3.1

10 months ago

13.3.1 (2022-03-30) bazel
CommitDescription
ng module compilation workers are subject to linker race-conditions (#45393)
compiler
CommitDescription
scope css rules within @layer blocks (#45396)
compiler-cli
CommitDescription
handle inline type-check blocks in nullish coalescing extended check (#45478)
Special Thanks

AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Ben Brook, Dylan Hunn, George Kalpakas, JiaLiPassion, Joey Perrott, JoostK, Mike, Paul Gschwendtner, Willian Corrêa, arturovt, dario-piotrowicz, khai and mgechev


14.0.0-next.10

10 months ago

14.0.0-next.10 (2022-03-30) Breaking Changes compiler
  • Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp:

    @keyframes foo { ... }

    will become:

    @keyframes host-my-cmp_foo { ... }

    Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match.

    The recommended solutions in this case are to either:

    • change the component's view encapsulation to the None or ShadowDom
    • define keyframes rules in global stylesheets (e.g styles.css)
    • define keyframes rules programmatically in code.
http
  • JSONP will throw an error when headers are set on a reques

    JSONP does not support headers being set on requests. Before when a request was sent to a JSONP backend that had headers set the headers were ignored. The JSONP backend will now throw an error if it receives a request that has any headers set. Any uses of JSONP on requests with headers set will need to remove the headers to avoid the error.

compiler
CommitDescription
scope css keyframes in emulated view encapsulation (#42608)
compiler-cli
CommitDescription
propagate standalone flag to runtime (#44973)
standalone types imported into NgModule scopes (#44973)
better error messages for NgModule structural issues (#44973)
handle inline type-check blocks in nullish coalescing extended check (#45454)
core
CommitDescription
avoid Closure Compiler error in restoreView (#45445)
forms
CommitDescription
not picking up disabled state if group is swapped out and disabled (#43499)
http
CommitDescription
Throw error when headers are supplied in JSONP request (#45210)
Special Thanks

Alex Rickabaugh, AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Dylan Hunn, JiaLiPassion, JoostK, Kristiyan Kostadinov, Maddie Klein, Michael-Doner, Paul Gschwendtner, Willian Corrêa, arturovt, dario-piotrowicz and zverbeta


14.0.0-next.9

10 months ago

14.0.0-next.9 (2022-03-25) Special Thanks

Paul Gschwendtner


14.0.0-next.8

10 months ago

14.0.0-next.8 (2022-03-25) Breaking Changes core
  • TypeScript versions older than 4.6 are no longer supported.
zone.js
  • in TaskTrackingZoneSpec track a periodic task until it is cancelled

The breaking change is scoped only to the plugin zone.js/plugins/task-tracking. If you used TaskTrackingZoneSpec and checked the pending macroTasks e.g. using (this.ngZone as any)._inner ._parent._properties.TaskTrackingZone.getTasksFor('macroTask'), then its behavior slightly changed for periodic macrotasks. For example, previously the setInterval macrotask was no longer tracked after its callback was executed for the first time. Now it's tracked until the task is explicitly cancelled, e.g with clearInterval(id).

fixes 45350

animations
CommitDescription
provide warnings for non-animatable CSS properties (#45212)
apply default params when resolved value is null or undefined (#45339)
bazel
CommitDescription
ng module compilation workers are subject to linker race-conditions (#45393)
compiler
CommitDescription
scope css rules within @layer blocks (#45396)
compiler-cli
CommitDescription
full side-effectful registration of NgModules with ids (#45024)
ignore the module.id anti-pattern for NgModule ids (#45024)
core
CommitDescription
drop support for TypeScript 4.4 and 4.5 (#45394)
memory leak in event listeners inside embedded views (#43075)
forms
CommitDescription
Make UntypedFormBuilder assignable to FormBuilder, and vice versa. (#45421)
Special Thanks

Alan Agius, Alex Rickabaugh, AlirezaEbrahimkhani, Ben Brook, Dylan Hunn, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, Krzysztof Platis, Mike, Paul Gschwendtner, Tobias Speicher, alirezaghey, arturovt, dario-piotrowicz, khai and mgechev


14.0.0-next.7

10 months ago

14.0.0-next.7 (2022-03-16) core
CommitDescription
triggerEventHandler accept optional eventObj (#45279)
forms
CommitDescription
improve error message for invalid value accessors (#45192)
Special Thanks

Alan Agius, Alistair Kane, Amer Yousuf, Andrew Kushnir, Andrew Scott, Derek Cormier, Jessica Janiuk, JiaLiPassion, Lee Cooper, Paul Gschwendtner, alirezaghey and why520crazy


13.3.0

10 months ago

13.3.0 (2022-03-16) Special Thanks

Andrew Scott, Kristiyan Kostadinov and Paul Gschwendtner


13.2.7

10 months ago

13.2.7 (2022-03-16) forms
CommitDescription
improve error message for invalid value accessors (#45192)
Special Thanks

Alistair Kane, Amer Yousuf, Andrew Scott, Jessica Janiuk, Lee Cooper, alirezaghey and why520crazy


13.3.0-rc.0

1 year ago

13.3.0-rc.0 (2022-03-10) Special Thanks

Alistair Kane, Andrew Scott and Kristiyan Kostadinov


14.0.0-next.6

1 year ago

14.0.0-next.6 (2022-03-09) Breaking Changes core
  • Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
compiler
CommitDescription
compute correct offsets when interpolations have HTML entities (#44811)
core
CommitDescription
drop support for Node.js 12 (#45286)
support TypeScript 4.6 (#45190)
incorrectly inserting elements inside <template> element (#43429)
forms
CommitDescription
Add UntypedFormBuilder (#45268)
Property renaming safe code (#45271)
Update the typed forms migration. (#45281)
language-service
CommitDescription
Prioritize Angular-specific completions over DOM completions (#45293)
service-worker
CommitDescription
emit a notification when the service worker is already up to date after check (#45216)
file system hash in batch of 500 elements (#45262)
Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Anner Visser, Aristeidis Bampakos, Dylan Hunn, George Kalpakas, JiaLiPassion, Joey Perrott, JoostK, Kristiyan Kostadinov, Luca, Mladen Jakovljević, Paul Gschwendtner, Srikanth Kolli, ananyahs96 and nanda18


13.2.6

1 year ago

13.2.6 (2022-03-09) compiler
CommitDescription
compute correct offsets when interpolations have HTML entities (#44811)
language-service
CommitDescription
Prioritize Angular-specific completions over DOM completions (#45293)
service-worker
CommitDescription
file system hash in batch of 500 elements (#45262)
Special Thanks

Andrew Scott, Anner Visser, Aristeidis Bampakos, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Luca, Mladen Jakovljević, Paul Gschwendtner, Srikanth Kolli and nanda18


14.0.0-next.5

1 year ago

14.0.0-next.5 (2022-03-02) 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
CommitDescription
canceled JSONP requests won't throw console error with missing callback function (#36807)
make NgLocalization token tree-shakable (#45118)
core
CommitDescription
allow for injector to be specified when creating an embedded view (#45156)
allow for injector to be specified when creating an embedded view (#45156)
remove individual commands for updating gold files (#45198)
only track LViews that are referenced in ngContext (#45172)
forms
CommitDescription
Add untyped versions of the model classes for use in migration. (#45205)
localize
CommitDescription
avoid imports into compiler-cli package (#45180)
router
CommitDescription
Fix type of Route.pathMatch to be more accurate (#45176)
take only the first emitted value of every resolver to make it consistent with guards (#44573)
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


13.2.5

1 year ago

13.2.5 (2022-03-02) animations
CommitDescription
allow animations with unsupported CSS properties (#45185)
common
CommitDescription
canceled JSONP requests won't throw console error with missing callback function (#36807)
make NgLocalization token tree-shakable (#45118) (#45226)
compiler-cli
CommitDescription
Support resolve animation name from the DTS (#45169)
core
CommitDescription
remove individual commands for updating gold files (#45198)
make Compiler, ApplicationRef and ApplicationInitStatus tree-shakable (#45102) (#45222)
make LOCALE_ID and other tokens from ApplicationModule tree-shakable (#45102) (#45222)
localize
CommitDescription
avoid imports into compiler-cli package (#45180)
Special Thanks

Andrew Kushnir, Andrew Scott, Charles Lyding, Guillaume Bonnet, Jessica Janiuk, JoostK, Martin Sikora, Paul Gschwendtner, Theodore Brown, dario-piotrowicz and ivanwonder


14.0.0-next.4

1 year ago

14.0.0-next.4 (2022-02-23) Breaking Changes animations
  • The AnimationDriver.getParentElement method has become required, so any implementors of this interface are now required to provide an implementation for this method. This breakage is unlikely to affect application developers, as AnimationDriver is not expected to be implemented in user code.
animations
CommitDescription
allow animations with unsupported CSS properties (#44729)
make AnimationDriver.getParentElement required (#45114)
compiler-cli
CommitDescription
Support resolve animation name from the DTS (#45107)
core
CommitDescription
avoid storing LView in ngContext (#45051)
make Compiler, ApplicationRef and ApplicationInitStatus tree-shakable (#45102)
make LOCALE_ID and other tokens from ApplicationModule tree-shakable (#45102)
Special Thanks

Alan Cohen, AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Daniele Maltese, David Wolf, JiaLiPassion, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, arturovt, dario-piotrowicz, ivanwonder and manuelkroiss


13.2.4

1 year ago

13.2.4 (2022-02-23) animations
CommitDescription
improve algorithm to balance animation namespaces (#45113)
core
CommitDescription
make IterableDiffers and KeyValueDiffers tree-shakable (#45094) (#45115)
Special Thanks

Alan Cohen, AlirezaEbrahimkhani, Andrew Kushnir, Daniele Maltese, David Wolf, JoostK, Paul Gschwendtner, dario-piotrowicz and manuelkroiss


14.0.0-next.3

1 year ago

14.0.0-next.3 (2022-02-17) animations
CommitDescription
improve algorithm to balance animation namespaces (#45057)
made errors in the animations package tree shakeable (#45004)
common
CommitDescription
cleanup URL change listeners when the root view is removed (#44901)
compiler
CommitDescription
chain element start/end instructions (#44994)
core
CommitDescription
move ANIMATION_MODULE_TYPE injection token into core (#44970)
ViewContainerRef.createComponent should consult module injector when custom one is provided (#44966)
make IterableDiffers and KeyValueDiffers tree-shakable (#45094)
Special Thanks

Alan Cohen, AlirezaEbrahimkhani, Amer Yousuf, Andrew Kushnir, Aristeidis Bampakos, Dario Piotrowicz, Dylan Hunn, Esteban Gehring, George Kalpakas, Jessica Janiuk, JiaLiPassion, Joey Perrott, JoostK, Kristiyan Kostadinov, Mina Hosseini Moghadam, Patrick Cameron, Srdjan Milic, Yousaf Nawaz, arturovt, dario-piotrowicz, markostanimirovic, mgechev and zuckjet


13.2.3

1 year ago

13.2.3 (2022-02-16) animations
CommitTypeDescription
0050b01b62perfmade errors in the animations package tree shakeable (#45079)
compiler
CommitTypeDescription
09f0254bddperfchain element start/end instructions (#44994)
core
CommitTypeDescription
92cf9fbebefixViewContainerRef.createComponent should consult module injector when custom one is provided (#44966)
Special Thanks

AlirezaEbrahimkhani, Amer Yousuf, Andrew Kushnir, Aristeidis Bampakos, Dario Piotrowicz, Esteban Gehring, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Mina Hosseini Moghadam, Patrick Cameron, Srdjan Milic, Yousaf Nawaz, dario-piotrowicz, markostanimirovic, mgechev and zuckjet

657 Versions

TagPublished
15.2.0-next.2next4d ago
15.1.2latest4d ago
15.2.0-next.111d ago
15.1.111d ago
15.2.0-next.018d ago
15.1.019d ago
15.1.0-rc.024d ago
15.1.0-next.32mos ago
15.0.42mos ago
15.1.0-next.22mos ago
15.0.32mos ago
15.1.0-next.12mos ago
15.0.22mos ago
15.0.12mos ago
15.1.0-next.02mos ago
12.2.17v12-lts2mos ago
13.3.12v13-lts2mos ago
14.2.12v14-lts2mos ago
15.0.02mos ago
14.2.112mos ago
15.0.0-rc.42mos ago
15.0.0-rc.33mos ago
14.2.103mos ago
15.0.0-rc.23mos ago
14.2.93mos ago
15.0.0-rc.13mos ago
14.2.83mos ago
15.0.0-rc.03mos ago
14.2.73mos ago
15.0.0-next.64mos ago
14.2.64mos ago
15.0.0-next.54mos ago
14.2.54mos ago
15.0.0-next.44mos ago
14.2.44mos ago
15.0.0-next.34mos ago
14.2.34mos ago
15.0.0-next.24mos ago
14.2.24mos ago
15.0.0-next.15mos ago
14.2.15mos ago
15.0.0-next.05mos ago
14.2.05mos ago
14.2.0-rc.05mos ago
14.1.35mos ago
14.1.26mos ago
14.2.0-next.16mos ago
14.2.0-next.06mos ago
14.1.16mos ago
14.1.06mos ago
14.0.76mos ago
14.1.0-rc.07mos ago
14.0.67mos ago
14.1.0-next.47mos ago
14.0.57mos ago
14.1.0-next.37mos ago
14.0.47mos ago
14.1.0-next.27mos ago
14.0.37mos ago
14.1.0-next.17mos ago
14.0.27mos ago
14.1.0-next.08mos ago
14.0.18mos ago
14.0.08mos ago
14.0.0-rc.38mos ago
13.3.118mos ago
14.0.0-rc.28mos ago
13.3.108mos ago
14.0.0-rc.18mos ago
13.3.98mos ago
13.3.89mos ago
14.0.0-rc.09mos ago
13.3.79mos ago
14.0.0-next.169mos ago
13.3.69mos ago
14.0.0-next.159mos ago
13.3.59mos ago
14.0.0-next.149mos ago
13.3.49mos ago
14.0.0-next.1310mos ago
13.3.310mos ago
14.0.0-next.1210mos ago
14.0.0-next.1110mos ago
13.3.210mos ago
13.3.110mos ago
14.0.0-next.1010mos ago
14.0.0-next.910mos ago
14.0.0-next.810mos ago
14.0.0-next.710mos ago
13.3.010mos ago
13.2.710mos ago
13.3.0-rc.01yr ago
14.0.0-next.61yr ago
13.2.61yr ago
14.0.0-next.51yr ago
13.2.51yr ago
14.0.0-next.41yr ago
13.2.41yr ago
14.0.0-next.31yr ago
13.2.31yr ago