fix(deps): update angular monorepo to v15 (major) #245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
6.0.3
->15.2.10
Release Notes
angular/angular (@angular/animations)
v15.2.10
Compare Source
service-worker
v15.2.9
Compare Source
common
compiler-cli
v15.2.8
Compare Source
core
http
router
v15.2.7
Compare Source
compiler
compiler-cli
core
markForCheck
(#49747)Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler and Nikola Kološnjaji
v15.2.6
Compare Source
core
router
Special Thanks
Andrew Scott, Guillaume Weghsteen, John Manners, Johnny Gérard, Matthieu Riegler, Robin Richtsfeld, Sandra Limacher, Sarthak Thakkar, Vinit Neogi and vikram menon
v15.2.5
Compare Source
common
compiler
core
router
Special Thanks
Alan Agius, Andrew Scott, Asaf Malin, Jan Cabadaj, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sid and Tano Abeleyra
v15.2.4
Compare Source
core
TestBed.configureTestingModule
to work with recursive cycle of standalone components. (#49473)Special Thanks
Aditya Srinivasan, Alex Rickabaugh, Andrew Scott, Kristiyan Kostadinov, Masaoki Kobayashi, Matthieu Riegler, Paul Gschwendtner, Peter Götz, Thomas Pischke, Virginia Dooley and avmaxim
v15.2.3
Compare Source
Special Thanks
Alan Agius, Esteban Gehring, Matthieu Riegler and Virginia Dooley
v15.2.2
Compare Source
migrations
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sai Kartheek Bommisetty and Vinit Neogi
v15.2.1
Compare Source
common
compiler-cli
core
migrations
router
Special Thanks
Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Craig Spence, Doug Parker, Iván Navarro, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Michael Ziluck, Paul Gschwendtner, Stephanie Tuerk, Vincent and Virginia Dooley
v15.2.0
Compare Source
Deprecations
InjectionToken
guards and resolvers aredeprecated. Instead, write guards as plain JavaScript functions and
inject dependencies with
inject
from@angular/core
.common
compiler-cli
core
language-service
migrations
enum
inmode
option instandalone
schema (#48851)platform-browser
platform-server
router
Special Thanks
Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dylan Hunn, Ikko Eltociear Ashimine, Ilyass, Jessica Janiuk, Joey Perrott, John Manners, Kalbarczyk, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Virginia Dooley, Walid Bouguima, cexbrayat and mgechev
v15.1.5
Compare Source
forms
[attr.disabled]
(#48864)Special Thanks
AleksanderBodurri, Alvaro Junqueira, Dylan Hunn, Joey Perrott, Matthieu Riegler, PaloMiklo and Paul Gschwendtner
v15.1.4
Compare Source
Special Thanks
Jessica Janiuk, Kian Yang Lee, Matthieu Riegler, Redouane Bekkouche and Simona Cotin
v15.1.3
Compare Source
animations
common
compiler
migrations
platform-server
script
before otherscript
tags (#48868)router
Special Thanks
Alan Agius, Besim Gürbüz, Brecht Billiet, Dario Piotrowicz, Dylan Hunn, Iván Navarro, Jessica Janiuk, Kristiyan Kostadinov, Matthieu Riegler, Onkar Ruikar, Payam Valadkhan, Santosh Yadav, Virginia Dooley and Walid Bouguima
v15.1.2
Compare Source
compiler
compiler-cli
router
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
v15.1.1
Compare Source
common
Location
to get a normalized URL valid in case a represented URL starts with the substring equalsAPP_BASE_HREF
(#48489)core
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 ノウラ
v15.1.0
Compare Source
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 rootNgModule
orbootstrapApplication
:routeReuseStrategy
titleStrategy
urlHandlingStrategy
The following options are meant to be configured using the options
available in
RouterModule.forRoot
orprovideRouter
.onSameUrlNavigation
paramsInheritanceStrategy
urlUpdateStrategy
canceledNavigationResolution
The following options are available in
RouterModule.forRoot
but notavailable in
provideRouter
:malformedUriErrorHandler
- This was found to not be used anywhereinternally.
errorHandler
- Developers can instead subscribe toRouter.events
and filter for
NavigationError
.common
compiler
compiler-cli
@babel/core
dependency and lock version (#48634)core
TestBed.runInInjectionContext
to help test functions which useinject
(#47955)isStandalone()
function available in public API (#48114)forms
language-service
package.json
for vscode extension resolution (#48678)/api
entry-point (#48670)localize
@angular/localize
on `ng add (#48502)migrations
router
onSameUrlNavigation
default per-navigation (#48050)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
v15.0.4
Compare Source
animations
common
compiler-cli
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
v15.0.3
Compare Source
common
Location
to support base href containingorigin
(#48327)compiler
compiler-cli
core
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
v15.0.2
Compare Source
compiler-cli
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
v15.0.1
Compare Source
common
forms
language-service
router
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
v15.0.0
Compare Source
Blog post "Angular v15 is now available".
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:
None
orShadowDom
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 parameterswhich 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
14.[15-19].x
and16.[10-12].x
. Current supported versions of Node.js are14.20.x
,16.13.x
and18.10.x
.src
orsrcdoc
preceding other attributes. Such usages may need to be updated to ensure compliance with the new stricter rules around iframe bindings.forms
ControlValueAccessor
is attached. You can opt-out withFormsModule.withConfig
orReactiveFormsModule.withConfig
.localize
canParse
method has been removed from all translation parsers in@angular/localize/tools
.analyze
should be used instead.hint
parameter in theparse
methods is now mandatory.router
RouterOutlet
would immediatelyinstantiate 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.
relativeLinkResolution
is no longer configurable inthe Router. This option was used as a means to opt out of a bug fix.
Deprecations
common
DATE_PIPE_DEFAULT_TIMEZONE
token is now deprecated in favorof the
DATE_PIPE_DEFAULT_OPTIONS
token, which accepts an objectas a value and the timezone can be defined as a field (called
timezone
)on that object.
core
NgModule
to theprovidedIn
option for@Injectable
andInjectionToken
is now deprecated.providedIn: NgModule
was intended to be a tree-shakable alternative toNgModule providers. It does not have wide usage, and in most cases is used
incorrectly, in circumstances where
providedIn: 'root'
should bepreferred. If providers should truly be scoped to a specific NgModule, use
NgModule.providers
instead.providedIn: 'any'
for an@Injectable
orInjectionToken
is now deprecated.providedIn: 'any'
is an option with confusing semantics and is almostnever 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
RouterLinkWithHref
directive is deprecated, use theRouterLink
directive instead. TheRouterLink
contains the code from theRouterLinkWithHref
to handle elements withhref
attributes.common
provideLocationMocks()
functionConfiguration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.