angular/packages/core/src
Andrew Kushnir 834c7c3ccc fix(core): make component id generation more stable between client and server builds (#58813)
For components with i18n in templates, the `consts` array is generated by the compiler as a function. If client and server bundles were produced with different minification configurations, the serializable contents of the function body would be different on the client and on the server. This might result in different ids generated. To avoid this issue, this commit updates the logic to not take the `consts` contents into account if it's a function.

Resolves #58713.

PR Close #58813
2024-11-22 19:36:50 +00:00
..
application refactor(core): adjust tracing service (#58771) 2024-11-21 16:34:53 +00:00
authoring feat(core): introduce debugName optional arg to framework signal functions (#57073) 2024-10-22 11:26:37 -07:00
change_detection refactor(core): adjust tracing service (#58771) 2024-11-21 16:34:53 +00:00
compiler refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
debug refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
defer fix(core): Prevents race condition of cleanup for incremental hydration (#58722) 2024-11-21 21:39:37 +00:00
di docs: fix errata in provideEnvironmentInitializer API docs (#58355) 2024-10-28 12:29:53 -07:00
hydration fix(core): Prevents race condition of cleanup for incremental hydration (#58722) 2024-11-21 21:39:37 +00:00
i18n refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
interface refactor(core): drop the Mutable utility type. (#58124) 2024-10-10 10:47:50 +00:00
internal refactor(core): account for anonymous classes in internal utility (#58392) 2024-10-28 12:38:03 -07:00
linker build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
metadata refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform feat(core): add syntactic sugar for initializers (#53152) 2024-10-22 09:38:18 -07:00
reflection refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render refactor(core): support external runtime styles via a component feature (#57922) 2024-09-30 13:25:12 -07:00
render3 fix(core): make component id generation more stable between client and server builds (#58813) 2024-11-22 19:36:50 +00:00
resource feat(core): experimental resource() API for async dependencies (#58255) 2024-10-21 13:25:58 -07:00
sanitization refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
testability refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util fix(core): Prevents race condition of cleanup for incremental hydration (#58722) 2024-11-21 21:39:37 +00:00
view refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
authoring.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
cached_injector_service.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
change_detection.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
console.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.externs.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.ts refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens (#58669) 2024-11-14 14:21:21 -08:00
core_private_export.ts refactor(core): adjust tracing service (#58771) 2024-11-21 16:34:53 +00:00
core_reactivity_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core_reactivity_export_internal.ts feat(core): introduce the reactive linkedSignal (#58189) 2024-10-18 08:12:51 +00:00
core_render3_private_export.ts refactor(core): clean up standalone flag (#58478) 2024-11-06 07:01:25 +01:00
di.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_details_base_url.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_handler.ts refactor(core): removing error related dead code. (#58272) 2024-10-22 09:42:47 -07:00
errors.ts refactor(core): tree-shake defer block registry (#58424) 2024-10-31 18:12:03 +01:00
event_delegation_utils.ts test(core): add incremental hydration tests (#58601) 2024-11-12 14:49:06 +00:00
event_emitter.ts refactor(core): test EventEmitter completion on destroy with outputToObservable (#58239) 2024-10-17 11:37:57 +00:00
image_performance_warning.ts fix(common): prevent warning about oversize image twice (#58021) 2024-10-02 11:46:17 +00:00
linker.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
pending_tasks.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
profiler.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
r3_symbols.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
transfer_state.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:05 -07:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00