Skip to content

Releases: ufirstgroup/ymlr

v5.1.3

12 Mar 15:40
110c1d4
Compare
Choose a tag to compare

Fixed

  • Quote all versions of booleans when given as strings #188, #190

Chores

Full Changelog: v5.1.2...v5.1.3

v5.1.2

06 Feb 20:44
Compare
Choose a tag to compare

What's Changed

Chores

New Contributors

Full Changelog: v5.1.1...v5.1.2

v5.1.1

12 Jan 20:25
8ca824c
Compare
Choose a tag to compare

Fixed

  • handle quoted strings containing single quotes (should always use double quotes) #179, #181
  • handle string with leading or trailing whitespaces #180, #181

Full Changelog: v5.1.0...v5.1.1

v5.1.0

12 Jan 20:24
b8767c7
Compare
Choose a tag to compare

Added

  • Support for escape and unicode characters #98
  • Refactor Ymlr.Encode to make it faster #171.
  • Handle special floats .Inf and .Nan. #170, #172
  • Script for benchmarking

Fixed

  • Put single quotes around indicator chars when it is the entire value. #177, #178

Chores

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

03 Nov 18:44
325dd55
Compare
Choose a tag to compare

Although this release contains only fixes but as the encoding changes, we
consider it a breaking change. Hence the major bump.

Fixed

Chores

Full Changelog: v4.2.0...v5.0.0

v4.2.0

18 Aug 20:43
ba7fafe
Compare
Choose a tag to compare

Added

Added

Chores

New Contributors

Full Changelog: v4.1.0...v4.2.0

v4.1.0

23 Apr 18:08
2617b87
Compare
Choose a tag to compare

Added

  • Ymlr.Encoder - Option except: :defaults to exclude default values

v4.0.0

16 Apr 19:57
aefaecd
Compare
Choose a tag to compare

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.

v3.0.1

05 Sep 20:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

07 Aug 06:16
7f96f00
Compare
Choose a tag to compare

In this release we changed the way DateTime is encoded (see below). This can be a breaking change if you rely on the old date format with spaces. Because of this change, version 3.0.0 is now again compatible with Elixir 1.10

Changed

  • use Enum.map_join/3 indead of Enum.map/2 and Enum.join/2 as it's more efficient according to credo recommendations
  • Change the serialization of timestamps to use the canonical (iso8601) format, i.e. before: 2022-07-31 14:48:48.000000000 Z and now: "2022-07-31T14:48:48Z" (#87, #90)

Pull Requests

New Contributors

Full Changelog: v2.0.0...v3.0.0