Skip to content

v4.0.0

Compare
Choose a tag to compare
@mruoss mruoss released this 16 Apr 19:57
· 195 commits to main since this release
aefaecd

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.