v4.0.0
Breaking Change
Up to and including version 3.x, ymlr
would encode structs out of the box. This version introduces protocols so structs need to @derive Ymlr.Encoder
in order to be encoded. See the documentation of the Ymlr.Encoder
protocol for further information.
Changed
- A protocol based implementation was added which give more freedom to users of this library - #118
Added
- Adds an option
atoms
to encode atom map keys with a leading colon. - Tuples are now encoded as lists.