|
| 1 | +# Release Notes 示例 |
| 2 | + |
| 3 | +以下为 `v1.3.0`(对比 `v1.2.0`)的格式参考。 |
| 4 | + |
| 5 | +```markdown |
| 6 | +# Genui SDK v1.3.0 Release Notes |
| 7 | + |
| 8 | +## 🚀 Highlights |
| 9 | + |
| 10 | +- **Core package release** - `@opentiny/genui-sdk-core` is now published to npm as a standalone package, exposing the protocols, prompt generation, stream schema extraction, delta patching, and JSON repair modules (#206). |
| 11 | +- **Materials decoupling & new material packages** - materials are split into independently publishable packages, including the new `@opentiny/genui-sdk-materials-vue-element-plus` (#174) alongside the decoupled `vue-opentiny-vue` and `angular-opentiny-ng` material packages (#125, #206, #213). |
| 12 | +- **Multi-framework rendering** - framework switching in the playground (#143), and mixin renderer support (#208). |
| 13 | +- **A2A protocol v1.0** - added support for A2A protocol v1.0, with automatic fallback to 0.3 when a 1.0 invoke fails (#187, #219). |
| 14 | +- **Lifecycle enhancements** - lifeCycles are now deferred until schema streaming completes (#182), backed by an explicit Zod schema (#194), with `onMounted`/`onUnmounted` support for the ng-renderer (#197). |
| 15 | +- **Custom actions & refs** - custom actions now support return values and async (#184), plus a new refs feature (#183) and prompt variants (#202). |
| 16 | +- **Default props apply** - unified across the Vue and Angular renderers (#149, #196, #218). |
| 17 | +- **Internationalization** - playground and docs/site i18n with persisted locale settings (#172, #176, #189, #192). |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +## ✨ Features |
| 22 | + |
| 23 | +**Components** |
| 24 | +- feat: materials decoupling by @yy-wow in https://github.com/opentiny/genui-sdk/pull/125 |
| 25 | +- feat: add apply default props by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/149 |
| 26 | +- feat: add new vue-element-plus package by @lhuans in https://github.com/opentiny/genui-sdk/pull/174 |
| 27 | +- feat: defer lifeCycles until schema streaming is complete by @yy-wow in https://github.com/opentiny/genui-sdk/pull/182 |
| 28 | +- feat: add refs feature and form validate demo by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/183 |
| 29 | +- feat: add returns and async support to custom actions by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/184 |
| 30 | +- feat(core): add explicit Zod schema for lifeCycles hooks by @yy-wow in https://github.com/opentiny/genui-sdk/pull/194 |
| 31 | +- feat(genui-sdk-angular): add default props apply to angular renderer by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/196 |
| 32 | +- feat(ng-renderer): add page onMounted/onUnmounted lifecycle support by @yy-wow in https://github.com/opentiny/genui-sdk/pull/197 |
| 33 | +- feat: add prompt variants by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/202 |
| 34 | +- feat(genui-sdk-vue): add legacy components by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/209 |
| 35 | +- feat(genui-sdk-vue): materials support change value by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/214 |
| 36 | +- feat(genui-sdk-angular): add legacy component and update docs by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/215 |
| 37 | +- feat(core): add ICustomMessageItem type and optimize custom response handler by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/226 |
| 38 | + |
| 39 | +**Playground** |
| 40 | +- feat(playground): support switch framework by @yy-wow in https://github.com/opentiny/genui-sdk/pull/143 |
| 41 | +- feat(playground): add OpenAPI-to-AI-SDK tools pipeline with service configuration UI by @gargameljyh in https://github.com/opentiny/genui-sdk/pull/175 |
| 42 | +- feat(playground): implement language switcher and add English translations by @lhuans in https://github.com/opentiny/genui-sdk/pull/176 |
| 43 | +- feat(playground): enhance chat template by adding extra body options by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/177 |
| 44 | +- feat(playground/template): add schema manual editing functionality and version history panel by @yy-wow in https://github.com/opentiny/genui-sdk/pull/185 |
| 45 | +- feat(playground): add support for A2A protocol v1.0 by @yy-wow in https://github.com/opentiny/genui-sdk/pull/187 |
| 46 | +- feat(playground): improve i18n and persist locale settings by @lhuans in https://github.com/opentiny/genui-sdk/pull/192 |
| 47 | +- feat(playground/server): add new MaaS models at dev mode by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/205 |
| 48 | +- feat(playground): allow mixin renderer by @rhlin in https://github.com/opentiny/genui-sdk/pull/208 |
| 49 | + |
| 50 | +--- |
| 51 | + |
| 52 | +## 🐛 Bug Fixes |
| 53 | + |
| 54 | +**Components** |
| 55 | +- fix: replace chart components with huicharts and add apply default props by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/94 |
| 56 | +- fix(genui-sdk-vue): set isJsonComplete default value to true by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/180 |
| 57 | +- fix: fix grid events dynamic change do not work by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/186 |
| 58 | +- fix(genui-sdk-vue): optimize notification event payload and toolcall result by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/190 |
| 59 | +- fix: delete useless defaultValue by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/203 |
| 60 | +- fix(genui-sdk-vue): move inject token to shared folder and export in ConfigProvider by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/211 |
| 61 | +- fix(genui-sdk-angular): apply default properties in attribute parsing by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/218 |
| 62 | +- fix(genui-sdk-vue): fix jsonrepair dependency and add export by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/223 |
| 63 | +- fix(playground, genui-sdk-angular): fix genui-renderer-ng-element style by @rhlin in https://github.com/opentiny/genui-sdk/pull/227 |
| 64 | +- fix(genui-sdk-vue): change image content type to openai by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/228 |
| 65 | +- fix(genui-sdk-vue): optimize assistant display for markdown-only scene by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/229 |
| 66 | +- fix(genui-sdk-vue): fix ref error when ref is empty object at streaming scene by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/232 |
| 67 | +- fix(core,materials): add eventName to prompt and optimize materials by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/233 |
| 68 | +- fix(core): add API rule and optimize prompt for params use by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/234 |
| 69 | + |
| 70 | +**Playground** |
| 71 | +- fix(playground): only show prompt variants in vue framework by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/217 |
| 72 | +- fix(playground): fall back to A2A 0.3 when 1.0 invoke fails by @yy-wow in https://github.com/opentiny/genui-sdk/pull/219 |
| 73 | +- fix(playground): harden jsonPatch apply and component id assignment by @yy-wow in https://github.com/opentiny/genui-sdk/pull/222 |
| 74 | + |
| 75 | +--- |
| 76 | + |
| 77 | +## ♻️ Refactor |
| 78 | + |
| 79 | +**Components** |
| 80 | +- refactor(materials): restructure vue materials package and fix playground template preview by @yy-wow in https://github.com/opentiny/genui-sdk/pull/191 |
| 81 | +- refactor: add new packages and refactor export by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/206 |
| 82 | +- refactor(ng): decouple OpenTiny NG materials from schema renderer by @yy-wow in https://github.com/opentiny/genui-sdk/pull/213 |
| 83 | + |
| 84 | +--- |
| 85 | + |
| 86 | +## 🔧 Other Changes |
| 87 | + |
| 88 | +**Components** |
| 89 | +- chore: update submodule to enhance vue renderer apply default props by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/204 |
| 90 | +- chore: delete opentiny ng checkbox patch by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/225 |
| 91 | + |
| 92 | +**Build** |
| 93 | +- chore: add multi-AI skill sync script by @gargameljyh in https://github.com/opentiny/genui-sdk/pull/212 |
| 94 | +- build: add element-plus and angular external config to workflow builds by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/220 |
| 95 | +- ci: fix GitHub Pages check-openapi-tools URL error by @gimmyhehe in https://github.com/opentiny/genui-sdk/pull/221 |
| 96 | + |
| 97 | +**Docs** |
| 98 | +- docs: add internationalization by @lhuans in https://github.com/opentiny/genui-sdk/pull/189 |
| 99 | +- docs: add logo and DeepWiki badge to README by @chilingling in https://github.com/opentiny/genui-sdk/pull/195 |
| 100 | +- docs: add copy page markdown button to VitePress docs by @lhuans in https://github.com/opentiny/genui-sdk/pull/198 |
| 101 | +- fix(docs): keep top nav highlight when switching sidebar pages by @lhuans in https://github.com/opentiny/genui-sdk/pull/199 |
| 102 | +- fix(docs): use onContentUpdated for copy-page title anchor by @yy-wow in https://github.com/opentiny/genui-sdk/pull/201 |
| 103 | + |
| 104 | +**Site** |
| 105 | +- feat(homepage): implement language switcher and add English translations by @lhuans in https://github.com/opentiny/genui-sdk/pull/172 |
| 106 | + |
| 107 | +--- |
| 108 | + |
| 109 | +## 🎉 New Contributors |
| 110 | + |
| 111 | +- @chilingling made their first contribution in https://github.com/opentiny/genui-sdk/pull/195 |
| 112 | + |
| 113 | +**Full Changelog**: https://github.com/opentiny/genui-sdk/compare/v1.2.0...v1.3.0 |
| 114 | +``` |
| 115 | + |
| 116 | +> 注:有首次贡献者时,于 `## 🔧 Other Changes` 之后、`**Full Changelog**` 之前插入 `## 🎉 New Contributors` 章节,每行格式为 `- @{login} made their first contribution in https://github.com/opentiny/genui-sdk/pull/{number}`。无首次贡献者则省略整个章节。 |
0 commit comments