Skip to content

Commit 4717579

Browse files
authored
[renderers] Prepare renderers for release. (#1404)
* Update web_core, react, lit and angular to v0.10.0 * Fix react test after JSDom 'minor' update. Ensure JSDom version is ^28.1.0 to not regress this if dependencies are cached.
1 parent 8142e00 commit 4717579

22 files changed

Lines changed: 21920 additions & 5582 deletions

File tree

renderers/angular/CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
## Unreleased
22

3+
## 0.10.0
4+
35
- **BREAKING CHANGE**: (v0_9) Rename Icon `path` property to `svgPath` to fix type collision and avoid forced casts.
4-
- (v0_9) Re-style the v0_9 catalog components using the default theme from
5-
`web_core`. [#1166](https://github.com/google/A2UI/pull/1166)
6+
- **BREAKING CHANGE**: `BoundProperty.raw` is now `unknown` instead of `any`. Recommended migration: replace `raw` access with typed sibling fields where available (e.g. use the new `template` field instead of `raw.componentId`/`raw.path`). [#1312](https://github.com/google/A2UI/pull/1312)
7+
- **BREAKING CHANGE**: `BoundProperty<T = unknown>`: the default generic is now `unknown` instead of `any`. Recommended migration: provide explicit type arguments (e.g. `BoundProperty<string>`) at usage sites that previously relied on the default. Code typed via `ComponentApiToProps<Api>` is unaffected. [#1312](https://github.com/google/A2UI/pull/1312)
8+
- `props()['children']?.value()` is now typed `Child[]` (was `Child`, despite runtime always returning an array). [#1312](https://github.com/google/A2UI/pull/1312)
69
- (v0_9) Improve type safety of `props()` in Catalog components. Custom catalog
710
components should extend the base class `CatalogComponent` from
811
`import {CatalogComponent} from '@a2ui/web_core/v0_9/'` or implement the
912
interface `CatalogComponentInstance`. [#1320](https://github.com/google/A2UI/pull/1320)
10-
- [Breaking] `BoundProperty.raw` is now `unknown` instead of `any`. Recommended migration: replace `raw` access with typed sibling fields where available (e.g. use the new `template` field instead of `raw.componentId`/`raw.path`). [#1312](https://github.com/google/A2UI/pull/1312)
11-
- [Breaking] `BoundProperty<T = unknown>`: the default generic is now `unknown` instead of `any`. Recommended migration: provide explicit type arguments (e.g. `BoundProperty<string>`) at usage sites that previously relied on the default. Code typed via `ComponentApiToProps<Api>` is unaffected. [#1312](https://github.com/google/A2UI/pull/1312)
12-
- `props()['children']?.value()` is now typed `Child[]` (was `Child`, despite runtime always returning an array). [#1312](https://github.com/google/A2UI/pull/1312)
13+
14+
## 0.9.1
15+
16+
- (v0_9) Re-style the v0_9 catalog components using the default theme from
17+
`web_core`. [#1166](https://github.com/google/A2UI/pull/1166)
1318

1419
## 0.8.5
1520

0 commit comments

Comments
 (0)