Skip to content

Comments

fix: version selector shows v21 instead of next in dev mode#1146

Merged
lacolaco merged 1 commit intoangular:mainfrom
lacolaco:fix/version-selector-next
Feb 24, 2026
Merged

fix: version selector shows v21 instead of next in dev mode#1146
lacolaco merged 1 commit intoangular:mainfrom
lacolaco:fix/version-selector-next

Conversation

@lacolaco
Copy link
Collaborator

Summary

  • バージョンセレクタが開発モードで「next」ではなく「v21」を表示するように修正
  • versions.jsonのv21エントリをangular.jpに向けるように更新

変更内容

version-manager.service.tscurrentDocsVersionVERSION.major === '0'(開発モード)の場合にnextを返していた問題を修正。Angular.jpでは常に安定版(v21)を表示するように変更。

チェックリスト

  • pnpm test でパッチが正常に適用されることを確認
  • ローカルサーバーでバージョンセレクタが「v21」を表示することをPlaywrightで確認

The version-manager.service was returning 'next' when VERSION.major
was '0' (development mode). Updated the patch to return 'v21' for
Angular.jp in dev mode.

Also updated versions.json to point v21 to angular.jp instead of v20.
@github-actions
Copy link

Deployed adev-preview for a71b129 to: https://angular-ja--pr-angular-angular-ja-1146-adev-preview-vlcb2bci.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@lacolaco lacolaco merged commit b10d8b1 into angular:main Feb 24, 2026
6 checks passed
@lacolaco lacolaco deleted the fix/version-selector-next branch February 24, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant