Skip to content

Commit b9ad356

Browse files
Merge pull request #1131 from angular/main
Create a new pull request by comparing changes across two branches
2 parents e7c7d11 + 8646751 commit b9ad356

File tree

131 files changed

+3083
-2099
lines changed

Some content is hidden

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

131 files changed

+3083
-2099
lines changed

.github/workflows/assistant-to-the-branch-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
assistant_to_the_branch_manager:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
with:
1818
persist-credentials: false
1919
- uses: angular/dev-infra/github-actions/branch-manager@a3d0749c4d64959e85843fbeb54507e830be0f44

.github/workflows/dev-infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
labels:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- uses: angular/dev-infra/github-actions/commit-message-based-labels@a3d0749c4d64959e85843fbeb54507e830be0f44
1717
with:
1818
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
1919
post_approval_changes:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
- uses: angular/dev-infra/github-actions/post-approval-changes@a3d0749c4d64959e85843fbeb54507e830be0f44
2424
with:
2525
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
outputs:
2121
snapshots: ${{ steps.filter.outputs.snapshots }}
2222
steps:
23-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
@@ -36,7 +36,7 @@ jobs:
3636
- name: Initialize environment
3737
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@a3d0749c4d64959e85843fbeb54507e830be0f44
3838
- name: Setup ESLint Caching
39-
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
39+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
4040
with:
4141
path: .eslintcache
4242
key: ${{ runner.os }}-${{ hashFiles('.eslintrc.json') }}

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: 'Checkout code'
28-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
persist-credentials: false
3131

@@ -46,6 +46,6 @@ jobs:
4646

4747
# Upload the results to GitHub's code scanning dashboard.
4848
- name: 'Upload to code-scanning'
49-
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
49+
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
5050
with:
5151
sarif_file: results.sarif
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/dist/index.js b/dist/index.js
2+
index 9baea0c8023c03d19b1494f818e1e11578f05b32..8f1a7a6050980d88e050423e63ef041195011fcc 100644
3+
--- a/dist/index.js
4+
+++ b/dist/index.js
5+
@@ -101,7 +101,7 @@ function createRollupLicensePlugin(pluginOptions = {}, pluginName = "rollup-lice
6+
Object.entries(chunk.modules).filter(
7+
([path, module]) => Boolean(path.match(/node_modules/)) && module.renderedLength > 0
8+
).map(
9+
- ([path]) => path.startsWith("\0") ? path.replace(/^\0/, "") : path
10+
+ ([path]) => (path.startsWith("\0") ? path.replace(/^\0/, "") : path).replace(/\\/g, '/')
11+
).map((path) => [path, path.split("node_modules").pop()]).map(([path, filePath]) => {
12+
const segments = filePath.replace(/^\//, "").split("/");
13+
const packageName = segments[0].startsWith("@") ? `${segments[0]}/${segments[1]}` : segments[0];

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
<a name="19.0.0-next.13"></a>
2+
3+
# 19.0.0-next.13 (2024-10-23)
4+
5+
### @angular/build
6+
7+
| Commit | Type | Description |
8+
| --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------------------------------------- |
9+
| [efb434136](https://github.com/angular/angular-cli/commit/efb434136d8c8df207747ab8fd87b7e2116b7106) | feat | Auto-CSP support as a part of angular.json schema |
10+
| [cc345b02d](https://github.com/angular/angular-cli/commit/cc345b02d814a37bb23d6c3f1baca9595130d010) | fix | Address build issue in Node.js LTS versions with prerendering or SSR |
11+
12+
<!-- CHANGELOG SPLIT MARKER -->
13+
14+
<a name="18.2.10"></a>
15+
16+
# 18.2.10 (2024-10-23)
17+
18+
### @angular-devkit/build-angular
19+
20+
| Commit | Type | Description |
21+
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------- |
22+
| [7b775f4e0](https://github.com/angular/angular-cli/commit/7b775f4e008652777bbe7b788dabed02bcc70cc7) | fix | update `http-proxy-middleware` to `3.0.3` |
23+
24+
### @angular/build
25+
26+
| Commit | Type | Description |
27+
| --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------------------------------------- |
28+
| [b1e5f51f9](https://github.com/angular/angular-cli/commit/b1e5f51f9111d7da56ebe64cad51936ad659782d) | fix | Address build issue in Node.js LTS versions with prerendering or SSR |
29+
30+
<!-- CHANGELOG SPLIT MARKER -->
31+
32+
<a name="17.3.11"></a>
33+
34+
# 17.3.11 (2024-10-23)
35+
36+
### @angular-devkit/build-angular
37+
38+
| Commit | Type | Description |
39+
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------- |
40+
| [8bad9cee0](https://github.com/angular/angular-cli/commit/8bad9cee08982fffa5ce8244148b491e66191ed8) | fix | update `http-proxy-middleware` to `2.0.7` |
41+
42+
<!-- CHANGELOG SPLIT MARKER -->
43+
44+
<a name="19.0.0-next.12"></a>
45+
46+
# 19.0.0-next.12 (2024-10-21)
47+
48+
## Breaking Changes
49+
50+
### @angular-devkit/build-angular
51+
52+
- Protractor is no longer supported.
53+
54+
Protractor was marked end-of-life in August 2023 (see https://protractortest.org/). Projects still relying on Protractor should consider migrating to another E2E testing framework, several support solid migration paths from Protractor.
55+
56+
- https://angular.dev/tools/cli/end-to-end
57+
- https://blog.angular.dev/the-state-of-end-to-end-testing-with-angular-d175f751cb9c
58+
59+
### @angular-devkit/build-angular
60+
61+
| Commit | Type | Description |
62+
| --------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------- |
63+
| [62877bdf2](https://github.com/angular/angular-cli/commit/62877bdf2b0449d8c12a167c59d0c24c77467f37) | refactor | remove Protractor builder and schematics |
64+
65+
### @angular/build
66+
67+
| Commit | Type | Description |
68+
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------- |
69+
| [1654acf0f](https://github.com/angular/angular-cli/commit/1654acf0ff3010b619a22d11f17eec9975d8e2a2) | fix | relax constraints on external stylesheet component id |
70+
71+
### @angular/ssr
72+
73+
| Commit | Type | Description |
74+
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------- |
75+
| [44077f54e](https://github.com/angular/angular-cli/commit/44077f54e9a95afa5c1f85cf198aaa3412ee08d8) | fix | designate package as side-effect free |
76+
77+
<!-- CHANGELOG SPLIT MARKER -->
78+
179
<a name="19.0.0-next.11"></a>
280

381
# 19.0.0-next.11 (2024-10-16)

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ yarn_install(
131131

132132
http_archive(
133133
name = "aspect_bazel_lib",
134-
sha256 = "0e31778f1fd574d2c05d238bfc4c785fa4b7e50a5ef38b506e01cfd8ec2fccb3",
135-
strip_prefix = "bazel-lib-2.9.2",
136-
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.9.2/bazel-lib-v2.9.2.tar.gz",
134+
sha256 = "a272d79bb0ac6b6965aa199b1f84333413452e87f043b53eca7f347a23a478e8",
135+
strip_prefix = "bazel-lib-2.9.3",
136+
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.9.3/bazel-lib-v2.9.3.tar.gz",
137137
)
138138

139139
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

goldens/circular-deps/packages.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"packages/angular_devkit/build_angular/src/builders/dev-server/builder.ts",
44
"packages/angular_devkit/build_angular/src/builders/dev-server/options.ts"
55
],
6+
[
7+
"packages/angular/build/src/tools/esbuild/angular/component-stylesheets.ts",
8+
"packages/angular/build/src/tools/esbuild/bundler-context.ts",
9+
"packages/angular/build/src/tools/esbuild/utils.ts",
10+
"packages/angular/build/src/utils/server-rendering/manifest.ts",
11+
"packages/angular/build/src/tools/esbuild/bundler-execution-result.ts"
12+
],
613
[
714
"packages/angular/build/src/tools/esbuild/bundler-context.ts",
815
"packages/angular/build/src/tools/esbuild/utils.ts"

goldens/public-api/angular/build/index.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface ApplicationBuilderOptions {
4848
preserveSymlinks?: boolean;
4949
progress?: boolean;
5050
scripts?: ScriptElement[];
51+
security?: Security;
5152
server?: string;
5253
serviceWorker?: ServiceWorker_2;
5354
sourceMap?: SourceMapUnion;

goldens/public-api/angular/ssr/index.api.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
```ts
66

77
import { EnvironmentProviders } from '@angular/core';
8-
import { InjectionToken } from '@angular/core';
98

109
// @public
1110
export class AngularAppEngine {
@@ -35,15 +34,6 @@ export enum RenderMode {
3534
Server = 1
3635
}
3736

38-
// @public
39-
export const REQUEST: InjectionToken<Request>;
40-
41-
// @public
42-
export const REQUEST_CONTEXT: InjectionToken<unknown>;
43-
44-
// @public
45-
export const RESPONSE_INIT: InjectionToken<ResponseInit>;
46-
4737
// @public
4838
export type ServerRoute = ServerRouteAppShell | ServerRouteClient | ServerRoutePrerender | ServerRoutePrerenderWithParams | ServerRouteServer;
4939

0 commit comments

Comments
 (0)