-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update angular monorepo to v16 (major) #314
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-angular-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
3 times, most recently
from
June 15, 2022 18:46
f6f727e
to
932814b
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
June 23, 2022 03:02
ebe3cc2
to
9504b18
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
July 6, 2022 16:33
b5e4b31
to
683e625
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
July 20, 2022 20:08
f0f526e
to
e209579
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
August 3, 2022 19:50
e209579
to
85a7ebc
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
August 17, 2022 15:01
9eea069
to
9f5444b
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
August 26, 2022 01:25
9f5444b
to
2d83354
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
September 7, 2022 19:15
2d83354
to
c1e0a8e
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
September 15, 2022 03:32
c1e0a8e
to
4d44991
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
September 25, 2022 23:17
4d44991
to
76de8cd
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
November 20, 2022 17:10
76de8cd
to
310aa0c
Compare
renovate
bot
changed the title
Update angular monorepo to v14 (major)
Update angular monorepo to v15 (major)
Nov 20, 2022
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
8 times, most recently
from
March 22, 2023 20:40
617325f
to
352c63b
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
March 29, 2023 23:29
352c63b
to
85709fb
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
April 12, 2023 20:38
63d3d4b
to
34415e7
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
April 19, 2023 22:05
34415e7
to
4f680c2
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
May 3, 2023 19:58
4f680c2
to
d80cca7
Compare
renovate
bot
changed the title
Update angular monorepo to v15 (major)
Update angular monorepo to v16 (major)
May 3, 2023
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
2 times, most recently
from
May 11, 2023 00:58
35c5a1a
to
5d2af45
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
May 17, 2023 19:35
5d2af45
to
6e7bcd8
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
May 24, 2023 21:21
6e7bcd8
to
7de3be6
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
June 1, 2023 19:52
7de3be6
to
9c72267
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
3 times, most recently
from
June 14, 2023 18:43
bf042a3
to
523857e
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
June 21, 2023 20:29
523857e
to
e964aca
Compare
renovate
bot
force-pushed
the
renovate/major-angular-monorepo
branch
from
June 28, 2023 20:29
e964aca
to
8c1f979
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
13.4.0
->16.1.3
13.4.0
->16.1.3
^13.0.0
->^13.0.0 || ^16.0.0
13.4.0
->16.1.3
13.4.0
->16.1.3
13.4.0
->16.1.3
^13.0.0
->^13.0.0 || ^16.0.0
13.4.0
->16.1.3
13.4.0
->16.1.3
13.4.0
->16.1.3
13.4.0
->16.1.3
13.4.0
->16.1.3
Release Notes
angular/angular (@angular/animations)
v16.1.3
Compare Source
core
elements
platform-browser
v16.1.2
Compare Source
http
v16.1.1
Compare Source
compiler-cli
core
migrations
v16.1.0
Compare Source
compiler
core
http
fetch
Backend for theHttpClient
(#50247)v16.0.6
Compare Source
core
v16.0.5
Compare Source
compiler
core
ngOnInit
correctly before server render (#50573)platform-server
v16.0.4
Compare Source
animations
common
core
ApplicationRef.isStable
to account for rendering pending tasks (#50425)v16.0.3
Compare Source
core
Self
flag inside embedded views with custom injectors (#50270)http
v16.0.2
Compare Source
core
isSignal
function (#50035)v16.0.1
Compare Source
core
v16.0.0
Compare Source
Blog post "Angular v16 is now available".
Breaking Changes
EventManager
methodaddGlobalEventListener
has been removed as it is not used by Ivy.bazel
common
MockPlatformLocation
is now provided by default in tests.Existing tests may have behaviors which rely on
BrowserPlatformLocation
instead. For example, direct access to thewindow.history
in either the test or the component rather than goingthrough the Angular APIs (
Location.getState()
). The quickest fix is toupdate the providers in the test suite to override the provider again
TestBed.configureTestingModule({providers: [{provide: PlatformLocation, useClass: BrowserPlatformLocation}]})
.The ideal fix would be to update the code to instead be compatible with
MockPlatformLocation
instead.Before the change, the following template was compiling:
However, it does not compile now because the 'xxx' property does not exist in 'MyContext', resulting in the error: 'Type '{ $implicit: string; xxx: string; }' is not assignable to type 'MyContext'.'
The solution is either:
XhrFactory
export from@angular/common/http
has been removed. UseXhrFactory
from@angular/common
instead.compiler
core
QueryList.filter now supports type guard functions, which will result in type narrowing. Previously if you used type guard functions, it resulted in no changes to the return type. Now the type would be narrowed, which might require updates to the application code that relied on the old behavior.
zone.js
versions0.11.x
and0.12.x
are not longer supported.entryComponents
has been deleted from the@NgModule
and@Component
public APIs. Any usages can be removed since they weren't doing anyting.ANALYZE_FOR_ENTRY_COMPONENTS
injection token has been deleted. Any references can be removed.ComponentRef.setInput will only set the input on the
component if it is different from the previous value (based on
Object.is
equality). If code relies on the input always being set, it should be
updated to copy objects or wrap primitives in order to ensure the input
value differs from the previous call to
setInput
.RendererType2.styles
no longer accepts a nested arrays.The
APP_ID
token value is no longer randomly generated. If you are bootstrapping multiple application on the same page you will need to set to provide theAPP_ID
yourself.The
ReflectiveInjector
and related symbols were removed. Please update the code to avoid references to theReflectiveInjector
symbol. UseInjector.create
as a replacement to create an injector instead.Node.js v14 support has been removed
Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. Angular v16 will continue to officially support Node.js versions v16 and v18.
platform-browser
BrowserTransferStateModule
was removed, since it's no longer needed. TheTransferState
class can be injected without providing the module. TheBrowserTransferStateModule
was empty starting from v14 and you can just remove the reference to that module from your applications.platform-server
Users that are using SSR with JIT mode will now need to add
import to @​angular/compiler
before bootstrapping the application.NOTE: this does not effect users using the Angular CLI.
renderApplication
method no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns aPromise<ApplicationRef>
.Before
Now
renderModuleFactory
has been removed. UserenderModule
instead.router
Scroll
event'srouterEvent
property may also bea
NavigationSkipped
event. Previously, it was only aNavigationEnd
event.
ComponentFactoryResolver
has been removed from Router APIs.Component factories are not required to create an instance of a component
dynamically. Passing a factory resolver via resolver argument is no longer needed
and code can instead use
ViewContainerRef.createComponent
without thefactory resolver.
RouterEvent
type is no longer present in theEvent
union type representing all router event types. If you have code using something likefilter((e: Event): e is RouterEvent => e instanceof RouterEvent)
, you'll need to update it tofilter((e: Event|RouterEvent): e is RouterEvent => e instanceof RouterEvent)
.ActivatedRoute
instances may need to be adjustedbecause Router.createUrlTree now does the right thing in more
scenarios. This means that tests with invalid/incomplete ActivatedRoute mocks
may behave differently than before. Additionally, tests may now navigate
to a real URL where before they would navigate to the root. Ensure that
tests provide expected routes to match.
There is rarely production impact, but it has been found that relative
navigations when using an
ActivatedRoute
that does not appear in thecurrent router state were effectively ignored in the past. By creating
the correct URLs, this sometimes resulted in different navigation
behavior in the application. Most often, this happens when attempting to
create a navigation that only updates query params using an empty
command array, for example
router.navigate([], {relativeTo: route, queryParams: newQueryParams})
. In this case, therelativeTo
propertyshould be removed.
Deprecations
core
makeStateKey
,StateKey
andTransferState
exports have been moved from@angular/platform-browser
to@angular/core
. Please update the imports.EnvironmentInjector.runInContext
is now deprecated, withrunInInjectionContext
functioning as a direct replacement:The
@Directive
/@Component
moduleId
property is nowdeprecated. It did not have any effect for multiple major versions and
will be removed in v17.
platform-browser
BrowserModule.withServerTransition
has been deprecated.APP_ID
should be used instead to set the application ID.NB: Unless, you render multiple Angular applications on the same page, setting an application ID is not necessary.
Before:
After:
ApplicationConfig
has moved, please importApplicationConfig
from@angular/core
instead.platform-server
PlatformConfig.baseUrl
andPlatformConfig.useAbsoluteUrl
platform-server config options are deprecated as these were not used.EventManager
methodaddGlobalEventListener
(#49645)common
XhrFactory
export fromhttp
entrypoint (#49251)compiler
extends
(#49125)compiler-cli
nSkipHydration
(#49512)core
assertInInjectionContext
(#49529)mergeApplicationConfig
method (#49253)NgZone
inbootstrapApplication
(#49557)moduleId
references (#49496)factories
property forIterableDiffers
: Breaking change (#49598)zone.js
versions<=0.12.0
(#49331)makeStateKey
,StateKey
andTransferState
(#49563)takeUntilDestroyed
in rxjs-interop (#49154)runInInjectionContext
and deprecate prior version (#49396)moduleId
@Component
property (#49496)InitialRenderPendingTasks
promise on complete (#49784)markForCheck
(#49711)RendererType2.styles
to accept a only a flat array (#49072)ReflectiveInjector
symbol (#48103)forms
http
HttpClient
to cache requests (#49509)pendingTasks.whenAllTasksComplete
(#49784)migrations
Router
guard and resolver interfaces (#49337)platform-browser
withServerTransition
call (#49422)provideClientHydration
(#49699)TransferState
as type (#50015)ng-app-id
to style on server side (#49465)ApplicationConfig
to core (#49253)BrowserTransferStateModule
symbol (#49718)platform-server
renderApplication
now accepts a bootstrapping method (#49248)provideServerSupport
function to provide server capabilities to an application (#49380)provideServerSupport
toprovideServerRendering
(#49678)@angular/platform-browser-dynamic
(#50064)useAbsoluteUrl
andbaseUrl
(#49546)renderApplication
overload that accepts a component (#49463)renderModuleFactory
(#49247)router
Navigation
(#49235)Router
information to component inputs (#49633)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
| Commit | Type | Description |
| -- | --
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.