Skip to content

Conversation

alan-agius4
Copy link
Collaborator

Importing @angular/localize/init directly can cause unpredictable behavior, as highlighted in multiple reports:

@alan-agius4 alan-agius4 requested a review from clydin January 8, 2025 15:52
@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Jan 8, 2025
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 8, 2025
…irectly

Importing `@angular/localize/init` directly can cause unpredictable behavior, as highlighted in multiple reports:
- angular/angular#59422
- angular/angular#48545
- angular/angular#59405

This update introduces a warning to alert developers of the potential risks associated with direct imports.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 8, 2025
@alan-agius4 alan-agius4 merged commit bfe9ee3 into angular:main Jan 8, 2025
31 checks passed
@alan-agius4 alan-agius4 deleted the warn-localize-init branch January 8, 2025 16:28
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 19.0.x

@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 Feb 8, 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: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants