-
Notifications
You must be signed in to change notification settings - Fork 27k
fix: roll back cross-repo angular dependencies #50111
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
fix: roll back cross-repo angular dependencies #50111
Conversation
3ded03b to
36a922b
Compare
93e0620 to
e9e31a1
Compare
b179cdb to
b5a6df8
Compare
7e6417c to
fd56c2f
Compare
441a2e3 to
27df8ff
Compare
|
@josephperrott can you look into this? seems like this PR is around since May 2nd |
0d41567 to
c620aea
Compare
Updates Angular dev-infra and Chromium. Fixed up version of angular#50111
Updates Angular dev-infra and Chromium. Fixed up version of angular#50111
See associated pull request for more information.
c620aea to
be23e6d
Compare
|
I've fixed up this PR with many failures in a separate PR. This will now turn green- but we should not roll back to rc.0- but instead wait for 16.2.x first next release |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 16.x releases. But if you manually upgrade to 16.x then Renovate will re-enable If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This PR contains the following updates:
16.1.0->16.1.0-rc.016.1.0->16.1.0-rc.016.1.0->16.1.0-rc.016.0.0-rc.2->16.2.0-next.016.1.0-rc.0->16.2.0-next.016.1.0->16.1.0-rc.0^15.0.0->^16.0.016.0.0-rc.2->16.2.0-next.016.1.0-rc.0->16.2.0-next.0e629d2c->6ba67f816.1.0->16.1.0-rc.05f06c47->6ef015b🔡 If you wish to disable git hash updates, add
":disableDigestUpdates"to the extends array in your config.Release Notes
angular/components
v16.2.0-next.0Compare Source
material-experimental
v16.1.1Compare Source
v16.1.0Compare Source
material
material-experimental
multiple
v16.0.4Compare Source
material
v16.0.3Compare Source
cdk
material
v16.0.2Compare Source
cdk
material
disableRippleon list items (#27126)multiple
v16.0.1Compare Source
cdk
material
v16.0.0Compare Source
cdk
material
stretchTabstoMatTabsConfig(#26644)mdc-labelclass to<label>(#26851)google-maps
cdk-experimental
angular/angular
v16.1.1Compare Source
compiler-cli
core
migrations
v16.1.0Compare Source
compiler
core
http
fetchBackend for theHttpClient(#50247)v16.0.6Compare Source
core
v16.0.5Compare Source
compiler
core
ngOnInitcorrectly before server render (#50573)platform-server
v16.0.4Compare Source
animations
common
core
ApplicationRef.isStableto account for rendering pending tasks (#50425)v16.0.3Compare Source
core
Selfflag inside embedded views with custom injectors (#50270)http
v16.0.2Compare Source
core
isSignalfunction (#50035)v16.0.1Compare Source
core
v16.0.0Compare Source
Blog post "Angular v16 is now available".
Breaking Changes
EventManagermethodaddGlobalEventListenerhas been removed as it is not used by Ivy.bazel
common
MockPlatformLocationis now provided by default in tests.Existing tests may have behaviors which rely on
BrowserPlatformLocationinstead. For example, direct access to thewindow.historyin 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
MockPlatformLocationinstead.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:
XhrFactoryexport from@angular/common/httphas been removed. UseXhrFactoryfrom@angular/commoninstead.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.jsversions0.11.xand0.12.xare not longer supported.entryComponentshas been deleted from the@NgModuleand@Componentpublic APIs. Any usages can be removed since they weren't doing anyting.ANALYZE_FOR_ENTRY_COMPONENTSinjection 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.isequality). 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.stylesno longer accepts a nested arrays.The
APP_IDtoken value is no longer randomly generated. If you are bootstrapping multiple application on the same page you will need to set to provide theAPP_IDyourself.The
ReflectiveInjectorand related symbols were removed. Please update the code to avoid references to theReflectiveInjectorsymbol. UseInjector.createas 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
BrowserTransferStateModulewas removed, since it's no longer needed. TheTransferStateclass can be injected without providing the module. TheBrowserTransferStateModulewas 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/compilerbefore bootstrapping the application.NOTE: this does not effect users using the Angular CLI.
renderApplicationmethod no longer accepts a root component as first argument. Instead, provide a bootstrapping function that returns aPromise<ApplicationRef>.Before
Now
renderModuleFactoryhas been removed. UserenderModuleinstead.router
Scrollevent'srouterEventproperty may also bea
NavigationSkippedevent. Previously, it was only aNavigationEndevent.
ComponentFactoryResolverhas 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.createComponentwithout thefactory resolver.
RouterEventtype is no longer present in theEventunion 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).ActivatedRouteinstances 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
ActivatedRoutethat 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, therelativeTopropertyshould be removed.
Deprecations
core
makeStateKey,StateKeyandTransferStateexports have been moved from@angular/platform-browserto@angular/core. Please update the imports.EnvironmentInjector.runInContextis now deprecated, withrunInInjectionContextfunctioning as a direct replacement:The
@Directive/@ComponentmoduleIdproperty is nowdeprecated. It did not have any effect for multiple major versions and
will be removed in v17.
platform-browser
BrowserModule.withServerTransitionhas been deprecated.APP_IDshould 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:
ApplicationConfighas moved, please importApplicationConfigfrom@angular/coreinstead.platform-server
PlatformConfig.baseUrlandPlatformConfig.useAbsoluteUrlplatform-server config options are deprecated as these were not used.EventManagermethodaddGlobalEventListener(#49645)common
XhrFactoryexport fromhttpentrypoint (#49251)compiler
extends(#49125)compiler-cli
nSkipHydration(#49512)core
assertInInjectionContext(#49529)mergeApplicationConfigmethod (#49253)NgZoneinbootstrapApplication(#49557)moduleIdreferences (#49496)factoriesproperty forIterableDiffers: Breaking change (#49598)zone.jsversions<=0.12.0(#49331)makeStateKey,StateKeyandTransferState(#49563)takeUntilDestroyedin rxjs-interop (#49154)runInInjectionContextand deprecate prior version (#49396)moduleId@Componentproperty (#49496)InitialRenderPendingTaskspromise on complete (#49784)markForCheck(#49711)RendererType2.stylesto accept a only a flat array (#49072)ReflectiveInjectorsymbol (#48103)forms
http
HttpClientto cache requests (#49509)pendingTasks.whenAllTasksComplete(#49784)migrations
Routerguard and resolver interfaces (#49337)platform-browser
withServerTransitioncall (#49422)provideClientHydration(#49699)TransferStateas type (#50015)ng-app-idto style on server side (#49465)ApplicationConfigto core (#49253)BrowserTransferStateModulesymbol (#49718)platform-server
renderApplicationnow accepts a bootstrapping method (#49248)provideServerSupportfunction to provide server capabilities to an application (#49380)provideServerSupporttoprovideServerRendering(#49678)@angular/platform-browser-dynamic(#50064)useAbsoluteUrlandbaseUrl(#49546)renderApplicationoverload that accepts a component (#49463)renderModuleFactory(#49247)router
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.