diff --git a/.tool-versions b/.tool-versions index 67aa133..f4c9892 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ -gleam 0.11.2 +gleam 0.14.0 +erlang 23.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ccd366..8f6fa18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +## v1.6.0 - 2021-02-25 + +### Changed + +- Gleam version to 0.14.0 and `gleam_stdlib` version to 0.14.0. +- Relaxed `gleam_stdlib` version constraints in `rebar.config`. + ## v1.5.1 - 2020-09-07 ### Fixed @@ -40,8 +47,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Added -- An `ok_error_tuple` decoder for decoding `ok`/`error` tuples, (e.g. `{ok, - Success}`/`{error, Failure}`). +- An `ok_error_tuple` decoder for decoding `ok`/`error` tuples, (e.g. `{ok, Success}`/`{error, Failure}`). ## v1.1.0 - 2019-12-28 diff --git a/README.md b/README.md index 6cbc845..bac00b7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # decode + [![Hex.pm](https://img.shields.io/hexpm/v/gleam_decode)](https://hex.pm/packages/gleam_decode) [![HexDocs.pm](https://img.shields.io/badge/hex-docs-ff69b4)](https://hexdocs.pm/gleam_decode/) A Gleam library for transforming Erlang or Elixir data into Gleam data. @@ -117,25 +118,22 @@ pub fn erl_create_user() -> Result(User, String) { } ``` - ## Installation Add `gleam_decode` to the deps section of your `rebar.config` file. ```erlang {deps, [ - {gleam_decode, "1.5.1"} + {gleam_decode, "1.6.0"} ]}. ``` - ## Need help? If you are having trouble understanding how to use this library, or find yourself dealing with a decoding problem that you don't believe is solvable with the current API, please open an issue! - ## Credit Most of this library is based on the Elm language's JSON decoding library diff --git a/src/gleam_decode.app.src b/src/gleam_decode.app.src index bfe2fa4..31f189b 100644 --- a/src/gleam_decode.app.src +++ b/src/gleam_decode.app.src @@ -1,6 +1,6 @@ {application,gleam_decode, [{description,"Transform Erlang or Elixir data into Gleam data"}, - {vsn,"1.5.1"}, + {vsn,"1.6.0"}, {registered,[]}, {applications,[kernel,stdlib]}, {env,[]},