@angular/platform-browser-dynamic
Advanced tools
Changelog
19.0.0-next.10 (2024-10-16)
standalone: false
for declarations that are currently declared in @NgModule
s. ng update
for v19 will take care of this automatically.| Commit | Type | Description |
| -- | -- | -- |
| 0c9d721ac1 | feat | add support for the typeof
keyword in template expressions. (#58183) |
| a3cb530d84 | fix | handle typeof expressions in serializer (#58217) |
| ba4340875a | fix | ignore placeholder-only i18n messages (#58154) |
| Commit | Type | Description | | -- | -- | -- | | 231e6ff6ca | feat | generate the HMR replacement module (#58205) | | fb44323c51 | fix | incorrectly generating relative file paths on case-insensitive platforms (#58150) |
| Commit | Type | Description |
| -- | -- | -- |
| 6b8c494d05 | feat | flipping the default value for standalone
to true
(#58169) |
| 3f1e7ab6ae | feat | promote outputFromObservable
& outputToObservable
to stable. (#58214) |
| 97c44a1d6c | feat | Promote takeUntilDestroyed
to stable. (#58200) |
| 819ff034ce | feat | treat directives, pipes, components as by default (#58229) |
<a name="19.0.0-next.9"></a>
Changelog
19.0.0-next.9 (2024-10-10)
this.foo
property reads no longer refer to template context variables. If you intended to read the template variable, do not use this.
.factories
property in KeyValueDiffers
has been removed.name
option in the ng add @localize
schematic has been removed in favor of the project
option.BrowserModule.withServerTransition
method has been removed. Please use the APP_ID
DI token to set the application id instead.| Commit | Type | Description |
| -- | -- | -- |
| 09f589f000 | fix | this.a
should always refer to class property a
(#55183) |
| e8d1944999 | fix | add multiple :host and nested selectors support (#57796) |
| 82144b6d63 | fix | allow combinators inside pseudo selectors (#57796) |
| 292ea4714f | fix | fix comment typo (#57796) |
| 69529d8873 | fix | fix parsing of the :host-context with pseudo selectors (#57796) |
| 2374b87b64 | fix | preserve attributes attached to :host selector (#57796) |
| 46a6324c82 | fix | scope :host-context inside pseudo selectors, do not decrease specificity (#57796) |
| bc5f1175e9 | fix | transform pseudo selectors correctly for the encapsulated view (#57796) |
| Commit | Type | Description | | -- | -- | -- | | 8d8c03abc4 | fix | defer symbols only used in types (#58104) |
| Commit | Type | Description |
| -- | -- | -- |
| ee426c62f0 | fix | allow signal write error (#57973) |
| 67db4305c2 | fix | clean up afterRender after it is executed (#58119) |
| 656b5d3e78 | fix | Re-assign error codes to be within core bounds (<1000) (#53455) |
| 97fb86d331 | perf | set encapsulation to None
for empty component styles (#57130) |
| c15ec36bd1 | refactor | remove deprecated factories
Property in KeyValueDiffers
(#58064) |
| Commit | Type | Description | | -- | -- | -- | | bc83fc1e2e | feat | support converting to signal queries in VSCode extension (#58106) |
| Commit | Type | Description |
| -- | -- | -- |
| 9c3bd1b5d1 | refactor | remove deprecated name
option. (#58063) |
| Commit | Type | Description | | -- | -- | -- | | c1aa411cf1 | fix | properly resolve tsconfig paths on windows (#58137) |
| Commit | Type | Description |
| -- | -- | -- |
| 5c61f46409 | refactor | remove deprecated BrowserModule.withServerTransition
method (#58062) |
| Commit | Type | Description |
| -- | -- | -- |
| 9e82559de4 | fix | destroy PlatformRef
when error happens during the bootstrap()
phase (#58112) |
| Commit | Type | Description | | -- | -- | -- | | 1479af978c | feat | finish implementation of refreshAhead feature (#53356) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.8"></a>
Changelog
18.2.8 (2024-10-10)
| Commit | Type | Description | | -- | -- | -- | | 11692c8dab | fix | add multiple :host and nested selectors support (#57796) | | 66dcc691f5 | fix | allow combinators inside pseudo selectors (#57796) | | 48a1437e77 | fix | fix comment typo (#57796) | | d325f9b55f | fix | fix parsing of the :host-context with pseudo selectors (#57796) | | aea747ab3b | fix | preserve attributes attached to :host selector (#57796) | | 21be258be6 | fix | scope :host-context inside pseudo selectors, do not decrease specificity (#57796) | | 7a6fd427d5 | fix | transform pseudo selectors correctly for the encapsulated view (#57796) |
| Commit | Type | Description | | -- | -- | -- | | f187c3abf8 | fix | defer symbols only used in types (#58104) |
| Commit | Type | Description | | -- | -- | -- | | 46bafb0b0a | fix | clean up afterRender after it is executed (#58119) |
| Commit | Type | Description |
| -- | -- | -- |
| b40875a2cc | fix | destroy PlatformRef
when error happens during the bootstrap()
phase (#58112) (#58135) |
<a name="19.0.0-next.8"></a>
Changelog
19.0.0-next.8 (2024-10-02)
| Commit | Type | Description | | -- | -- | -- | | c3115b882e | fix | execute checks and remove placeholder when image is already loaded (#55444) | | b7bd429951 | fix | prevent warning about oversize image twice (#58021) | | e8b2d5fad8 | fix | skip checking whether SVGs are oversized (#57966) |
| Commit | Type | Description | | -- | -- | -- | | d9687f43dd | feat | 'strictStandalone' flag enforces standalone (#57935) | | 39ccaf4cc4 | fix | correctly get the type of nested function call expressions (#57010) | | 33fe252c58 | fix | do not report unused declarations coming from an imported array (#57940) |
| Commit | Type | Description | | -- | -- | -- | | 3240598158 | fix | provide flag to opt into manual cleanup for after render hooks (#57917) |
| Commit | Type | Description | | -- | -- | -- | | 22dafa658b | fix | cleanup JSONP script listeners once loading completed (#57877) | | 057cf7fb6b | fix | preserve all headers from Headers object (#57802) |
| Commit | Type | Description | | -- | -- | -- | | 5c4305f024 | feat | support migrating full classes to signal inputs in VSCode (#57975) |
| Commit | Type | Description | | -- | -- | -- | | b6bc93803c | feat | add schematic to migrate to signal queries (#58032) | | ef577b2d2b | fix | delete constructor if it only has super call (#58013) |
| Commit | Type | Description | | -- | -- | -- | | 5f56a65837 | fix | support input signal bindings (#57020) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.7"></a>
Changelog
18.2.7 (2024-10-02)
| Commit | Type | Description | | -- | -- | -- | | 249d0260f9 | fix | execute checks and remove placeholder when image is already loaded (#55444) | | 46a2ad39f5 | fix | prevent warning about oversize image twice (#58021) | | 8f2b0ede59 | fix | skip checking whether SVGs are oversized (#57966) |
| Commit | Type | Description | | -- | -- | -- | | 901c1e1a7f | fix | correctly get the type of nested function call expressions (#57010) |
| Commit | Type | Description | | -- | -- | -- | | 2f347ef8fc | fix | provide flag to opt into manual cleanup for after render hooks (#57917) |
| Commit | Type | Description | | -- | -- | -- | | ca637fe6a9 | fix | cleanup JSONP script listeners once loading completed (#57877) |
| Commit | Type | Description | | -- | -- | -- | | b9d846dad7 | fix | delete constructor if it only has super call (#58013) |
| Commit | Type | Description | | -- | -- | -- | | e40a4fa3c7 | fix | support input signal bindings (#57020) |
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.7"></a>
Changelog
19.0.0-next.7 (2024-09-25)
Changes to effect timing which generally has two implications:
effects which are triggered outside of change detection run as part of the change detection process instead of as a microtask. Depending on the specifics of application/test setup, this can result in them executing earlier or later (or requiring additional test steps to trigger; see below examples).
effects which are triggered during change detection (e.g. by input signals) run earlier, before the component's template.
We've seen a few common failure cases:
Tests which used to rely on the Promise
timing of effects now need to
await whenStable()
or call .detectChanges()
in order for effects to
run.
Tests which use faked clocks may need to fast-forward/flush the clock to cause effects to run.
effect()
s triggered during CD could rely on the application being fully
rendered (for example, they could easily read computed styles, etc). With
the change, they run before the component's updates and can get incorrect
answers. The recent afterRenderEffect()
API is a natural replacement for
this style of effect.
effect()
s which synchronize with the forms system are particularly
timing-sensitive and might need to adjust their initialization timing.
ExperimentalPendingTasks
has been renamed to
PendingTasks
.
| Commit | Type | Description |
| -- | -- | -- |
| fc59e2a7b7 | feat | change effect() execution timing & no-op allowSignalWrites
(#57874) |
| a7eff3ffaa | feat | mark signal-based query APIs as stable (#57921) |
| a1f229850a | feat | migrate ExperimentalPendingTasks to PendingTasks (#57533) |
| 950a5540f1 | fix | Ensure the ViewContext
is retained after closure minification (#57903) |
| Commit | Type | Description | | -- | -- | -- | | 7ecfd89592 | fix | The suppress diagnostics option should work for external templates (#57873) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.6"></a>
Changelog
18.2.6 (2024-09-25)
<!-- CHANGELOG SPLIT MARKER --><a name="19.0.0-next.6"></a>
Changelog
19.0.0-next.6 (2024-09-18)
| Commit | Type | Description | | -- | -- | -- | | f611faadfe | fix | extended diagnostics not validating ICUs (#57845) |
| Commit | Type | Description |
| -- | -- | -- |
| 3ebe6b4ad4 | feat | Add async run
method on ExperimentalPendingTasks
(#56546) |
| 1b1519224d | feat | mark input, output and model APIs as stable (#57804) |
| e5adf92965 | feat | stabilize @let
syntax (#57813) |
| 4231e8f28f | fix | Handle @let
declaration with array when preparingForHydration
(#57816) |
| Commit | Type | Description |
| -- | -- | -- |
| 59fe9bc772 | feat | introduce signal input migration as ng generate
schematic (#57805) |
| 6144612940 | fix | account for explicit standalone: false in migration (#57803) |
<a name="18.2.5"></a>
Changelog
18.2.5 (2024-09-18)
| Commit | Type | Description | | -- | -- | -- | | e685ed883a | fix | extended diagnostics not validating ICUs (#57845) |
| Commit | Type | Description |
| -- | -- | -- |
| 76709d5d6e | fix | Handle @let
declaration with array when preparingForHydration
(#57816) |
| Commit | Type | Description | | -- | -- | -- | | 5c866942a1 | fix | account for explicit standalone: false in migration (#57803) |
<!-- CHANGELOG SPLIT MARKER --><a name="18.2.4"></a>