Skip to content

Commit dfa2308

Browse files
committed
chore: prepare v0.4.0 release
1 parent 600bc72 commit dfa2308

5 files changed

Lines changed: 24 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 0.4.0
2+
3+
- Added custom style authoring APIs:
4+
- `JsonStyleDefinition.fromJson()`
5+
- `JsonStyleDefinition.toJson()`
6+
- `JsonStyleDefinition.merge()`
7+
- `JsonCatalog.withStyle()`
8+
- `JsonCatalog.withStyles()`
9+
- `JsonCatalog.withStylesFromJson()`
10+
- Added style token support to prompt generation for richer LLM guidance.
11+
- Expanded showcase app:
12+
- Runtime custom style creation dialog (`Add Custom Style`)
13+
- Startup custom style injection via `CUSTOM_STYLE_JSON`
14+
- Auto stream/capture runtime flags for demo recording
15+
- New streamed multi-component scenario (`component_stream`)
16+
- Added custom style guide documentation:
17+
- `docs/custom-style-guide.md`
18+
- Added component-stream GIF demo:
19+
- `assets/gifs/component-stream-render.gif`
20+
- Updated README with custom style usage and streaming GIF examples.
21+
122
## 0.3.0
223

324
- Added style preset model with `JsonStyleDefinition` and `JsonCatalog.styles`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ final catalog = baseCatalog.withStylesFromJson({
203203
```
204204

205205
See full style authoring guide:
206-
- [`docs/custom-style-guide.md`](docs/custom-style-guide.md)
206+
- [`doc/custom-style-guide.md`](doc/custom-style-guide.md)
207207

208208
## Stream JSONL Patches
209209

File renamed without changes.

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ packages:
6868
path: ".."
6969
relative: true
7070
source: path
71-
version: "0.3.0"
71+
version: "0.4.0"
7272
flutter_lints:
7373
dependency: "direct dev"
7474
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_json_render
22
description: "Guardrailed JSON-to-Widget renderer for Flutter and Dart."
3-
version: 0.3.0
3+
version: 0.4.0
44
homepage: "https://github.com/Dev-Beom/flutter-json-render"
55
repository: "https://github.com/Dev-Beom/flutter-json-render"
66
issue_tracker: "https://github.com/Dev-Beom/flutter-json-render/issues"

0 commit comments

Comments
 (0)