diff --git a/.changeset/first-class-generated-ui-renderers.md b/.changeset/first-class-generated-ui-renderers.md deleted file mode 100644 index 06c97ce..0000000 --- a/.changeset/first-class-generated-ui-renderers.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"gruntend-sdk": minor ---- - -Add first-class generated UI renderers so applications explicitly choose how a compiled generated-UI frame is committed to its target. - -- Export renderer and session contracts from `gruntend-sdk/renderer`. -- Add the built-in DOMPurify renderer at `gruntend-sdk/renderer/dom-purify` with an exact markup policy and direct `DocumentFragment` commits. -- Route Svelte, React, Vue, and Solid adapters through the selected renderer and add shared render and action lifecycle callbacks. -- Add renderer conformance, sanitization, event delegation, and lifecycle coverage. - -Framework adapters now require a `renderer` prop. Create a renderer once for the mounted component lifetime and pass it alongside the `GeneratedUi` value. DOMPurify is the only built-in browser renderer; applications can implement the renderer interface for other targets or commit strategies. diff --git a/CHANGELOG.md b/CHANGELOG.md index 97cd10e..aca23cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # gruntend +## 0.5.0 + +### Minor Changes + +- c43e31e: Add first-class generated UI renderers so applications explicitly choose how a compiled generated-UI frame is committed to its target. + - Export renderer and session contracts from `gruntend-sdk/renderer`. + - Add the built-in DOMPurify renderer at `gruntend-sdk/renderer/dom-purify` with an exact markup policy and direct `DocumentFragment` commits. + - Route Svelte, React, Vue, and Solid adapters through the selected renderer and add shared render and action lifecycle callbacks. + - Add renderer conformance, sanitization, event delegation, and lifecycle coverage. + + Framework adapters now require a `renderer` prop. Create a renderer once for the mounted component lifetime and pass it alongside the `GeneratedUi` value. DOMPurify is the only built-in browser renderer; applications can implement the renderer interface for other targets or commit strategies. + ## 0.4.0 ### Minor Changes diff --git a/package.json b/package.json index 91b11f3..cf0735e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gruntend-sdk", - "version": "0.4.0", + "version": "0.5.0", "type": "module", "description": "Typed tool namespaces and code-plan execution for application-owned capabilities.", "license": "MIT",