-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Comparing changes
Open a pull request
base repository: angular/angular-cli
base: 46c98ea
head repository: angular/angular-cli
compare: 564b108
- 14 commits
- 34 files changed
- 7 contributors
Commits on Apr 23, 2026
-
fix(@schematics/angular): add missing imports for focus and skip APIs…
Configuration menu - View commit details
-
Copy full SHA for e7abeb5 - Browse repository at this point
Copy the full SHA e7abeb5View commit details
Commits on Apr 24, 2026
-
fix(@angular/cli): remove standalone true ref in ai tutor
(cherry picked from commit 48eab1f)
Configuration menu - View commit details
-
Copy full SHA for 5b1a5b7 - Browse repository at this point
Copy the full SHA 5b1a5b7View commit details -
fix(@angular/ssr): introduce trustProxyHeaders option to safely valid…
…ate and sanitize proxy headers This commit adds the `trustProxyHeaders` option to `AngularAppEngineOptions` and `AngularNodeAppEngineOptions` to configure, validate, and sanitize `X-Forwarded-*` headers. - When `trustProxyHeaders` is `undefined` (default): - Allows `X-Forwarded-Host` and `X-Forwarded-Proto`. - Intercepts `X-Forwarded-Prefix` and triggers a dynamic CSR deoptimization to skip SSR if present. - Logs an informative message when receiving any other `X-Forwarded-*` headers. - When `false`: - Ignores and strips all proxy headers from the request. - When `true`: - Trusts all proxy headers. - When a string array: - Allows only the proxy headers provided inside the array.
Configuration menu - View commit details
-
Copy full SHA for 94023f6 - Browse repository at this point
Copy the full SHA 94023f6View commit details
Commits on Apr 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 233deef - Browse repository at this point
Copy the full SHA 233deefView commit details -
fix(@angular/cli): introduce initial package manager workspace awareness
This change adds the getCurrentPackageName method to the package manager abstraction. When dealing with workspaces (such as npm workspaces), the parser uses the resolved identity of the active package to prioritize dependencies belonging directly to that subproject. It ensures that running ng update inside a subproject directory resolves the dependency versions declared for that subproject, while gracefully falling back to root hoisted versions for shared dependencies. (cherry picked from commit d6121b5)
Configuration menu - View commit details
-
Copy full SHA for 7cea988 - Browse repository at this point
Copy the full SHA 7cea988View commit details
Commits on Apr 28, 2026
-
fix(@angular/ssr): use router to normalize URLs for comparison
Updates `constructDecodedUrl` in the SSR engine to use the Angular `Router` for parsing and serializing URLs instead of manual string manipulation and decoding. This ensures that the URL comparison used to determine if a redirect is necessary is consistent with how the router interprets and serializes the URL. This prevents issues where differences in encoding or edge cases (like duplicate query parameters or empty values) could lead to incorrect comparison results and unexpected redirects. Also updates tests to include edge cases for query parameters and paths to verify this behavior. Fixes #33053 (cherry picked from commit c34c569)
Configuration menu - View commit details
-
Copy full SHA for 0dc8a44 - Browse repository at this point
Copy the full SHA 0dc8a44View commit details -
fix(@angular/ssr): decode route segments when building and matching r…
…oute tree Updates the `getPathSegments` method in `RouteTree` to decode each path segment using `decodeURIComponent` after splitting the route by `/`. This ensures that encoded characters in URL segments (such as spaces or encoded slashes) are correctly interpreted when matching incoming requests against the route tree. This prevents issues where encoded segments would fail to match their corresponding route definitions or wildcard patterns in the tree. Also reverts experimental changes in `url.ts` and `router.ts` regarding matrix parameter handling, as the simple change in `route-tree.ts` is sufficient to resolve the issue and passes all tests. Adds a test in `router_spec.ts` to verify that a URL with an encoded parameter containing spaces and slashes (`Bob%20%2F%20Roberts`) correctly matches a wildcard route (`/user/*`). Fixes #33044 (cherry picked from commit 53b9623)
Configuration menu - View commit details
-
Copy full SHA for 930ada9 - Browse repository at this point
Copy the full SHA 930ada9View commit details -
fix(@angular/ssr): add support for configuring trusted proxy headers …
…via environment variable Adds support for configuring trusted proxy headers via the `NG_TRUST_PROXY_HEADERS` environment variable in `AngularNodeAppEngine`. This allows users to specify which proxy headers (such as `X-Forwarded-Host`) should be trusted when running the server-side application behind a reverse proxy, without needing to modify the application code. The environment variable accepts a comma-separated list of header names. If the `NG_TRUST_PROXY_HEADERS` environment variable is set and contains non-empty values, it will take precedence over the `trustProxyHeaders` option provided programmatically in the `AngularNodeAppEngine` constructor options. (cherry picked from commit 126b19b)
Configuration menu - View commit details
-
Copy full SHA for 5ffe5c3 - Browse repository at this point
Copy the full SHA 5ffe5c3View commit details -
build: update dependency postcss to v8.5.12
See associated pull request for more information. Closes #33068 as a pr takeover
Configuration menu - View commit details
-
Copy full SHA for f2f4851 - Browse repository at this point
Copy the full SHA f2f4851View commit details -
build: update cross-repo angular dependencies
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 56d19be - Browse repository at this point
Copy the full SHA 56d19beView commit details
Commits on Apr 29, 2026
-
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for a887b94 - Browse repository at this point
Copy the full SHA a887b94View commit details -
build: update pnpm to v10.33.2
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 828c175 - Browse repository at this point
Copy the full SHA 828c175View commit details -
build: update cross-repo angular dependencies
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for dbda92b - Browse repository at this point
Copy the full SHA dbda92bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 564b108 - Browse repository at this point
Copy the full SHA 564b108View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 46c98ea...564b108