Update angular monorepo to v15 (major) #66
Closed
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:
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
~11.2.13
->~15.0.0
Release Notes
angular/angular
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()
function to provide Location mocks (#47674)rawSrc
->ngSrc
in NgOptimizedImage directive (#47362)compiler
compiler-cli
strictInjectionParameters
requirement (#44615)enableIvy
options (#47346)core
providedIn: NgModule
andprovidedIn: 'any'
(#47616)isDevMode
to rely onngDevMode
(#47475)forms
setDisabledState
onControlValueAcessor
when control is enabled (#47576)http
HttpClient
s to request via parents (#47502)provideHttpClientTesting
provider function (#47502)provideHttpClient()
API (#47502)undefined
XSRF tokens (#47683)withLegacyInterceptors
towithInterceptorsFromDi
(#47901)language-service
localize
canParse
method from TranslationParsers (#47275)platform-server
router
relativeLinkResolution
usages (#47604)RouterLinkWithHref
intoRouterLink
(#47630)RouterLinkWithHref
references toRouterLink
(#47599)provideRouter()
from usage in @Component (#47669)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
v14.2.12
Compare Source
Breaking Changes
core
core
Special Thanks
Andrew Kushnir
v14.2.11
Compare Source
router
Special Thanks
Alan Agius, Andrew Scott and Mujo Osmanovic
v14.2.10
Compare Source
core
zone.js
version0.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
v14.2.9
Compare Source
platform-browser
platform-server
onSerialize
when state is empty (#47888)Special Thanks
Alan Agius, Kristiyan Kostadinov, Virginia Dooley and mgechev
v14.2.8
Compare Source
Special Thanks
Andrew Scott, Balaji, Paul Gschwendtner, WD Snoeijer, onrails and vyom1611
v14.2.7
Compare Source
Special Thanks
Bob Watson, Charles Barnes, Joey Perrott, Virginia Dooley, WD Snoeijer, abergquist and urugator
v14.2.6
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
v14.2.5
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
v14.2.4
Compare Source
compiler-cli
core
typeof
of undefined inngDevMode
check (#47480)Special Thanks
Alan Agius, Ashley Hunter, Doug Parker, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Rokas Brazdžionis and Simona Cotin
v14.2.3
Compare Source
animations
Special Thanks
AleksanderBodurri, Andrew Kushnir, Andrew Scott, Bob Watson, George Kalpakas, Joey Perrott, Mauro Mattos, dario-piotrowicz, fabioemoutinho and famzila
v14.2.2
Compare Source
animations
common
rawSrc
->ngSrc
in NgOptimizedImage directive (#47362) (#47396)core
forms
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
v14.2.1
Compare Source
Breaking Changes
core
core
Special Thanks
Andrew Kushnir
v14.2.0
Compare Source
animations
common
NgOptimizedImage
and assert ifpriority
is set (#47082)data:
andblob:
inputs inNgOptimizedImage
directive (#47082)rawSrc
andrawSrcset
values in NgOptimizedImage directive (#47082)priority
attribute (#47082)compiler-cli
tsickle
(#47018)core
createComponent
function (#46685)reflectComponentType
function (#46685)forms
FormBuilder.record()
method (#46485)FormBuilder
types involving[value, validators]
shorthand in more cases. (#47034)language-service
platform-browser
isEmpty
method to theTransferState
class (#46915)platform-server
router
Routes
used by theRouter
(#46913)service-worker
sendRequest
as anotificationclick
action (#46912)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
v14.1.3
Compare Source
compiler
Special Thanks
AlirezaEbrahimkhani, Alma Eyre, Andrew Scott, Bob Watson, George Kalpakas, Kalbarczyk, Kristiyan Kostadinov, Leosvel Pérez Espinosa, Roman Matusevich and Sonu Kapoor
v14.1.2
Compare Source
core
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,
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.