Skip to content

build: update angular #30018

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

Closed

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented Apr 3, 2025

This PR contains the following updates:

Package Type Update Change
@angular/animations dependencies digest 64fa492 -> a738f88
@angular/animations (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/cdk dependencies digest 0e88de0 -> 2f4096e
@angular/cdk devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/common dependencies digest 908459b -> f82f9da
@angular/common (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/compiler dependencies digest b1d89ff -> 3820801
@angular/compiler (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/compiler-cli dependencies digest 02b648d -> 5341503
@angular/compiler-cli (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/core dependencies digest df98069 -> 39fa08d
@angular/core (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/forms dependencies digest df47e65 -> 1140b4d
@angular/forms (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/language-service dependencies digest 1cd0e44 -> 7ae72fb
@angular/localize dependencies digest 05c5399 -> b5430b9
@angular/localize devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/material dependencies digest f78d1e4 -> 7baa57c
@angular/material devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/material-moment-adapter dependencies digest 8f906c6 -> 29374c0
@angular/ng-dev devDependencies digest 10732a8 -> 55e081c
@angular/platform-browser dependencies digest 70477a4 -> 5e5398d
@angular/platform-browser (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/platform-browser-dynamic dependencies digest 0477f8e -> 03f0448
@angular/platform-server dependencies digest b4fc7dc -> 1c2bb1c
@angular/platform-server (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/router dependencies digest 9a7e3e4 -> 08e5edc
@angular/router (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
@angular/service-worker dependencies digest c0eb717 -> e1724fd
@angular/service-worker (source) devDependencies patch 20.0.0-next.4 -> 20.0.0-next.5
angular/dev-infra action digest b3b3466 -> f172f3f

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


Release Notes

angular/angular (@​angular/animations)

v20.0.0-next.5

Compare Source

Breaking Changes

core
    • Angular no longer supports Node.js v18.
    • Node.js versions 22.0 to 22.10 are also no longer supported.
      Before upgrading to Angular v20, ensure the Node.js version is at least 20.11.1.
      For the full list of supported versions, visit: https://angular.dev/reference/versions
  • Uncaught errors in listeners which were previously only reported to
    ErrorHandler are now also reported to Angular's internal error
    handling machinery. For tests, this means that the error will be
    rethrown by default rather than only logging the error. Developers
    should fix these errors, catch them in the test if the test is
    intentionally covering an error case, or use rethrowApplicationErrors: false in configureTestingModule as a last resort.
router
  • The guards arrays on Route no longer include any in
    the type union. The union includes functions for the functional guards
    as well as a type matching Injector.get: ProviderToken<T>|string.
    Note that string is still deprecated on both the route guards and
    Injector.get.

Deprecations

core
  • ngIf/ngFor/ngSwitch are deprecated. Use the control flow blocks instead (@for/@if/@switch).
Commit Type Description
a7d1293f75 fix step 6 tutorial docs (#​60630)
animations
Commit Type Description
5eccf3a5e5 fix add missing peer dependency on @angular/common (#​60660)
compiler
Commit Type Description
8b990a31c3 fix error if rawText isn't estimated correctly (#​60529)
e6d2afbfb9 fix throw for invalid "as" expression in if block (#​60580)
compiler-cli
Commit Type Description
1e6faad479 fix correctly parse event name in HostListener (#​60561)
5948cd03c5 fix Produce fatal diagnostic on duplicate decorated properties (#​60376)
7e03af898e fix set correct target when type checking events (#​60561)
9f18c7cc74 fix support relative imports to symbols outside rootDir (#​60555)
core
Commit Type Description
a4bad8d361 feat export signalGetFn from signal primitives (#​60497)
7ccec1494f feat move DOCUMENT token into core (#​60663)
fe9b79b615 feat update Node.js version support (#​60545)
5f7f04634f fix call DestroyRef on destroy callback if view is destroyed (#​58008)
765ba1e181 fix check ngDevMode for undefined (#​60565)
7b819be83f fix Ensure errors in listeners report to the application error handler (#​60251)
cdbc6e8ec1 fix fix ng generate @​angular/core:output-migration (#​60626)
fd5c981a29 fix fix regexp for event types (#​60592)
6acce7ca2a fix fixes #​592882 ng generate @​angular/core:signal-queries-migration (#​60688)
0cd7d3bdf0 fix preserve comments in internal inject migration (#​60588)
005ad65b1f fix prevent omission of deferred pipes in full compilation (#​60571)
1c7b356625 fix release hasPendingTasks observers (#​59723)
43cbc58254 fix remove forceRoot flag for effects (#​60535)
a611b234d7 fix run root effects in creation order (#​60534)
b407157ee8 refactor Deprecate the structural directives ngIf/ngFor/ngSwitch. (#​60492)
forms
Commit Type Description
a07ee60989 feat add markAllAsDirty to AbstractControl (#​58663)
bdfbd54932 feat Allow to reset a form without emitting events (#​60354)
language-service
Commit Type Description
ea62a4f317 fix Update adapter to log instead of throw errors (#​60651)
migrations
Commit Type Description
0c53970aeb fix handle shorthand assignments in super call (#​60602)
3ff48b6467 fix inject migration not handling super parameter referenced via this (#​60602)
router
Commit Type Description
0bb4bd661e feat Add ability to directly abort a navigation (#​60380)
ff98ccb193 feat support custom elements for RouterLink (#​60290)
1226eaad51 fix Add missing types to transition (#​60307)
c57951d58f fix Remove 'any' type from route guards (#​60378)
service-worker
Commit Type Description
4546d4fb39 fix assign initializing client's app version, when a request is for worker script (#​58131)
angular/components (@​angular/cdk)

v20.0.0-next.5

Compare Source

cdk
Commit Type Description
f9973ee231 fix overlay: use MutationObserver to detach overlay (#​30703)
1372f52ae6 perf drag-drop: fix performance regression when destroying items (#​30751)
material
Commit Type Description
3daa360300 feat core: introduce custom token for controlling animations (#​30749)
907815dc5c fix checkbox: hardcode token renames (#​30752)
e9b015737c fix form-field: move error aria-live to parent container (#​30678)
ec538b598b fix form-field: use ResizeObserver for label offset calculation (#​30702)
2d86ad441e fix slider: fix clobbered token for hover/focus/pressed (#​30754)
40d0ab4fc7 fix snack-bar: rename snackbar token prefix (#​30750)
387313fc41 fix tabs: allow ID to be set on tab (#​30768)
cdk-experimental
Commit Type Description
149fe6129c fix popover-edit: use MutationObserver to detect table rows (#​30713)
4bf3591c77 fix ui-patterns: add modifier checks for regexps (#​30738)
dd69023340 perf column-resize: improve hover responsiveness of… (#​30708)
multiple
Commit Type Description
590971359f fix remove backwards-compatibility code (#​30747)

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 Apr 3, 2025
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Apr 3, 2025
@angular-robot angular-robot force-pushed the ng-renovate/angular branch 4 times, most recently from cf34a93 to fdb1f6a Compare April 3, 2025 17:04
@jkrems
Copy link
Contributor

jkrems commented Apr 3, 2025

Looks like what happens is that the function name doesn't appear because it gets minified?

// [...]
      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_1__.ay();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__.dZ(0, "svg", 0)(1, "text", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__.fH(2, "Hello World");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__.dY()();
      }
// [...]

Previously this was:

      if (rf & 1) {
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "svg", 0)(1, "text", 1);
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "Hello World");
        _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
      }

@angular-robot angular-robot force-pushed the ng-renovate/angular branch 7 times, most recently from 55e8062 to 6534ae8 Compare April 4, 2025 00:05
@jkrems jkrems mentioned this pull request Apr 4, 2025
@jkrems
Copy link
Contributor

jkrems commented Apr 4, 2025

Sending a fixed PR with required test update: #30024

@angular-robot angular-robot force-pushed the ng-renovate/angular branch 3 times, most recently from 9f386ed to a40b0b0 Compare April 4, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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