Skip to content

Commit

Permalink
release v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mruoss committed Nov 3, 2023
1 parent 43ee684 commit 325dd55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

<!-- ### Added | Changed | Deprecated | Removed | Fixed | Security -->

<!--------------------- Don't add new entries after this line --------------------->

## [5.0.0] - 2023-11-03

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

### Fixed

- handle "\n" strings - [#157](https://github.com/ufirstgroup/ymlr/issues/157),[#159](https://github.com/ufirstgroup/ymlr/pull/159)
- handle empty list - [#163](https://github.com/ufirstgroup/ymlr/pull/163)

<!--------------------- Don't add new entries after this line --------------------->

## [4.2.0] - 2023-08-18

### Added
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The package can be installed by adding `ymlr` to your list of dependencies in `m
```elixir
def deps do
[
{:ymlr, "~> 4.0"}
{:ymlr, "~> 5.0"}
]
end
```
Expand Down Expand Up @@ -78,7 +78,6 @@ to parse it later using [`YamlElixir`'s `atoms`
option](https://hexdocs.pm/yaml_elixir/readme.html#support-for-atoms), you can
pass `atoms: true` as second argument to any of the `Ymlr` module's functions:


```elixir
iex> Ymlr.document!(%{a: 1}, atoms: true)
"""
Expand All @@ -88,6 +87,7 @@ iex> Ymlr.document!(%{a: 1}, atoms: true)
```

### Encode maps with keys sorted

Maps in elixir, implemented by erlang `:maps`, internally are `flatmap`s or `hashmap`s by size.
Large maps will be encoded in strange order.

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Ymlr.MixProject do
use Mix.Project

@source_url "https://github.com/ufirstgroup/ymlr"
@version "4.2.0"
@version "5.0.0"

def project do
[
Expand Down

0 comments on commit 325dd55

Please sign in to comment.