Releases: ufirstgroup/ymlr
v5.1.3
v5.1.2
v5.1.1
v5.1.0
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
Chores
- Update dependency erlang to v26.2 by @renovate in #174
- Update dependency ex_doc to ~> 0.31 by @renovate in #173
- Update dependency erlang to v26.2.1 by @renovate in #175
- Update dependency elixir to v1.16.0 by @renovate in #176
New Contributors
- @mlwilkerson made their first contribution in #178
Full Changelog: v5.0.0...v5.1.0
v5.0.0
Although this release contains only fixes but as the encoding changes, we
consider it a breaking change. Hence the major bump.
Fixed
Chores
- Update actions/checkout action to v3.6.0 by @renovate in #147
- Update dependency elixir to v1.15.5 by @renovate in #148
- Update actions/checkout action to v4 by @renovate in #149
- Update dependency elixir to v1.15.6 by @renovate in #151
- Update dependency erlang to v26.1 by @renovate in #150
- Update actions/checkout action to v4.1.0 by @renovate in #152
- Update dependency excoveralls to ~> 0.18 by @renovate in #154
- Update dependency erlang to v26.1.1 by @renovate in #153
- Update dependency erlang to v26.1.2 by @renovate in #155
- Update dependency elixir to v1.15.7 by @renovate in #156
- Update actions/checkout action to v4.1.1 by @renovate in #162
- add assert_encode macro to simplify tests by @mruoss in #163
- upgrade mix_test_watch to fix compiler warning by @jlgeering in #167
- Cleanup tests by @jlgeering in #168
Full Changelog: v4.2.0...v5.0.0
v4.2.0
Added
Added
- Adds an option
sort_maps
to encode map with entries sorted by @adamwight - #139,#144 - Quote values beginning with
:{
by @AZQ1994 - #140,#141
Chores
- Update dependency erlang to v25.3.1 by @renovate in #126
- Update dependency erlang to v25.3.2 by @renovate in #127
- Update dependency elixir to v1.14.5 by @renovate in #129
- Update dependency erlang to v26 by @renovate in #128
- Update dependency erlang to v26.0.1 by @renovate in #130
- Update actions/checkout action to v3.5.3 by @renovate in #131
- fix testes for OTP26 by @mruoss in #132
- Run tests on OTP26 by @mruoss in #133
- Update dependency elixir to v1.15.0 by @renovate in #134
- Update dependency erlang to v26.0.2 by @renovate in #135
- Update dependency elixir to v1.15.1 by @renovate in #136
- Update dependency elixir to v1.15.2 by @renovate in #137
- Update dependency ex_doc to ~> 0.30 by @renovate in #138
- Update dependency elixir to v1.15.3 by @renovate in #142
- Update dependency elixir to v1.15.4 by @renovate in #143
- Update dependency excoveralls to ~> 0.17 by @renovate in #145
New Contributors
- @adamwight made their first contribution in #141
- @AZQ1994 made their first contribution in #144
Full Changelog: v4.1.0...v4.2.0
v4.1.0
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.
v3.0.1
What's Changed
- quoted map keys by @jlgeering in #95
- Fix encoding structs by @mruoss in #99
Full Changelog: v3.0.0...v3.0.1
v3.0.0
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 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)
Pull Requests
- Bump ex_doc from 0.24.1 to 0.24.2 by @dependabot in #20
- switch to erlef/setup-beam by @mruoss in #22
- Bump yaml_elixir from 2.6.0 to 2.7.0 by @dependabot in #23
- Switch To Codecov by @mruoss in #25
- Adds OTP 24.x to test workflow by @mruoss in #26
- adds elixir 1.12.x to github actions by @mruoss in #28
- Bump excoveralls from 0.14.0 to 0.14.1 by @dependabot in #29
- Bump credo from 1.5.5 to 1.5.6 by @dependabot in #32
- Bump mix_test_watch from 1.0.2 to 1.0.3 by @dependabot in #30
- Bump ex_doc from 0.24.2 to 0.25.0 by @dependabot in #37
- Bump yaml_elixir from 2.7.0 to 2.8.0 by @dependabot in #39
- Bump excoveralls from 0.14.1 to 0.14.2 by @dependabot in #35
- Bump ex_doc from 0.25.0 to 0.25.1 by @dependabot in #41
- Bump ex_doc from 0.25.1 to 0.25.2 by @dependabot in #44
- Bump mix_test_watch from 1.0.3 to 1.1.0 by @dependabot in #43
- Bump ex_doc from 0.25.2 to 0.25.3 by @dependabot in #48
- Bump excoveralls from 0.14.2 to 0.14.3 by @dependabot in #49
- Bump ex_doc from 0.25.3 to 0.25.5 by @dependabot in #54
- Bump excoveralls from 0.14.3 to 0.14.4 by @dependabot in #52
- Bump ex_doc from 0.25.5 to 0.26.0 by @dependabot in #58
- Bump credo from 1.5.6 to 1.6.1 by @dependabot in #56
- Bump credo from 1.6.1 to 1.6.2 by @dependabot in #62
- Bump ex_doc from 0.26.0 to 0.27.3 by @dependabot in #60
- Bump ex_doc from 0.27.3 to 0.28.0 by @dependabot in #63
- Bump credo from 1.6.2 to 1.6.3 by @dependabot in #65
- Bump ex_doc from 0.28.0 to 0.28.1 by @dependabot in #67
- Bump credo from 1.6.3 to 1.6.4 by @dependabot in #72
- Bump ex_doc from 0.28.1 to 0.28.2 by @dependabot in #70
- Bump ex_doc from 0.28.2 to 0.28.3 by @dependabot in #73
- Bump ex_doc from 0.28.3 to 0.28.4 by @dependabot in #75
- Bump excoveralls from 0.14.4 to 0.14.5 by @dependabot in #77
- Bump yaml_elixir from 2.8.0 to 2.9.0 by @dependabot in #80
- Bump excoveralls from 0.14.5 to 0.14.6 by @dependabot in #84
- Bump credo from 1.6.4 to 1.6.6 by @dependabot in #88
- Bump dialyxir from 1.1.0 to 1.2.0 by @dependabot in #85
- encode timestamp with canonical format (iso8601) see #87 by @jlgeering in #90
- dialyzer GH step according to example on dialyzer GH page by @mruoss in #91
- Prepare release 3.0.0 by @mruoss in #92
New Contributors
- @jlgeering made their first contribution in #90
Full Changelog: v2.0.0...v3.0.0