Skip to content

feat(core): move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig#60906

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:exhaustivecnc2
Closed

feat(core): move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig#60906
atscott wants to merge 1 commit intoangular:mainfrom
atscott:exhaustivecnc2

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Apr 17, 2025

This commit makes several changes changes to the
provideExperimentalCheckNoChangesForDebug API:

  • Rename it
  • Promote to dev preview
  • Apply the exhaustive behavior to all checkNoChanges runs
  • Remove useNgZoneOnStable option. This wasn't found to be generally
    more useful than interval

fixes #45612

BREAKING CHANGE: provideExperimentalCheckNoChangesForDebug has several
breaking changes:

  • It is renamed to provideCheckNoChangesConfig
  • The behavior applies to all checkNoChanges runs
  • The useNgZoneOnStable option is removed. This wasn't found to be generally
    more useful than interval

@angular-robot angular-robot bot added detected: breaking change PR contains a commit with a breaking change detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Apr 17, 2025
@ngbot ngbot bot added this to the Backlog milestone Apr 17, 2025
@atscott atscott force-pushed the exhaustivecnc2 branch 4 times, most recently from 6bc0081 to ca4b7be Compare April 18, 2025 18:52
@atscott atscott added the target: major This PR is targeted for the next major release label Apr 18, 2025
@atscott atscott marked this pull request as ready for review April 18, 2025 18:54
@pullapprove pullapprove bot requested review from alxhub, crisbeto and mmalerba April 18, 2025 18:54
@atscott atscott changed the title feat(core): provideExhaustiveCheckNoChangesForDebug feat(core): move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig Apr 18, 2025
@atscott atscott modified the milestones: Backlog, v20 candidates Apr 22, 2025
Copy link
Copy Markdown
Member

@alxhub alxhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: global-approvers

Copy link
Copy Markdown
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

Copy link
Copy Markdown
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

…ideCheckNoChangesConfig`

This commit makes several changes changes to the
`provideExperimentalCheckNoChangesForDebug` API:

* Rename it
* Promote to dev preview
* Apply the exhaustive behavior to _all_ checkNoChanges runs
* Remove `useNgZoneOnStable` option. This wasn't found to be generally
  more useful than `interval`

fixes angular#45612

BREAKING CHANGE: `provideExperimentalCheckNoChangesForDebug` has several
breaking changes:
* It is renamed to `provideCheckNoChangesConfig`
* The behavior applies to _all_ checkNoChanges runs
* The `useNgZoneOnStable` option is removed. This wasn't found to be generally
  more useful than `interval`
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Apr 23, 2025

caretaker note: this will require a patch to the components gallery, which uses the old provider name.

@atscott atscott added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Apr 24, 2025
@mmalerba mmalerba removed the request for review from crisbeto April 24, 2025 20:03
@mmalerba
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit e711f99.

The changes were merged into the following branches: main

@mmalerba mmalerba closed this in e711f99 Apr 24, 2025
mmalerba added a commit to mmalerba/angular that referenced this pull request Apr 26, 2025
…to `provideCheckNoChangesConfig` (angular#60906)"

This reverts commit e711f99.
@angular-automatic-lock-bot
Copy link
Copy Markdown

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 May 25, 2025
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: core Issues related to the framework runtime detected: breaking change PR contains a commit with a breaking change detected: feature PR contains a feature commit merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExpressionChangedAfterItHasBeenCheckedError is not thrown if ChangeDetection.OnPush is used

5 participants