Skip to content

Deprecate BootstrapOptions for configuring NgZone on bootstrapModule #62690

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Jul 17, 2025

This deprecates BootstrapOptions since NgZone can now be configured
in the providers. This is a necessary step because when zoneless becomes
the default, developers will have to add ZoneJS via
provideZoneChangeDetection and that will override anything defined in
BootstrapOptions.

This deprecates `BootstrapOptions` since `NgZone` can now be configured
in the providers. This is a necessary step because when zoneless becomes
the default, developers will have to add ZoneJS via
`provideZoneChangeDetection` and that will override anything defined in
`BootstrapOptions`.
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: docs Related to the documentation area: core Issues related to the framework runtime labels Jul 17, 2025
@ngbot ngbot bot added this to the Backlog milestone Jul 17, 2025
…pModule to providers

This adds a migration for moving the ZoneJS configuration from
`bootstrapModule` to the providers of the module being bootstrapped.
@atscott atscott force-pushed the deprecatebootstrapOptions branch from 3399da1 to 7cfaf7e Compare July 17, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues related to the framework runtime area: docs Related to the documentation detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant