Skip to content

Commit 4b04a0e

Browse files
committed
release: cut the v19.0.0-next.2 release
1 parent 557aa92 commit 4b04a0e

File tree

2 files changed

+62
-1
lines changed

2 files changed

+62
-1
lines changed

‎CHANGELOG.md‎

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
<aname="19.0.0-next.2"></a>
2+
# 19.0.0-next.2 (2024-08-28)
3+
## Breaking Changes
4+
### core
5+
- Render default fallback with empty `projectableNodes`.
6+
7+
When passing an empty array to `projectableNodes` in the `createComponent` API, the default fallback content of the `ng-content` will be rendered if present. To prevent rendering the default content, pass `document.createTextNode('')` as a `projectableNode`.
8+
9+
For example:
10+
11+
```ts
12+
// The first ng-content will render the default fallback content if present
13+
createComponent(MyComponent.{projectableNodes: [[], [secondNode]] });
14+
15+
// To prevent projecting the default fallback content:
16+
createComponent(MyComponent.{projectableNodes: [[document.createTextNode('')], [secondNode]] });
17+
18+
```
19+
- The timers that are used for zone coalescing and hybrid
20+
mode scheduling (which schedules an application state synchronization
21+
when changes happen outside the Angular zone) will now run in the zone
22+
above Angular rather than the root zone. This will mostly affect tests
23+
which use `fakeAsync`: these timers will now be visible to `fakeAsync`
24+
and can be affected by `tick` or `flush`.
25+
### elements
26+
- as part of switching away from custom CD behavior to the
27+
hybrid scheduler, timing of change detection around custom elements has
28+
changed subtly. These changes make elements more efficient, but can cause
29+
tests which encoded assumptions about how or when elements would be checked
30+
to require updating.
31+
### common
32+
| Commit | Type | Description |
33+
| -- | -- | -- |
34+
|[50f08e6c4bf](https://github.com/angular/angular/commit/50f08e6c4bf1caeeb08d3505ce7fabd466b9c76b)| feat | automatically use sizes auto in NgOptimizedImage ([#57479](https://github.com/angular/angular/pull/57479)) |
35+
### compiler-cli
36+
| Commit | Type | Description |
37+
| -- | -- | -- |
38+
|[4716c3b9660](https://github.com/angular/angular/commit/4716c3b9660b01f4ef3642fb774270b7f4a13d1a)| perf | reduce duplicate component style resolution ([#57502](https://github.com/angular/angular/pull/57502)) |
39+
### core
40+
| Commit | Type | Description |
41+
| -- | -- | -- |
42+
|[a3cdbfe87f5](https://github.com/angular/angular/commit/a3cdbfe87f5a8daef11a154ef3edb5a3a5c12f77)| fix | avoid leaking memory if component throws during creation ([#57546](https://github.com/angular/angular/pull/57546)) |
43+
|[7a99815146e](https://github.com/angular/angular/commit/7a99815146eb78074aa3ed6db73c6e87042df692)| fix | Do not bubble capture events. ([#57476](https://github.com/angular/angular/pull/57476)) |
44+
|[7b1e5be20b9](https://github.com/angular/angular/commit/7b1e5be20b99c88246c6be78a4dcd64eb55cee1a)| fix | fallback to default ng-content with empty projectable nodes. ([#57480](https://github.com/angular/angular/pull/57480)) |
45+
|[0300dd2e18f](https://github.com/angular/angular/commit/0300dd2e18f064f2f57f7371e0dc5c01218b5019)| fix | Fix fixture.detectChanges with autoDetect disabled and zoneless ([#57416](https://github.com/angular/angular/pull/57416)) |
46+
|[226a67dabba](https://github.com/angular/angular/commit/226a67dabba90a488ad09ce7bb026b8883c90d4a)| fix | Schedulers run in zone above Angular rather than root ([#57553](https://github.com/angular/angular/pull/57553)) |
47+
### elements
48+
| Commit | Type | Description |
49+
| -- | -- | -- |
50+
|[0cebfd7462c](https://github.com/angular/angular/commit/0cebfd7462c6a7c6c3b0d66720c436a4b0eea19d)| fix | switch to `ComponentRef.setInput` & remove custom scheduler ([#56728](https://github.com/angular/angular/pull/56728)) |
51+
### router
52+
| Commit | Type | Description |
53+
| -- | -- | -- |
54+
|[8f6308457f0](https://github.com/angular/angular/commit/8f6308457f0f03e9bbd09f4bc10d1c61fd41d22c)| fix | Do not unnecessarily run matcher twice on route matching ([#57530](https://github.com/angular/angular/pull/57530)) |
55+
### upgrade
56+
| Commit | Type | Description |
57+
| -- | -- | -- |
58+
|[c9d90786d0a](https://github.com/angular/angular/commit/c9d90786d0a6421bbb21b9d1649d031b34e3fa5d)| fix | Address Trusted Types violations in @angular/upgrade ([#57454](https://github.com/angular/angular/pull/57454)) |
59+
60+
<!-- CHANGELOG SPLIT MARKER -->
61+
162
<aname="18.2.2"></a>
263
# 18.2.2 (2024-08-28)
364
### core

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-srcs",
3-
"version": "19.0.0-next.1",
3+
"version": "19.0.0-next.2",
44
"private": true,
55
"description": "Angular - a web framework for modern web apps",
66
"homepage": "https://github.com/angular/angular",

0 commit comments

Comments
(0)