-
Notifications
You must be signed in to change notification settings - Fork 12k
Comparing changes
Open a pull request
base repository: angular/angular-cli
base: 20.0.0-next.2
head repository: angular/angular-cli
compare: 20.0.0-next.3
Commits on Mar 20, 2025
-
fix(@schematics/angular): remove empty
scripts
option value from ne……w applications The `scripts` option with an empty array value has been removed from newly generated applications including with `ng new`. This option is less commonly used and can be added if needed by a project. The removal reduces the total size of the generated `angular.json`.
Configuration menu - View commit details
-
Copy full SHA for 381d35f - Browse repository at this point
Copy the full SHA 381d35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d98aa28 - Browse repository at this point
Copy the full SHA d98aa28View commit details -
docs(@angular/ssr): remove extra pipe from link in tsdocs
This is not needed.
Configuration menu - View commit details
-
Copy full SHA for 5169f21 - Browse repository at this point
Copy the full SHA 5169f21View commit details -
refactor: remove dependency on
@angular/platform-browser-dynamic
This commit remove the dependency on `@angular/platform-browser-dynamic` from new projects. This is now possible due to angular/angular#60453
Configuration menu - View commit details
-
Copy full SHA for 2cc6b7f - Browse repository at this point
Copy the full SHA 2cc6b7fView commit details -
refactor: use
platformBrowser
instead ofplatformBrowserTesting
`platformBrowserTesting` currently does not include the right providers. See: angular/angular#60480
Configuration menu - View commit details
-
Copy full SHA for d89c2cb - Browse repository at this point
Copy the full SHA d89c2cbView commit details -
fix(@angular/build): correct handling of response/request errors
Prior to this change, request errors were not handled correctly. Closes #29884
Configuration menu - View commit details
-
Copy full SHA for 156a14e - Browse repository at this point
Copy the full SHA 156a14eView commit details -
feat(@angular/build): support a default outputPath option for applica…
…tions The application builder will now use a default output path when the `outputPath` option is not specified either in the `angular.json` configuration or via the command line. The default used will be `dist/<project_name>` and be relative to the workspace root. This value is the typical default for new projects. Projects may continue to customize the output path via the option if needed. Existing project behavior and configuration will not be changed.
Configuration menu - View commit details
-
Copy full SHA for 9b682e6 - Browse repository at this point
Copy the full SHA 9b682e6View commit details -
perf(@angular/ssr): flush headers prior to start rendering the HTML
This change ensures that HTTP headers are flushed to the client before the server begins rendering the Angular application HTML. By flushing headers early, the server can inform the client of response metadata (e.g., status code, content type) immediately, improving performance and user experience.
Configuration menu - View commit details
-
Copy full SHA for 63428f3 - Browse repository at this point
Copy the full SHA 63428f3View commit details -
build: move rxjs dependency out of root
With the migration to `rules_js`, package specific dependencies now only need to be referenced with the source `package.json` for each specific package. The `rxjs` dependency has now been moved to usage locations instead of the root of the repository.
Configuration menu - View commit details
-
Copy full SHA for 58a39b4 - Browse repository at this point
Copy the full SHA 58a39b4View commit details
Commits on Mar 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4153bd8 - Browse repository at this point
Copy the full SHA 4153bd8View commit details -
refactor: replace
dirname(fileURLToPath(import.meta.url))
with `imp……ort.meta.dirname` This change is possible because we no longer support Node.js versions earlier than 20.11.0
Configuration menu - View commit details
-
Copy full SHA for 2a32030 - Browse repository at this point
Copy the full SHA 2a32030View commit details -
fix(@schematics/angular): add type checking of host bindings to stric…
…t config Adds the `typeCheckHostBindings` flag when the user has opted into strict type checking.
Configuration menu - View commit details
-
Copy full SHA for 9e6b9b5 - Browse repository at this point
Copy the full SHA 9e6b9b5View commit details -
fix(@angular/build): handle undefined
getOrCreateAngularServerApp
d……uring error compilation Enhanced error handling to account for cases where `getOrCreateAngularServerApp` is undefined during the compilation process. This prevents unexpected crashes and improves build stability. Closes #29907
Configuration menu - View commit details
-
Copy full SHA for a8817a3 - Browse repository at this point
Copy the full SHA a8817a3View commit details -
perf(@angular/ssr): optimized request handling performance
This commit refactors request handling logic, leading to significant performance improvements. **Benchmark** | Metric | 19.2.x Branch | Main Branch | After Optimization | Improvement vs 19.2.x | Improvement vs Main | |--------------------|-----------------------|----------------------|---------------------|-----------------------|-----------------------| | Latency (Avg) | 2473.94 ms | 2655.35 ms | 2385.85 ms | ~3.6% | ~10.1% | | Latency (50%) | 2445.67 ms | 2615 ms | 2416.33 ms | ~1.2% | ~7.6% | | Latency (97.5%) | 2640.5 ms | 3309 ms | 2561.5 ms | ~3.0% | ~22.6% | | Req/Sec (Avg) | 398.32 | 364.54 | 400.12 | ~0.4% | ~9.8% | | Bytes/Sec (Avg) | 8.41 MB | 7.7 MB | 8.45 MB | ~0.5% | ~9.7% | | Total Requests | 13,000 | 12,000 | 13,000 | 0% | ~8.3% | **Test Details:** * **Command:** `npx autocannon -c 100 -d 30 -p 10 http://localhost:<port>` * **Parameters:** * `-c 100`: 100 concurrent connections * `-d 30`: 30 seconds duration * `-p 10`: 10 pipelining factor * **Iterations:** 3 tests were run on each of the Main Branch and the 19.2.x Branch, and 3 tests were run after optimization. Average of each set of tests was used for the comparison. * **Samples:** 30 samples were collected per test run for Req/Bytes counts. The optimized request handling logic (After Optimization) shows significant improvements across all key performance metrics compared to the original logic on the Main Branch. The regression observed in the Main Branch is attributed to the newly added header flushing logic. When compared to the 19.2.x branch, the optimized code delivers similar performance. Latency is slightly reduced, while request throughput (Req/Sec) and data transfer rate (Bytes/Sec) have seen a slight increase. The total number of requests handled remains consistent with the 19.2.x branch.
Configuration menu - View commit details
-
Copy full SHA for 6bd7b9b - Browse repository at this point
Copy the full SHA 6bd7b9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eee6f3b - Browse repository at this point
Copy the full SHA eee6f3bView commit details -
fix(@schematics/angular): remove explicit
outputPath
option value f……rom generated applications The `outputPath` option now defaults to `dist/<project_name>` for applications. This removes the need to explicitly set the option within a newly generated project. The value removal also reduces the overall size of the `angular.json` configuration for new projects. Existing projects are not modified by this change.
Configuration menu - View commit details
-
Copy full SHA for a910fe9 - Browse repository at this point
Copy the full SHA a910fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e478ed - Browse repository at this point
Copy the full SHA 1e478edView commit details
Commits on Mar 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4d49a66 - Browse repository at this point
Copy the full SHA 4d49a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for e816d46 - Browse repository at this point
Copy the full SHA e816d46View commit details -
fix(@angular/cli): update minimum supported Node.js 22 version to 22.…
…11.0 For more details, see: #27674 BREAKING CHANGE: Node.js versions from 22.0 to 22.10 are no longer supported
Configuration menu - View commit details
-
Copy full SHA for 6473253 - Browse repository at this point
Copy the full SHA 6473253View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f506f5 - Browse repository at this point
Copy the full SHA 3f506f5View commit details
Commits on Mar 25, 2025
-
fix(@angular/build): normalize karma asset paths before lookup
When handling a request for a configured asset with the application- based karma unit testing, the asset URL is now normalized to the executing platform's path format before looking up the asset. This is required due to the build file paths being based on the underlying operating system's paths which may not align with a URL's path separator such as when using Windows.
Configuration menu - View commit details
-
Copy full SHA for bd917d9 - Browse repository at this point
Copy the full SHA bd917d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 922f176 - Browse repository at this point
Copy the full SHA 922f176View commit details -
Configuration menu - View commit details
-
Copy full SHA for 911c124 - Browse repository at this point
Copy the full SHA 911c124View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80a778a - Browse repository at this point
Copy the full SHA 80a778aView commit details -
feat(@angular/build): allow control of source map sources content for…
… application builds The `sourceMap` option now contains an additional sub-option named `sourcesContent` that allows the exclusion of original file content from generated source maps. This option affects both JavaScript and stylesheet source maps. The value of the `sourcesContent` option defaults to `true`. Example usage to disable sources content: ``` "sourceMap": { "scripts": true, "styles": true, "sourcesContent": false } ```
Configuration menu - View commit details
-
Copy full SHA for c1de633 - Browse repository at this point
Copy the full SHA c1de633View commit details -
refactor(@angular/build): use newer Node.js
cp
API for asset copyingWhen using Node.js v22 (minimum of v22.11 for v22 with Angular v20), the application build system will now use the Node.js `cp` filesystem API instead of the `copyFile` API. This newer API provides equivalent functionality while also preserving timestamps for copied assets. Additionally, it supports potential future internal refactorings to support full direct directory copying.
Configuration menu - View commit details
-
Copy full SHA for 5c9b371 - Browse repository at this point
Copy the full SHA 5c9b371View commit details
Commits on Mar 26, 2025
-
test: improve resilience of asset timestamp E2E test
The test now uses an asset that is already on disk. Using an asset that was just written within the test may cause timestamps to not yet be synced to disk.
Configuration menu - View commit details
-
Copy full SHA for 1f62b28 - Browse repository at this point
Copy the full SHA 1f62b28View commit details -
test: ensure atime and mtime are rounded consistently in tests
Node.js handles time precision differently, which may cause mtime-based tests to fail. This update ensures that atime and mtime values are rounded to the same precision, preventing inconsistencies in file timestamp comparisons.
Configuration menu - View commit details
-
Copy full SHA for 2b73b72 - Browse repository at this point
Copy the full SHA 2b73b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d59d8 - Browse repository at this point
Copy the full SHA a4d59d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2e5c1b - Browse repository at this point
Copy the full SHA d2e5c1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcfc1a3 - Browse repository at this point
Copy the full SHA bcfc1a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c2530 - Browse repository at this point
Copy the full SHA 34c2530View commit details
There are no files selected for viewing