Skip to content

Commit 435c995

Browse files
authored
feat: update origin to 4d985a179e (Angular v22.1.1) (#1197)
* chore: update origin to 4d985a179e * fix: migrate untranslated files * fix(docs): retranslate updated sections in src/content/guide/aria * fix(docs): retranslate updated sections in src/content/ai * chore(docs): reset rewritten pages to upstream English in src/content/ai * fix(docs): retranslate updated sections in src/content/events * fix(docs): apply upstream wording changes in src/content/events * fix(app): translate new update-guide steps and update the cookie popup markup * fix(app): update navigation entries and home template for v22.1 * fix(docs): apply upstream wording changes in src/content/guide/signals * chore(docs): insert new upstream sections untranslated in src/content/guide/signals * fix(docs): mirror upstream code and link changes in src/content/best-practices * fix(docs): apply upstream wording changes in src/content/guide/templates * fix(docs): retranslate updated sections in src/content/guide/templates * fix(docs): mirror upstream code and link changes in src/content/guide/templates * chore(docs): insert new upstream sections untranslated in src/content/guide/templates * fix(docs): apply upstream wording changes in src/content/guide/di * fix(docs): retranslate updated sections in src/content/guide/di * fix(docs): apply upstream wording changes in src/content/guide/forms * fix(docs): mirror upstream code and link changes in src/content/guide/forms * fix(docs): apply upstream wording changes in src/content/guide/forms/signals * fix(docs): retranslate updated sections in src/content/guide/forms/signals * chore(docs): insert new upstream sections untranslated in src/content/guide/forms/signals * fix(docs): apply upstream wording changes in src/content/guide/http * fix(docs): retranslate updated sections in src/content/guide/http * fix(docs): mirror upstream code and link changes in src/content/guide/routing * fix(docs): apply upstream wording changes in src/content/guide/routing * fix(docs): retranslate updated sections in src/content/guide/routing * fix(docs): mirror upstream code and link changes in src/content/guide/testing * fix(docs): apply upstream wording changes in src/content/guide/testing * fix(docs): retranslate updated sections in src/content/guide/testing * chore(docs): insert new upstream sections untranslated in src/content/guide/testing * fix(docs): apply upstream wording changes in src/content/guide * fix(docs): retranslate updated sections in src/content/guide * chore(docs): insert new upstream sections untranslated in src/content/guide * fix(docs): apply upstream wording changes in src/content/guide/animations * fix(docs): apply upstream wording changes in src/content/introduction * fix(docs): apply upstream wording changes in src/content/introduction/essentials * chore(docs): insert new upstream sections untranslated in src/content/introduction/essentials * fix(docs): retranslate updated sections in src/content/reference * fix(docs): update roadmap for the v22.1 release * fix(docs): mirror upstream code and link changes in src/content/reference/errors * fix(docs): apply upstream wording changes in src/content/reference/errors * fix(docs): retranslate updated sections in src/content/tools/cli * fix(docs): apply upstream wording changes in src/content/tutorials/learn-angular/intro * fix(docs): retranslate updated sections in src/content/tutorials/learn-angular/steps/19-creating-an-injectable-service * fix(docs): apply upstream wording changes in src/content/tutorials/learn-angular/steps/25-next-steps * fix(docs): apply upstream wording changes in src/content/tutorials/signal-forms/intro * fix(docs): apply upstream wording changes in src/content/tutorials/signal-forms/steps/6-next-steps * fix(docs): apply upstream wording changes in src/content/tutorials/signals/intro * fix(docs): apply upstream wording changes in src/content/tutorials/signals/steps/11-next-steps * fix(docs): mirror upstream code and link changes in src/content/tutorials/signals/steps/7-using-signals-with-services * fix(docs): mirror upstream code and link changes in src/content/guide/components * fix(docs): retranslate updated sections in src/content/guide/components * chore(docs): insert new upstream sections untranslated in src/content/guide/components * fix(docs): retranslate updated sections in src/content/guide/directives * chore(docs): reset rewritten pages to upstream English in src/content/guide/directives * fix(docs): retranslate updated API section in guide/aria/combobox * fix(docs): add explicit anchor IDs to translated headings Angular v22.1 adds a link validator to the API docs rendering pipeline (validateGuideUrl). It resolves every guide link with a fragment against the anchors the page actually exposes. Japanese headings without an explicit {#id} generate a Japanese-text ID, so 42 links from upstream JsDoc no longer resolved and the build failed. Anchor IDs are derived from the English heading at the same line index.
1 parent 4820795 commit 435c995

225 files changed

Lines changed: 4222 additions & 3605 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

adev-ja/shared-docs/components/cookie-popup/cookie-popup.component.en.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
@if (!hasAccepted()) {
22
<div class="docs-cookies-popup docs-invert-mode">
3-
<p>This site uses cookies from Google to deliver its services and to analyze traffic.</p>
3+
<div class="docs-cookies-popup-header">
4+
<img
5+
class="docs-cookies-popup-angie"
6+
src="assets/images/angie/greeting.svg"
7+
alt=""
8+
aria-hidden="true"
9+
/>
10+
<p>This site uses cookies from Google to deliver its services and to analyze traffic.</p>
11+
</div>
412

5-
<div>
13+
<div class="docs-cookies-popup-actions">
614
<a
715
href="https://policies.google.com/technologies/cookies"
816
target="_blank"

adev-ja/shared-docs/components/cookie-popup/cookie-popup.component.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
@if (!hasAccepted()) {
22
<div class="docs-cookies-popup docs-invert-mode">
3-
<p>このサイトでは、サービスの提供とトラフィックの分析のためにGoogleのクッキーを使用しています。</p>
3+
<div class="docs-cookies-popup-header">
4+
<img
5+
class="docs-cookies-popup-angie"
6+
src="assets/images/angie/greeting.svg"
7+
alt=""
8+
aria-hidden="true"
9+
/>
10+
<p>このサイトでは、サービスの提供とトラフィックの分析のためにGoogleのクッキーを使用しています。</p>
11+
</div>
412

5-
<div>
13+
<div class="docs-cookies-popup-actions">
614
<a
715
href="https://policies.google.com/technologies/cookies"
816
target="_blank"

adev-ja/src/app/features/home/home.component.en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h2>Want to learn more about Angular?</h2>
228228
<section class="learn-more-bottom-section" id="bottom">
229229
<div class="pattern"></div>
230230
<div class="content">
231-
<h2>Want to learn more about Angular ?</h2>
231+
<h2>Want to learn more about Angular?</h2>
232232
<button
233233
class="docs-primary-btn"
234234
[attr.text]="'Learn more'"

adev-ja/src/app/features/update/recommendations.en.ts

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export const RECOMMENDATIONS: Step[] = [
245245
level: ApplicationComplexity.Basic,
246246
step: 'node 8',
247247
action:
248-
'Make sure you are using [Node 8 or later](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
248+
'Make sure you are using [Node 8 or later](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
249249
},
250250
{
251251
possibleIn: 600,
@@ -486,7 +486,7 @@ export const RECOMMENDATIONS: Step[] = [
486486
level: ApplicationComplexity.Basic,
487487
step: 'node 10',
488488
action:
489-
'Make sure you are using [Node 10 or later](http://www.hostingadvice.com/how-to/update-node-js-latest-version/).',
489+
'Make sure you are using [Node 10 or later](https://www.hostingadvice.com/how-to/update-node-js-latest-version/).',
490490
},
491491
{
492492
possibleIn: 800,
@@ -579,7 +579,7 @@ export const RECOMMENDATIONS: Step[] = [
579579
level: ApplicationComplexity.Basic,
580580
step: 'node 10.13',
581581
action:
582-
'Make sure you are using [Node 10.13 or later](http://www.hostingadvice.com/how-to/update-node-js-latest-version/).',
582+
'Make sure you are using [Node 10.13 or later](https://www.hostingadvice.com/how-to/update-node-js-latest-version/).',
583583
},
584584
{
585585
possibleIn: 900,
@@ -708,7 +708,7 @@ export const RECOMMENDATIONS: Step[] = [
708708
level: ApplicationComplexity.Advanced,
709709
step: 'wtf',
710710
action:
711-
'Support for web tracing framework in Angular was deprecated in version 8. You should stop using any of the `wtf*` APIs. To do performance tracing, we recommend using [browser performance tools](https://developers.google.com/web/tools/lighthouse/audits/user-timing).',
711+
'Support for web tracing framework in Angular was deprecated in version 8. You should stop using any of the `wtf*` APIs. To do performance tracing, we recommend using [browser performance tools](https://developer.chrome.com/docs/lighthouse/performance/user-timings).',
712712
},
713713
{
714714
possibleIn: 800,
@@ -780,7 +780,7 @@ export const RECOMMENDATIONS: Step[] = [
780780
level: ApplicationComplexity.Medium,
781781
step: '$localize',
782782
action:
783-
"If you use [Angular's i18n support](http://angular.io/guide/i18n), you will need to begin using `@angular/localize`. Learn more about the [$localize Global Import Migration](https://v9.angular.io/guide/migration-localize).",
783+
"If you use [Angular's i18n support](https://angular.io/guide/i18n), you will need to begin using `@angular/localize`. Learn more about the [$localize Global Import Migration](https://v9.angular.io/guide/migration-localize).",
784784
},
785785

786786
{
@@ -981,7 +981,7 @@ export const RECOMMENDATIONS: Step[] = [
981981
level: ApplicationComplexity.Basic,
982982
step: 'v11 browser support',
983983
action:
984-
'Support for IE9, IE10, and IE mobile has been removed. This was announced in the [v10 update](http://blog.angular.dev/version-10-of-angular-now-available-78960babd41#c357). ',
984+
'Support for IE9, IE10, and IE mobile has been removed. This was announced in the [v10 update](https://blog.angular.dev/version-10-of-angular-now-available-78960babd41#c357). ',
985985
},
986986
{
987987
possibleIn: 1100,
@@ -1348,7 +1348,7 @@ export const RECOMMENDATIONS: Step[] = [
13481348
level: ApplicationComplexity.Basic,
13491349
step: 'v13 node',
13501350
action:
1351-
'Make sure you are using [Node 12.20.0 or later](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
1351+
'Make sure you are using [Node 12.20.0 or later](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
13521352
},
13531353
{
13541354
possibleIn: 1300,
@@ -1471,7 +1471,7 @@ export const RECOMMENDATIONS: Step[] = [
14711471
level: ApplicationComplexity.Basic,
14721472
step: 'v14 node',
14731473
action:
1474-
'Make sure you are using [Node 14.15.0 or later](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
1474+
'Make sure you are using [Node 14.15.0 or later](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)',
14751475
},
14761476
{
14771477
possibleIn: 1400,
@@ -2542,6 +2542,14 @@ export const RECOMMENDATIONS: Step[] = [
25422542
possibleIn: 1900,
25432543
step: '19.0.0-update-fakeasync-to-flush-pending-timers',
25442544
},
2545+
{
2546+
action:
2547+
'Remove the `allowSignalWrites` option from `effect()` calls. The option is deprecated and no longer required, as signal writes inside effects are allowed by default.',
2548+
level: ApplicationComplexity.Medium,
2549+
necessaryAsOf: 1900,
2550+
possibleIn: 1900,
2551+
step: '19.0.0-remove-allow-signal-writes',
2552+
},
25452553
{
25462554
action:
25472555
"In the application's project directory, run `ng update @angular/core@20 @angular/cli@20` to update your application to Angular v20.",
@@ -2781,6 +2789,15 @@ export const RECOMMENDATIONS: Step[] = [
27812789
step: 'update @angular/material',
27822790
action: 'Run `ng update @angular/material@21`.',
27832791
},
2792+
{
2793+
possibleIn: 2100,
2794+
necessaryAsOf: 2100,
2795+
level: ApplicationComplexity.Medium,
2796+
material: true,
2797+
step: '21.0.0-cdk-overlay-top-layer-stacking',
2798+
action:
2799+
"CDK overlays can now render in the browser's native top layer, causing elements that previously appeared above Material overlays via `z-index` to render beneath them. You can restore the previous behavior by providing `OVERLAY_DEFAULT_CONFIG` from `@angular/cdk/overlay` with the value `{usePopover: false}`.",
2800+
},
27842801
{
27852802
possibleIn: 2100,
27862803
necessaryAsOf: 2100,
@@ -2998,6 +3015,14 @@ export const RECOMMENDATIONS: Step[] = [
29983015
action:
29993016
'Angular expressions with optional chaining (`?.`) now return `undefined` instead of `null`. You can use the `$safeNavigationMigration()` magic function to revert to the previous behavior.',
30003017
},
3018+
{
3019+
possibleIn: 2200,
3020+
necessaryAsOf: 2200,
3021+
level: ApplicationComplexity.Medium,
3022+
step: '22.0.0-resource-stream-synchronous-resolution',
3023+
action:
3024+
'The `stream` property on `Resource`, including `rxResource`, now resolves synchronously when the stream or observable emits synchronously. Tests that assumed asynchronous resolution may need to wait for the value immediately instead.',
3025+
},
30013026
{
30023027
possibleIn: 2200,
30033028
necessaryAsOf: 2200,
@@ -3030,6 +3055,14 @@ export const RECOMMENDATIONS: Step[] = [
30303055
action:
30313056
'The `reportProgress` option in HTTP requests is deprecated. Use `reportUploadProgress` or `reportDownloadProgress` instead for more explicit control over progress reporting.',
30323057
},
3058+
{
3059+
possibleIn: 2200,
3060+
necessaryAsOf: 2200,
3061+
level: ApplicationComplexity.Medium,
3062+
step: '22.0.0-deprecate-server-xhr',
3063+
action:
3064+
'XHR support in `@angular/platform-server` is deprecated and is intended to be removed in Angular 23. The underlying `xhr2` library does not safely handle redirects (e.g. it can forward `Authorization` headers on cross-origin redirects and is susceptible to DoS via redirect loops). For server-side rendering, use the default `fetch` backend instead of `withXhr()`.',
3065+
},
30333066
{
30343067
possibleIn: 2200,
30353068
necessaryAsOf: 2200,

adev-ja/src/app/features/update/recommendations.ts

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export const RECOMMENDATIONS: Step[] = [
245245
level: ApplicationComplexity.Basic,
246246
step: 'node 8',
247247
action:
248-
'[Node 8以降](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
248+
'[Node 8以降](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
249249
},
250250
{
251251
possibleIn: 600,
@@ -486,7 +486,7 @@ export const RECOMMENDATIONS: Step[] = [
486486
level: ApplicationComplexity.Basic,
487487
step: 'node 10',
488488
action:
489-
'[Node 10以降](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
489+
'[Node 10以降](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
490490
},
491491
{
492492
possibleIn: 800,
@@ -579,7 +579,7 @@ export const RECOMMENDATIONS: Step[] = [
579579
level: ApplicationComplexity.Basic,
580580
step: 'node 10.13',
581581
action:
582-
'[Node 10.13以降](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
582+
'[Node 10.13以降](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
583583
},
584584
{
585585
possibleIn: 900,
@@ -708,7 +708,7 @@ export const RECOMMENDATIONS: Step[] = [
708708
level: ApplicationComplexity.Advanced,
709709
step: 'wtf',
710710
action:
711-
'AngularでのWebトレーシングフレームワークのサポートはバージョン8で非推奨になりました。`wtf*` APIの使用をやめるべきです。パフォーマンス追跡を行うには、[ブラウザのパフォーマンスツール](https://developers.google.com/web/tools/lighthouse/audits/user-timing)の使用をお勧めします。',
711+
'AngularでのWebトレーシングフレームワークのサポートはバージョン8で非推奨になりました。`wtf*` APIの使用をやめるべきです。パフォーマンス追跡を行うには、[ブラウザのパフォーマンスツール](https://developer.chrome.com/docs/lighthouse/performance/user-timings)の使用をお勧めします。',
712712
},
713713
{
714714
possibleIn: 800,
@@ -780,7 +780,7 @@ export const RECOMMENDATIONS: Step[] = [
780780
level: ApplicationComplexity.Medium,
781781
step: '$localize',
782782
action:
783-
'[Angularのi18nサポート](http://angular.io/guide/i18n)を使用している場合、`@angular/localize`の使用を開始する必要があります。[$localizeグローバルインポートマイグレーション](https://v9.angular.io/guide/migration-localize)について詳しくはこちらを参照してください。',
783+
'[Angularのi18nサポート](https://angular.io/guide/i18n)を使用している場合、`@angular/localize`の使用を開始する必要があります。[$localizeグローバルインポートマイグレーション](https://v9.angular.io/guide/migration-localize)について詳しくはこちらを参照してください。',
784784
},
785785

786786
{
@@ -981,7 +981,7 @@ export const RECOMMENDATIONS: Step[] = [
981981
level: ApplicationComplexity.Basic,
982982
step: 'v11 browser support',
983983
action:
984-
'IE9、IE10、およびIEモバイルのサポートは削除されました。これは[v10アップデート](http://blog.angular.dev/version-10-of-angular-now-available-78960babd41#c357)で発表されました。',
984+
'IE9、IE10、およびIEモバイルのサポートは削除されました。これは[v10アップデート](https://blog.angular.dev/version-10-of-angular-now-available-78960babd41#c357)で発表されました。',
985985
},
986986
{
987987
possibleIn: 1100,
@@ -1348,7 +1348,7 @@ export const RECOMMENDATIONS: Step[] = [
13481348
level: ApplicationComplexity.Basic,
13491349
step: 'v13 node',
13501350
action:
1351-
'[Node 12.20.0以降](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
1351+
'[Node 12.20.0以降](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
13521352
},
13531353
{
13541354
possibleIn: 1300,
@@ -1471,7 +1471,7 @@ export const RECOMMENDATIONS: Step[] = [
14711471
level: ApplicationComplexity.Basic,
14721472
step: 'v14 node',
14731473
action:
1474-
'[Node 14.15.0以降](http://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
1474+
'[Node 14.15.0以降](https://www.hostingadvice.com/how-to/update-node-js-latest-version/)を使用していることを確認してください。',
14751475
},
14761476
{
14771477
possibleIn: 1400,
@@ -2542,6 +2542,14 @@ export const RECOMMENDATIONS: Step[] = [
25422542
possibleIn: 1900,
25432543
step: '19.0.0-update-fakeasync-to-flush-pending-timers',
25442544
},
2545+
{
2546+
action:
2547+
'`effect()`の呼び出しから`allowSignalWrites`オプションを削除してください。エフェクト内でのシグナルへの書き込みがデフォルトで許可されるようになったため、このオプションは非推奨となり不要になりました。',
2548+
level: ApplicationComplexity.Medium,
2549+
necessaryAsOf: 1900,
2550+
possibleIn: 1900,
2551+
step: '19.0.0-remove-allow-signal-writes',
2552+
},
25452553
{
25462554
action:
25472555
'アプリケーションのプロジェクトディレクトリで、`ng update @angular/core@20 @angular/cli@20` を実行して、アプリケーションをAngular v20に更新します。',
@@ -2781,6 +2789,15 @@ export const RECOMMENDATIONS: Step[] = [
27812789
step: 'update @angular/material',
27822790
action: '`ng update @angular/material@21` を実行します。',
27832791
},
2792+
{
2793+
possibleIn: 2100,
2794+
necessaryAsOf: 2100,
2795+
level: ApplicationComplexity.Medium,
2796+
material: true,
2797+
step: '21.0.0-cdk-overlay-top-layer-stacking',
2798+
action:
2799+
'CDKオーバーレイは、ブラウザのネイティブなトップレイヤーにレンダリングできるようになりました。これにより、以前は`z-index`によってMaterialオーバーレイの上に表示されていた要素が、その下に表示されるようになる場合があります。以前の動作に戻すには、`@angular/cdk/overlay`から`OVERLAY_DEFAULT_CONFIG`を`{usePopover: false}`という値で提供してください。',
2800+
},
27842801
{
27852802
possibleIn: 2100,
27862803
necessaryAsOf: 2100,
@@ -2998,6 +3015,14 @@ export const RECOMMENDATIONS: Step[] = [
29983015
action:
29993016
'オプショナルチェイニング (`?.`) を使用した Angular の式は、`null` の代わりに `undefined` を返すようになりました。以前の動作に戻すには `$safeNavigationMigration()` マジック関数を使用できます。',
30003017
},
3018+
{
3019+
possibleIn: 2200,
3020+
necessaryAsOf: 2200,
3021+
level: ApplicationComplexity.Medium,
3022+
step: '22.0.0-resource-stream-synchronous-resolution',
3023+
action:
3024+
'`rxResource`を含む`Resource`の`stream`プロパティは、ストリームやObservableが同期的にemitする場合、同期的に解決されるようになりました。非同期的な解決を前提としていたテストは、代わりに値をすぐに待つように修正する必要があるかもしれません。',
3025+
},
30013026
{
30023027
possibleIn: 2200,
30033028
necessaryAsOf: 2200,
@@ -3030,6 +3055,14 @@ export const RECOMMENDATIONS: Step[] = [
30303055
action:
30313056
'HTTP リクエストの `reportProgress` オプションは非推奨になりました。進捗レポートをより明示的に制御するには、代わりに `reportUploadProgress` または `reportDownloadProgress` を使用してください。',
30323057
},
3058+
{
3059+
possibleIn: 2200,
3060+
necessaryAsOf: 2200,
3061+
level: ApplicationComplexity.Medium,
3062+
step: '22.0.0-deprecate-server-xhr',
3063+
action:
3064+
'`@angular/platform-server`におけるXHRサポートは非推奨となり、Angular 23で削除される予定です。基盤となる`xhr2`ライブラリはリダイレクトを安全に処理できません(たとえば、クロスオリジンのリダイレクトで`Authorization`ヘッダーを転送してしまうことがあり、リダイレクトループによるDoSの影響を受けやすくなっています)。サーバーサイドレンダリングでは、`withXhr()`の代わりにデフォルトの`fetch`バックエンドを使用してください。',
3065+
},
30333066
{
30343067
possibleIn: 2200,
30353068
necessaryAsOf: 2200,

0 commit comments

Comments
 (0)