angular/angular (@angular/animations)
Compare Source
common
| Commit |
Type |
Description |
| 37bbc61cfe |
feat |
Backport NgOptimizedImage to Angular 14. |
Special Thanks
Alex Castle, Joey Perrott and Paul Gschwendtner
Compare Source
Breaking Changes
core
- Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
| Commit |
Type |
Description |
| 54814c8e9b |
fix |
hardening attribute and property binding rules for |
Special Thanks
Andrew Kushnir
Compare Source
router
| Commit |
Type |
Description |
| aef353c143 |
fix |
Ensure renavigating in component init works with enabledBlocking (#48066) |
Special Thanks
Alan Agius, Andrew Scott and Mujo Osmanovic
Compare Source
core
| Commit |
Type |
Description |
| a4312e1be5 |
fix |
add zone.js version 0.12.x as a valid peer dependency (#48002) |
router
Special Thanks
Alan Agius, Albert Szekely, Andrew Scott, Doug Parker, Kristiyan Kostadinov, Markus Eckstein, Peter Scriven and abergquist
Compare Source
platform-browser
| Commit |
Type |
Description |
| 92d28bdd99 |
perf |
resolve memory leak when using animations with shadow DOM (#47903) |
platform-server
| Commit |
Type |
Description |
| d2d9bbf5ce |
fix |
call onSerialize when state is empty (#47888) |
Special Thanks
Alan Agius, Kristiyan Kostadinov, Virginia Dooley and mgechev
Compare Source
Special Thanks
Andrew Scott, Balaji, Paul Gschwendtner, WD Snoeijer, onrails and vyom1611
Compare Source
Special Thanks
Bob Watson, Charles Barnes, Joey Perrott, Virginia Dooley, WD Snoeijer, abergquist and urugator
Compare Source
compiler-cli
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
Compare Source
This release contains various API docs improvements.
Special Thanks
Alexander Wiebe, Ciprian Sauliuc, Dmytro Mezhenskyi, George Kalpakas, Joe Martin (Crowdstaffing), Jordan, Ole M, Paul Gschwendtner, Pawel Kozlowski and mgechev
Compare Source
compiler-cli
| Commit |
Type |
Description |
| a4b66fe1e5 |
perf |
cache source file for reporting type-checking diagnostics (#47508) |
core
| Commit |
Type |
Description |
| 2c46b5ab24 |
fix |
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
Compare Source
animations
| Commit |
Type |
Description |
| bba2dae812 |
fix |
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
Compare Source
animations
| Commit |
Type |
Description |
| 937e6c5b3d |
fix |
make sure that the animation function delay is applied (#47285) |
common
core
forms
| Commit |
Type |
Description |
| 80c66a1e57 |
fix |
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
Compare Source
Breaking Changes
core
- Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
| Commit |
Type |
Description |
| 54814c8e9b |
fix |
hardening attribute and property binding rules for |
Special Thanks
Andrew Kushnir
Compare Source
animations
| Commit |
Type |
Description |
| b96e571897 |
fix |
fix stagger timing not handling params (#47208) |
common
compiler-cli
| Commit |
Type |
Description |
| ea89677c12 |
feat |
support more recent version of tsickle (#47018) |
core
forms
| Commit |
Type |
Description |
| 426af91a42 |
feat |
add FormBuilder.record() method (#46485) |
| b302797de4 |
fix |
Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034) |
language-service
| Commit |
Type |
Description |
| 598b72bd05 |
feat |
support fix the component missing member (#46764) |
platform-browser
| Commit |
Type |
Description |
| 07606e3181 |
feat |
add isEmpty method to the TransferState class (#46915) |
platform-server
| Commit |
Type |
Description |
| 2b4d7f6733 |
feat |
support document reference in render functions (#47032) |
router
service-worker
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
Compare Source
compiler
| Commit |
Type |
Description |
| 0583227708 |
fix |
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
Compare Source
core
| Commit |
Type |
Description |
| 5ff715c549 |
fix |
check if transplanted views are attached to change detector (#46974) |
router
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
Compare Source
core
| Commit |
Type |
Description |
| 3606917732 |
fix |
improve the missing control flow directive message (#46903) |
router
| Commit |
Type |
Description |
| 79825d3f10 |
fix |
Do not call preload method when not necessary (#47007) |
| 05f3f7445a |
fix |
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
Compare Source
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
| Commit |
Type |
Description |
| 55308f2df5 |
feat |
add provideAnimations() and provideNoopAnimations() functions (#46793) |
common
compiler
| Commit |
Type |
Description |
| 33ce3883a5 |
feat |
Add extended diagnostic to warn when missing let on ngForOf (#46683) |
| 6f11a58040 |
feat |
Add extended diagnostic to warn when text attributes are intended to be bindings (#46161) |
| 9e836c232f |
feat |
warn when style suffixes are used with attribute bindings (#46651) |
compiler-cli
| Commit |
Type |
Description |
| 93c65e7b14 |
feat |
add extended diagnostic for non-nullable optional chains (#46686) |
| 131d029da1 |
feat |
detect missing control flow directive imports in standalone components (#46146) |
| 6b8e60c06a |
fix |
improve the missingControlFlowDirective message (#46846) |
core
http
| Commit |
Type |
Description |
| 82acbf919b |
feat |
improve error message for nullish header (#46059) |
router
upgrade
| Commit |
Type |
Description |
| e9cb0454dc |
feat |
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
Compare Source
animations
| Commit |
Type |
Description |
| 5bdbb6285b |
fix |
make sure falsy values are added to _globalTimelineStyles (#46863) |
compiler
| Commit |
Type |
Description |
| 41253f9c46 |
fix |
inputs/outputs incorrectly parsed in jit mode (#46813) |
core
| Commit |
Type |
Description |
| 4e77c7fbf3 |
fix |
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
Compare Source
compiler-cli
| Commit |
Type |
Description |
| 99697dae66 |
fix |
only consider used pipes for inline type-check requirement (#46807) |
forms
localize
| Commit |
Type |
Description |
| 14863acb1a |
fix |
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
Compare Source
router
| Commit |
Type |
Description |
| a3bd65e2b8 |
fix |
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
Compare Source
animations
| Commit |
Type |
Description |
| 51be9bbe29 |
fix |
cleanup DOM elements when the root view is removed (#45143) |
| 999aca86c8 |
fix |
enable shadowElements to leave when their parent does (#46459) |
common
| Commit |
Type |
Description |
| 42aed6b13e |
fix |
handle CSS custom properties in NgStyle (#46451) |
core
forms
| Commit |
Type |
Description |
| 74a26d870e |
fix |
Convert existing reactive errors to use RuntimeErrorCode. (#46560) |
| 747872212d |
fix |
Update a Forms validator error to use RuntimeError (#46537) |
router
| Commit |
Type |
Description |
| d6fac9e914 |
fix |
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]
Compare Source
animations
| Commit |
Type |
Description |
| 3dd7bb3f8f |
fix |
reset the start and done fns on player reset (#46364) |
core
| Commit |
Type |
Description |
| c086653655 |
fix |
deduplicate imports of standalone components in JIT compiler (#46439) |
| 5d3b97e1f8 |
fix |
handle NgModules with standalone pipes in TestBed correctly (#46407) |
platform-server
| Commit |
Type |
Description |
| 6ad7b40a6f |
fix |
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
Compare Source
common
compiler-cli
core
| Commit |
Type |
Description |
| 3fd8948b4a |
fix |
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
Compare Source
bazel
forms
| Commit |
Type |
Description |
| dde0b7f4b3 |
fix |
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
Compare Source
Blog post "Angular v14 is now available".
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.
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'.
-
Sin