angular/goldens/public-api
Andrew Scott 3839cfbb18 fix(router): Routed components never inherit RouterOutlet EnvironmentInjector (#54265)
This commit ensures components in the route config predictably always
get their providers from the hierarchy available to routes rather than
sometimes being dependent on where they are inserted.

fixes #53369

BREAKING CHANGE: Providers available to the routed components always
come from the injector heirarchy of the routes and never inherit from
the `RouterOutlet`. This means that providers available only to the
component that defines the `RouterOutlet` will no longer be available to
route components in any circumstances. This was already the case
whenever routes defined providers, either through lazy loading an
`NgModule` or through explicit `providers` on the route config.

PR Close #54265
2024-04-01 09:19:13 -07:00
..
animations refactor: change public const enums to enums (#51670) 2023-10-25 10:39:18 -07:00
common fix(http): include transferCache when cloning HttpRequest (#54939) 2024-03-21 22:13:42 -07:00
compiler-cli fix(compiler-cli): add diagnostic if initializer API is used outside of an initializer (#54993) 2024-03-28 09:17:02 -07:00
core fix(core): ComponentFixture stability should match ApplicationRef (#54949) 2024-03-27 11:01:28 -07:00
elements fix(elements): support input transform functions (#50713) 2023-06-22 09:47:16 -07:00
forms refactor: add readonly to public InjectionToken types (#51125) 2023-08-14 17:17:35 -07:00
localize build: remove unneeded babel types postinstall patching (#53441) 2023-12-08 14:33:59 -08:00
platform-browser refactor(animations): EnvironmentProviders for provideAnimationsAsync (#52862) 2023-11-13 17:27:31 +00:00
platform-browser-dynamic refactor(platform-browser-dynamic): unused RESOURCE_CACHE_PROVIDER API has been removed (#54875) 2024-03-18 16:53:27 -07:00
platform-server test: update platform-server API golden (#54874) 2024-03-18 16:37:07 -07:00
router fix(router): Routed components never inherit RouterOutlet EnvironmentInjector (#54265) 2024-04-01 09:19:13 -07:00
service-worker refactor(service-worker): Remove deprecated activated & available observables. (#49498) 2023-10-10 11:54:07 -07:00
upgrade fix(compiler-cli): libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714) 2023-06-14 16:27:59 +02:00
manage.js refactor(dev-infra): remove dependency on minimist (#43644) 2021-10-04 17:31:03 -07:00