angular/packages/core/test/bundling
Andrew Scott f6a73f1913 fix(router): Respect custom UrlSerializer handling of query parameters (#64449)
Previously, query parameters passed to `router.createUrlTree` were simply converted to strings. This meant that any custom serialization logic in a custom `UrlSerializer` was not applied. This could lead to inconsistencies between navigations triggered from the URL bar (which are parsed by the serializer) and navigations triggered programmatically.

This change ensures that query parameters are normalized using the provided `UrlSerializer`. The values are serialized and then parsed to ensure they are in the same format as if they had come from a URL. This allows custom serializers to handle complex objects in query parameters consistently.

Fixes https://github.com/angular/angular/issues/47307

PR Close #64449
2025-10-20 18:42:56 +00:00
..
animations-standalone refactor(devtools): Create a separate type of signals for after effect phases. (#64315) 2025-10-16 18:47:13 +00:00
cyclic_import build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
defer fix(core): update symbols (#64481) 2025-10-16 21:31:53 +00:00
forms_reactive fix(core): update animation scheduling (#64441) 2025-10-16 17:35:49 +00:00
forms_template_driven fix(core): update animation scheduling (#64441) 2025-10-16 17:35:49 +00:00
hydration refactor(devtools): Create a separate type of signals for after effect phases. (#64315) 2025-10-16 18:47:13 +00:00
image-directive refactor: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
router fix(router): Respect custom UrlSerializer handling of query parameters (#64449) 2025-10-20 18:42:56 +00:00
standalone_bootstrap refactor(devtools): Create a separate type of signals for after effect phases. (#64315) 2025-10-16 18:47:13 +00:00
BUILD.bazel build: update to the latest version of devinfra and rename npm2 workspace (#63093) 2025-08-11 10:35:32 -07:00
package.json build: update cross-repo angular dependencies (#64452) 2025-10-15 22:42:54 +00:00
README.md build: use pnpm as the package manager instead of yarn (#62924) 2025-07-31 22:06:27 +00:00

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:

pnpm run symbol-extractor:check
pnpm run symbol-extractor:update

Debugging

You can inspect the build output of each project by building the :bundles target.

pnpm bazel build //packages/core/test/bundling/standalone_bootstrap:bundles

This output is always unmangled and can be easily used for debugging. Alternatively, you can also serve the output by running:

pnpm bazel run //packages/core/test/bundling/standalone_bootstrap:bundles.serve

If needed, you can also control the Angular CLI optimizations via environment variables that you can set via the env attribute in BUILD.bazel of each test.