angular/packages
Philipp Burgmer 2419060fef fix(router): relax required types on router commands to readonly array (#60345)
Only require a readonly array as input for router commands instead of a writable array. Router itself does not need writable access to the array of commands. If router requires a writable array somebody on the outside would have to spread a readonly array to a new writable array. We can avoid this by just require what route actually needs.

Fixes #60269

BREAKING CHANGE: Several methods in the public API of the Router which
required writable arrays have now been updated to accept readonly
arrays when no mutations are done.

PR Close #60345
2025-04-17 16:21:57 +02:00
..
animations fix(animations): add missing peer dependency on @angular/common (#60660) 2025-04-01 11:59:49 +00:00
bazel build: fix adev first party linking and re-enable tests (#60825) 2025-04-10 14:19:52 +00:00
benchpress refactor(benchpress): convert scripts within packages/benchpress to relative imports (#60230) 2025-03-27 18:28:00 +00:00
common refactor(common): eliminate redundant iterator-to-array conversion (#60884) 2025-04-16 12:44:35 -04:00
compiler refactor(compiler): add support for the new search element (#54945) 2025-04-14 09:34:35 -04:00
compiler-cli refactor(core): remove unused injection props (#59209) 2025-04-15 17:33:02 -04:00
core feat(core): stabilize incremental hydration api (#60888) 2025-04-16 13:00:44 -04:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements feat(core): update Node.js version support (#60545) 2025-03-26 20:42:16 -07:00
examples refactor(core): remove TODOs referencing #24571 (#60648) 2025-03-31 20:24:29 +00:00
forms feat(forms): add markAllAsDirty to AbstractControl (#58663) 2025-04-02 18:25:32 +00:00
language-service refactor(compiler): integrate new AST nodes into visitors (#60724) 2025-04-04 11:28:47 -07:00
localize refactor(compiler): integrate new nodes into visitors (#60724) 2025-04-04 11:28:47 -07:00
misc/angular-in-memory-web-api feat(core): remove TestBed.get (#60414) 2025-03-19 15:52:26 +01:00
platform-browser feat(core): stabilize incremental hydration api (#60888) 2025-04-16 13:00:44 -04:00
platform-browser-dynamic refactor(platform-browser-dynamic): switching to relative imports within the platform-browser-dynamic package (#60559) 2025-03-27 18:31:52 +00:00
platform-server fix(core): release hasPendingTasks observers (#59723) 2025-04-02 18:26:06 +00:00
private/testing refactor(core): drop unused ngDevMode metrics (#60686) 2025-04-02 14:17:10 +00:00
router fix(router): relax required types on router commands to readonly array (#60345) 2025-04-17 16:21:57 +02:00
service-worker refactor(service-worker): pull less RxJS symbols (#60657) 2025-04-02 15:00:34 +00:00
ssr refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
upgrade feat(core): update Node.js version support (#60545) 2025-03-26 20:42:16 -07:00
zone.js build: lock file maintenance (#60765) 2025-04-14 10:52:41 -04:00
BUILD.bazel docs(core): remove redundant reference-manifests handwritten entries (#59169) 2024-12-12 17:29:22 -08:00
circular-deps-test.conf.js build: remove circular deps goldens (#60021) 2025-02-19 21:01:31 +00:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt docs: update license year (#59883) 2025-03-04 19:36:47 +00:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: enable strict templates and type checking of host bindings (#60481) 2025-03-20 11:55:52 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(compiler): remove empty empty string suffix from interpolation instructions (#60066) 2025-03-10 16:31:34 -07:00
tsconfig.json build: enable strict templates and type checking of host bindings (#60481) 2025-03-20 11:55:52 -07:00
tsec-exemption.json
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT