View Source Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
unreleased
Unreleased
4-0-0-2023-04-16
[4.0.0] - 2023-04-16
breaking-change
Breaking Change
Up to and including version 3.x, ymlr
would encode structs out of the box.
This version introduces protocols so and structs need to @derive Ymlr.Encoder
in order to be encoded. See the documentation of the Ymlr.Encoder
protocol
for further information.
changed
Changed
- A protocol based implementation was added which give more freedom to users of this library - #118
added
Added
- Adds an option
atoms
to encode atom map keys with a leading colon. - Tuples are now encoded as lists.
3-0-1-2022-09-05
[3.0.1] - 2022-09-05
fixed
Fixed
- Wrap map keys in doouble quotes when required (#94, #95)
- Encode structs by turning them to lists before mapping over them
3-0-0-2022-08-07
[3.0.0] - 2022-08-07
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-1
Changed
- use
Enum.map_join/3
indead ofEnum.map/2
andEnum.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)
2-0-0-2021-04-02
[2.0.0] - 2021-04-02
removed
Removed
- 2.0 and upwards don't support Elixir 1.10 anymore. Use version 1.x for Elixir 1.10 support.
added-1
Added
- Date and DateTime support (#17)
chores
Chores
- yaml_elixir upgraded to 2.6.0
- excoveralls upgraded to 0.14.0
- ex_doc upgraded to 0.24.1
- credo upgraded to 1.5.5
- dialyxir upgraded to 1.1.0
1-1-0-2021-04-02
[1.1.0] - 2021-04-02
added-2
Added
- Date and DateTime support (#17)
chores-1
Chores
- yaml_elixir upgraded to 2.6.0
- excoveralls upgraded to 0.14.0
- ex_doc upgraded to 0.24.1
- credo upgraded to 1.5.5
- dialyxir upgraded to 1.1.0
1-0-1-2020-09-22
[1.0.1] - 2020-09-22
changed-2
Changed
- Rescue ArgumentError exception for oversize floats according to Float.parse/1 doc
1-0-0-2020-08-21
[1.0.0] - 2020-08-21
No changes in this release. We have tested the library on a big bunch of CRDs and feel confident to publish a sable relese.
0-0-1-2020-07-31
[0.0.1] - 2020-07-31
First ymlr beta release