Skip to content

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented Nov 16, 2024

This PR contains the following updates:

Package Type Update Change
@angular/animations dependencies digest 931ded6 -> 0253863
@angular/build-tooling devDependencies digest 3ba5a1f -> aa2ad1f
@angular/cdk dependencies digest a679ddd -> 576a642
@angular/cdk devDependencies patch 19.0.0-rc.3 -> 19.0.0
@angular/common dependencies digest bdd75dd -> 82e6d69
@angular/common (source) peerDependencies major ^18.0.0 -> ^19.0.0
@angular/compiler dependencies digest 796c12e -> acb67ad
@angular/compiler-cli dependencies digest e16a78f -> 7324192
@angular/core dependencies digest 9bd4c1a -> 316b679
@angular/core (source) peerDependencies major ^18.0.0 -> ^19.0.0
@angular/forms dependencies digest a680934 -> 4bde4cb
@angular/language-service dependencies digest 64a1665 -> 892abcd
@angular/localize dependencies digest 06f7e60 -> ab0a04e
@angular/material dependencies digest 95e6738 -> 4469e65
@angular/material devDependencies patch 19.0.0-rc.3 -> 19.0.0
@angular/material-moment-adapter dependencies digest b47dcbc -> 6c6bfad
@angular/ng-dev devDependencies digest 5f50216 -> 40ab139
@angular/platform-browser dependencies digest e48a8d3 -> 3548471
@angular/platform-browser-dynamic dependencies digest a2e91bc -> e7b1863
@angular/platform-server dependencies digest d90bf18 -> 8ef532d
@angular/router dependencies digest 31e37b4 -> 5f67b30
@angular/service-worker dependencies digest 4b70106 -> 11769f2
angular/dev-infra action digest 910c72b -> 320768b

🔡 If you wish to disable git hash updates, add ":disableDigestUpdates" to the extends array in your config.


Release Notes

angular/components (@​angular/cdk)

v19.0.0

Compare Source

Breaking Changes

cdk
    • Since cdk.high-contrast targets a media query instead of a class, the specificity of the styles it emits is lower than before.
    • The overlay stays are now loaded slightly later than before which can change their specificity. You may have to update any overlay style overrides.
    • Virtual scrolling lists now have proper type checking which can reveal some previously-hidden compilation errors.

    • fix(cdk/scrolling): adds ngTemplateContextGuard
      implements ngTemplateContextGuard for CdkVirtualForOf directive

material
    • The ripples styles are now loaded slightly later than before which can change their specificity. You may have to update any ripple style overrides.
    • mixinColor and CanColor have been removed. Use a host binding instead.
    • mixinDisableRipple and CanDisableRipple have been removed. Use input transforms instead.
    • mixinDisabled and CanDisable have been removed. Use input transforms instead.
    • mixinInitialized and HasInitialized have been removed. Use a Subject that emits in ngOnInit instead.
    • mixinTabIndex and HasTabIndex have been removed. Use input transforms instead.
google-maps
multiple
    • In order for Material to be compatible with recent changes in Sass and upcoming changes in the CSS standard, tokens are now emitted in-place, rather the being hoisted to the top of the selector. As a result, some token overrides might not apply anymore. This is relevant primarily for the cases like @include mat.button-theme($theme); --mat-button-color: red;. It can be resolved by wrapping the overrides with & {}, for example @include mat.button-theme($theme); & { --mat-button-color: red; }.
    • MatButton.ripple is no longer available.
    • MatCheckbox.ripple is no longer available.
    • MatChip.ripple is no longer available.
material-date-fns-adapter
Commit Type Description
234e5e0e8 feat add support for date-fns 4 (#​29744)
youtube-player
Commit Type Description
09da06b42 fix ready event not emitting
288598750 fix startSeconds not applied when using placeholder
google-maps
Commit Type Description
1bd976c6a feat Add support for some mouse events #​29741 (#​29747)
a05475e76 feat deprecate marker cluster component
c70aae15b feat implement new marker clusterer
b9deeee85 fix add schematic to switch to the new clusterer name
a6709497f fix expose all clusterer types (#​29905)
74c2a081f fix resolve CLI errors in ng update schematic (#​29947)
material
Commit Type Description
9122335b2 feat checkbox: add new aria properties to MatCheckbox (#​29457)
64ed7ca71 feat core: add experimental theme demo (#​29636)
a58e6f671 feat core: add theme-overrides mixin (#​29858)
d206225c5 feat core: create focus-indicator structural styles loader (#​29763)
b519b4785 feat core: default to color-scheme theme type (#​29907)
ea0d1ba7b feat core: deprecate the core mixin (#​29906)
486990912 feat core: rename theme mixin (#​29857)
4b49d7354 feat core: switch system prefix from sys to mat-sys (#​29908)
1abb484aa feat input: add the ability to interact with disabled inputs (#​29574)
4adc3725d feat schematics: create v19 core removal schematic (#​29768)
9c3af284f feat schematics: Switch custom theme schematic to use theme mixin instead of define-theme and add high contrast override mixins (#​29642)
3fc1f9a1b feat schematics: Update custom theme schematic to work with light-dark and use theme-overrides mixin (#​29911)
ff3d342fd feat tabs: add alignTabs in MatTabsConfig (#​29779)
371446a7c feat theming: Disambiguate token names in theme overrides (#​29859)
9546fe77e feat timepicker: add test harnesses
2646e0885 feat timepicker: add timepicker component
de6c20686 fix bottom-sheet: add height minHeight maxHeight to config (#​29794)
fcb76d3ed fix core: add missing system variables (#​29624)
5ad133d07 fix core: allow optgroup overrides through core-overrides (#​29897)
0fb4247ce fix core: avoid browser inconsistencies when parsing time
855ed4948 fix core: avoid having to manually load ripple styles
d0d59b784 fix core: change ng-add to use mat.theme (#​29990)
a8e40ec34 fix core: correctly identify color input (#​29909)
edce90652 fix core: delete deprecated APIs (#​29651)
54875a325 fix core: drop sanity checks (#​29688)
ef14c2869 fix core: option showing double selected indicator in high contrast mode
5403b4b07 fix core: remove unused motion system vars (#​29920)
613cf5406 fix core: rename sys vars from mat-app to mat-sys (#​29879)
d0e178b75 fix core: stop manually instantiating MatRipple directive (#​29630)
d55ec612c fix core: update prebuilt themes to use mat.theme (#​29989)
7cf8c6c46 fix datepicker: calendar font tokens not being picked up (#​29610)
5ba97925b fix form-field: avoid touching the DOM on each state change
a2cd04902 fix form-field: incorrect form field border radius with system-level themes (#​29966)
5345a875f fix input: preserve aria-describedby set externally
9dcb95a72 fix list: remove unnecessary high contrast styles
dbcb921d5 fix menu: handle keyboard events through dispatcher (#​29997)
de5e57ad1 fix menu: use static elevation (#​29968)
482009bac fix schematics: add explicit system variable prefix schematic (#​29980)
75631fb0b fix sidenav: prevent the content from jumping when hydrated (#​29991)
14e9ec7cc fix timepicker: always re-focus input
1eda48604 fix timepicker: hide toggle icon from assistive technology
490bcfe38 fix timepicker: more flexible interval parsing
fb6e20290 fix timepicker: text field in parse error not up to date
9b5ee9d55 fix timepicker: value considered as invalid by default
cdk
Commit Type Description
f4a02adb7 feat a11y: use native media query for high contrast detection (#​29678)
9b4085c6e feat private: create cdk-visually-hidden style loader (#​29757)
df21d2b09 fix overlay: avoid having to manually load structural styles
560878a23 fix overlay: load structural styles in a cascade layer (#​29725)
873eb01e0 fix portal: remove ComponentFactoryResolver usages (#​27427)
5439460d1 fix scrolling: adds ngTemplateContextGuard (#​27276)
ad18e6d74 fix text-field: avoid having to manually load text field styles
bd84c2a67 fix tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#​29565)
3b4ade5a0 fix tree: only handle keyboard events directly from the node (#​29861)
f6066c23f fix tree: warn if mixed node types are used within the same tree
mat
Commit Type Description
8f0369a27 fix paginator: fix focus issues with paginator buttons (#​29379)
multiple
Commit Type Description
01711b180 fix account for mixed declarations in latest Sass version (#​29596)
cb1450fc7 fix change fallbacks to use m3 (#​29528)
a9da72ed1 fix consolidate strong focus indicators (#​29623)
be342289c fix remove final references to ComponentFactoryResolver (#​29832)
d1d53f51a fix remove usages of Sass globals (#​29972)
b3a9062ed fix ripples not showing up in some cases (#​29672)
485bd9923 fix stop exposing internal ripple implementation (#​29622)
angular/angular (@​angular/common)

v19.0.0

Compare Source

Breaking Changes

compiler
  • this.foo property reads no longer refer to template context variables. If you intended to read the template variable, do not use this..
core
  • Angular directives, components and pipes are now standalone by default.

    • Specify standalone: false for declarations that are currently declared in @NgModules.
    • ng update for v19 will take care of this automatically.
  • TypeScript versions less than 5.5 are no longer supported.

  • Timing changes for effect API (in developer preview):

    • effects which are triggered outside of change detection run as part of
      the change detection process instead of as a microtask. Depending on the
      specifics of application/test setup, this can result in them executing
      earlier or later (or requiring additional test steps to trigger; see below
      examples).

    • effects which are triggered during change detection (e.g. by input
      signals) run earlier, before the component's template.

  • ExperimentalPendingTasks has been renamed to PendingTasks.

  • The autoDetect feature of ComponentFixture will now
    attach the fixture to the ApplicationRef. As a result, errors during
    automatic change detection of the fixture be reported to the ErrorHandler.
    This change may cause custom error handlers to observe new failures that were previously unreported.

  • createComponent will now render default fallback with empty projectableNodes.

    • When passing an empty array to projectableNodes in the createComponent API, the default fallback content
      of the ng-content will be rendered if present. To prevent rendering the default content, pass document.createTextNode('') as a projectableNode.
    // The first ng-content will render the default fallback content if present
    createComponent(MyComponent. { projectableNodes: [[], [secondNode]] });
    
    // To prevent projecting the default fallback content:
    createComponent(MyComponent. { projectableNodes: [[document.createTextNode('')], [secondNode]] });
  • Errors that are thrown during ApplicationRef.tick
    will now be rethrown when using TestBed. These errors should be
    resolved by ensuring the test environment is set up correctly to
    complete change detection successfully. There are two alternatives to
    catch the errors:

    • Instead of waiting for automatic change detection to happen, trigger
      it synchronously and expect the error. For example, a jasmine test
      could write expect(() => TestBed.inject(ApplicationRef).tick()).toThrow()
    • TestBed will reject any outstanding ComponentFixture.whenStable promises. A jasmine test,
      for example, could write expectAsync(fixture.whenStable()).toBeRejected().

    As a last resort, you can configure errors to not be rethrown by
    setting rethrowApplicationErrors to false in TestBed.configureTestingModule.

  • The timers that are used for zone coalescing and hybrid
    mode scheduling (which schedules an application state synchronization
    when changes happen outside the Angular zone) will now run in the zone
    above Angular rather than the root zone. This will mostly affect tests
    which use fakeAsync: these timers will now be visible to fakeAsync
    and can be affected by tick or flush.

  • The deprecated factories property in KeyValueDiffers has been removed.

elements
  • as part of switching away from custom CD behavior to the
    hybrid scheduler, timing of change detection around custom elements has
    changed subtly. These changes make elements more efficient, but can cause
    tests which encoded assumptions about how or when elements would be checked
    to require updating.
localize
  • The name option in the ng add @localize`` schematic has been removed in favor of the project option.
platform-browser
  • The deprecated BrowserModule.withServerTransition method has been removed. Please use the APP_ID DI token to set the application id instead.
router
  • The Router.errorHandler property has been removed.
    Adding an error handler should be configured in either
    withNavigationErrorHandler with provideRouter or the errorHandler
    property in the extra options of RouterModule.forRoot. In addition,
    the error handler cannot be used to change the return value of the
    router navigation promise or prevent it from rejecting. Instead, if you
    want to prevent the promise from rejecting, use resolveNavigationPromiseOnError.
  • The return type of the Resolve interface now includes
    RedirectCommand.
common
Commit Type Description
24c6373820 feat add optional rounded transform support in cloudinary image loader (#​55364)
50f08e6c4b feat automatically use sizes auto in NgOptimizedImage (#​57479)
13c13067bc feat disable keyvalue sorting using null compareFn (#​57487)
compiler
Commit Type Description
a2e4ee0cb3 feat add diagnostic for unused standalone imports (#​57605)
0c9d721ac1 feat add support for the typeof keyword in template expressions. (#​58183)
09f589f000 fix this.a should always refer to class property a (#​55183)
98804fd4be fix add more specific matcher for hydrate never block (#​58360)
b25121ee4a fix avoid having to duplicate core environment (#​58444)
560282aa9b fix control flow nodes with root at the end projected incorrectly (#​58607)
2be161d015 fix fix :host parsing in pseudo-selectors (#​58681)
806a61b5a6 fix fix multiline selectors (#​58681)
a3cb530d84 fix handle typeof expressions in serializer (#​58217)
ba4340875a fix ignore placeholder-only i18n messages (#​58154)
e5d3abb298 fix resolve :host:host-context(.foo) (#​58681)
80f56954ce fix transform chained pseudo-selectors (#​58681)
compiler-cli
Commit Type Description
d9687f43dd feat 'strictStandalone' flag enforces standalone (#​57935)
9e87593055 feat ensure template style elements are preprocessed as inline styles (#​57429)
231e6ff6ca feat generate the HMR replacement module (#​58205)
dbe612f2cd fix disable standalone by default on older versions of Angular (#​58405)
d4d76ead80 fix do not fail fatal when references to non-existent module are discovered (#​58515)
33fe252c58 fix do not report unused declarations coming from an imported array (#​57940)
fb44323c51 fix incorrectly generating relative file paths on case-insensitive platforms (#​58150)
22cd6869ef fix make the unused imports diagnostic easier to read (#​58468)
9bbb01c85e fix report individual diagnostics for unused imports (#​58589)
4716c3b966 perf reduce duplicate component style resolution (#​57502)
core
Commit Type Description
6ea8e1e9aa feat Add a schematics to migrate to standalone: false. (#​57643)
3ebe6b4ad4 feat Add async run method on ExperimentalPendingTasks (#​56546)
69fc5ae922 feat Add incremental hydration public api (#​58249)
8ebbae88ca feat Add rxjs operator prevent app stability until an event (#​56533)
19edf2c057 feat add syntactic sugar for initializers (#​53152)
c93b510f9b feat allow passing undefined without needing to include it in the type argument of input (#​57621)
ab25a192ba feat allow running output migration on a subset of paths (#​58299)
fc59e2a7b7 feat change effect() execution timing & no-op allowSignalWrites (#​57874)
8bcc663a53 feat drop support for TypeScript 5.4 (#​57577)
18d8d44b1f feat experimental resource() API for async dependencies (#​58255)
9762b24b5e feat experimental impl of rxResource() (#​58255)
6b8c494d05 feat flipping the default value for standalone to true (#​58169)
e6e5d29e83 feat initial version of the output migration (#​57604)
be2e49639b feat introduce afterRenderEffect (#​57549)
ec386e7f12 feat introduce debugName optional arg to framework signal functions (#​57073)
8311f00faa feat introduce the reactive linkedSignal (#​58189)
1b1519224d feat mark input, output and model APIs as stable (#​57804)
a7eff3ffaa feat mark signal-based query APIs as stable (#​57921)
a1f229850a feat migrate ExperimentalPendingTasks to PendingTasks (#​57533)
3f1e7ab6ae feat promote outputFromObservable & outputToObservable to stable. (#​58214)
97c44a1d6c feat Promote takeUntilDestroyed to stable. (#​58200)
e5adf92965 feat stabilize @let syntax (#​57813)
b063468027 feat support TypeScript 5.6 (#​57424)
819ff034ce feat treat directives, pipes, components as by default (#​58229)
ee426c62f0 fix allow signal write error (#​57973)
c095679f92 fix avoid breaking change with apps using rxjs 6.x (#​58341)
71ee81af2c fix clean up event contract once hydration is done (#​58174)
f03d274e87 fix ComponentFixture autoDetect feature works like production (#​55228)
950a5540f1 fix Ensure the ViewContext is retained after closure minification (#​57903)
7b1e5be20b fix fallback to default ng-content with empty projectable nodes. (#​57480)
0300dd2e18 fix Fix fixture.detectChanges with autoDetect disabled and zoneless (#​57416)
5fe57d4fbb fix fixes issues with control flow and incremental hydration (#​58644)
51933ef5a6 fix prevent errors on contract cleanup (#​58614)
fd7716440b fix Prevents trying to trigger incremental hydration on CSR (#​58366)
656b5d3e78 fix Re-assign error codes to be within core bounds (<1000) (#​53455)
6e0af6dbbb fix resolve forward-referenced host directives during directive matching (#​58492)
468d3fb9b1 fix rethrow errors during ApplicationRef.tick in TestBed (#​57200)
226a67dabb fix Schedulers run in zone above Angular rather than root (#​57553)
97fb86d331 perf set encapsulation to None for empty component styles (#​57130)
c15ec36bd1 refactor remove deprecated factories Property in KeyValueDiffers (#​58064)
elements
Commit Type Description
fe5c4e086a fix support output()-shaped outputs (#​57535)
0cebfd7462 fix switch to ComponentRef.setInput & remove custom scheduler (#​56728)
forms
Commit Type Description
3e7d724037 feat add ability to clear a FormRecord (#​50750)
18b6f3339f fix fix FormRecord type inference (#​50750)
http
Commit Type Description
4b9accdf16 feat promote withRequestsMadeViaParent to stable. (#​58221)
057cf7fb6b fix preserve all headers from Headers object (#​57802)
language-service
Commit Type Description
8da9fb49b5 feat add code fix for unused standalone imports (#​57605)
1f067f4507 feat add code reactoring action to migrate @Input to signal-input (#​57214)
56ee47f2ec feat allow code refactorings to compute edits asynchronously (#​57214)
bc83fc1e2e feat support converting to signal queries in VSCode extension (#​58106)
5c4305f024 feat support migrating full classes to signal inputs in VSCode (#​57975)
6342befff8 feat support migrating full classes to signal queries (#​58263)
7ecfd89592 fix The suppress diagnostics option should work for external templates (#​57873)
localize
Commit Type Description
9c3bd1b5d1 refactor remove deprecated name option. (#​58063)
migrations
Commit Type Description
dff4de0f75 feat add a combined migration for all signals APIs (#​58259)
b6bc93803c feat add schematic to migrate to signal queries (#​58032)
2bfc64daf1 feat expose output as function migration (#​58299)
59fe9bc772 feat introduce signal input migration as ng generate schematic (#​57805)
90c7ec39a0 fix inject migration always inserting generated variables before super call (#​58393)
7a65cdd911 fix inject migration not inserting generated code after super call in some cases (#​58393)
c1aa411cf1 fix properly resolve tsconfig paths on windows (#​58137)
e26797b38e fix replace removed NgModules in tests with their exports (#​58627)
platform-browser
Commit Type Description
c36a1c023b fix correctly add external stylesheets to ShadowDOM components (#​58482)
5c61f46409 refactor remove deprecated BrowserModule.withServerTransition method (#​58062)
platform-server
Commit Type Description
9e82559de4 fix destroy PlatformRef when error happens during the bootstrap() phase (#​58112)
router
Commit Type Description
f271021e19 feat Add routerOutletData input to RouterOutlet directive (#​57051)
b2790813a6 fix Align RouterModule.forRoot errorHandler with provider error handler (#​57050)
a49c35ec76 fix remove setter for injector on OutletContext (#​58343)
7436d3180e fix Update Resolve interface to include RedirectCommand like ResolveFn (#​57309)
service-worker
Commit Type Description
8ddce80a0b feat allow specifying maxAge for entire application (#​49601)
1479af978c feat finish implementation of refreshAhead feature (#​53356)

Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Nov 16, 2024
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Nov 16, 2024
@angular-robot angular-robot force-pushed the ng-renovate/angular branch 9 times, most recently from 2aee118 to 43492b5 Compare November 19, 2024 16:20
@dgp1130 dgp1130 merged commit 19b21d2 into angular:main Nov 19, 2024
41 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants