Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions packages/mix_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
## 2.1.3
## 2.2.0-beta.0

- **FEAT**: Support `@MixWidget(widgetParameters: .only({...}))` for a stable,
curated generated widget value-parameter API. Factory parameters, valid
`Key? key` forwarding, and method-level type parameters remain automatic;
excluded optional parameters use the styler method's defaults and are not
validated for generated-widget visibility or name collisions. Annotations
from older `mix_annotations` releases retain `.all()` behavior.
- **FEAT**: Forward canonical named factories and matching fluent anchors from
nested `StyleSpec<XSpec>` fields with
`@MixableField(forwardStyler: true)`. A source-Spec `stylerSurface` override
Expand All @@ -17,6 +11,15 @@
validate custom forwarding `setterType` construction and method
compatibility, and reject collisions with inherited `MixStyler` members.

## 2.1.3

- **FEAT**: Support `@MixWidget(widgetParameters: .only({...}))` for a stable,
curated generated widget value-parameter API. Factory parameters, valid
`Key? key` forwarding, and method-level type parameters remain automatic;
excluded optional parameters use the styler method's defaults and are not
validated for generated-widget visibility or name collisions. Annotations
from older `mix_annotations` releases retain `.all()` behavior.

## 2.1.2

- **FEAT**: Generate one named widget constructor per accessible enum value
Expand Down
4 changes: 2 additions & 2 deletions packages/mix_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: mix_generator
description: A code generator for Mix, an expressive way to effortlessly build design systems in Flutter.
version: 2.1.3
version: 2.2.0-beta.0
homepage: https://github.com/btwld/mix
repository: https://github.com/btwld/mix/tree/main/packages/mix_generator

environment:
sdk: ">=3.11.0 <4.0.0"

dependencies:
mix_annotations: ^2.1.1
mix_annotations: ^2.2.0-beta.0
dart_style: ^3.0.0
source_gen: ">=3.0.0 <5.0.0"
analyzer: '>=9.0.0 <11.0.0'
Expand Down
Loading