Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -125,6 +125,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- `Encoder.GroupByKind(bool)` is renamed to `Encoder.Layout(kind)` and takes
|
||||
a `LayoutKind`: `LayoutKindGrouped`, the default, or
|
||||
`LayoutKindDeclaration` for the declaration order. `UseLiteralMultiline`
|
||||
is renamed to `LiteralMultiline`. The behaviour is unchanged; 2.0 is the
|
||||
only chance a rename has, and the migrator updates the calls mechanically.
|
||||
- `DecodeError` and `EncodeError` carry one `Path` type, a list of segments
|
||||
(`"items"`, `"[0]"`, `"weight"`) with a `String()` rendering the TOML
|
||||
notation, `items[0].weight`. The decode error used to hold a bare
|
||||
|
||||
Reference in New Issue
Block a user