Skip to content

Merge branch dev with rel-10.5#25736

Merged
voloagent merged 2 commits into
devfrom
auto-merge/rel-10-5/4690
Jul 1, 2026
Merged

Merge branch dev with rel-10.5#25736
voloagent merged 2 commits into
devfrom
auto-merge/rel-10-5/4690

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR generated automatically to merge dev with rel-10.5. Please review the changed files before merging to prevent any errors that may occur.

sumeyyeKurtulus and others added 2 commits July 1, 2026 15:13
Angular - Enhancing the locale loading mechanism and adding a fallback
@voloagent voloagent marked this pull request as ready for review July 1, 2026 17:09
Copilot AI review requested due to automatic review settings July 1, 2026 17:10
@voloagent voloagent merged commit 0fbb353 into dev Jul 1, 2026
1 of 2 checks passed
@voloagent voloagent deleted the auto-merge/rel-10-5/4690 branch July 1, 2026 17:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR syncs the Angular core package’s locale-loading utilities between dev and rel-10.5, improving ESBuild compatibility for locale imports and adding coverage to prevent regressions.

Changes:

  • Refactored ESBuild locale loading to use a shared hard-coded loader map and to consistently go through the locale loader/error-handler path.
  • Expanded the supported locale set (e.g., ja, ko, th, vi) for both ESBuild loaders and the webpack webpackInclude filter.
  • Added a dedicated unit test suite covering supported locales, unsupported-locale behavior, and stored-locale fallback.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
npm/ng-packs/packages/core/src/lib/tests/register-locale.spec.ts Adds tests for registerLocaleForEsBuild behavior (supported, unsupported, stored fallback).
npm/ng-packs/packages/core/locale/src/utils/register-locale.ts Centralizes ESBuild locale loaders, enforces explicit “supported locale” detection, and expands webpack locale include list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants