diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ad77f2..c6d797d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,9 @@ -# Changelog for Money v1.0.0-rc.1 +# Changelog for Money v1.0.0 -This is the changelog for Money v1.0.0-rc.1 released on November __th, 2017. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags) +This is the changelog for Money v1.0.0 released on Decmber 11th, 2017. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags) -This version signals API stability and the first release candidate. +This version signals API stability. ## Enhancements -* Updated [ex_cldr](https://hex.pm/packages/ex_cldr) to version 1.0.0-rc.0 - -* Ensure that `cast/1` is consistent in type checking for both type adapters (Postgres and MySQL) - -## Bug Fixes - -* Allow string values for an amount for `Money.new/2` as long as the `currency_code` is an atom. - -* Improve the error message if `Money.new/2` can't disambiguate the arguments. Thanks to @ssomnoremac. Closes #37. - +* Updated [ex_cldr](https://hex.pm/packages/ex_cldr) to version 1.0.0 diff --git a/mix.exs b/mix.exs index b0529c1..77c73f2 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Money.Mixfile do use Mix.Project - @version "1.0.0-rc.1" + @version "1.0.0" def project do [app: :ex_money, @@ -69,8 +69,8 @@ defmodule Money.Mixfile do defp deps do [ - {:ex_cldr, "~> 1.0.0-rc or ~> 1.0"}, - {:ex_cldr_numbers, "~> 1.0.0-rc or ~> 1.0"}, + {:ex_cldr, "~> 1.0"}, + {:ex_cldr_numbers, "~> 1.0"}, {:decimal, "~> 1.4"}, {:ecto, "~> 2.1", optional: true}, {:ex_doc, "~> 0.18", only: :dev} diff --git a/mix.lock b/mix.lock index ec45f8c..3b024fb 100644 --- a/mix.lock +++ b/mix.lock @@ -3,8 +3,8 @@ "decimal": {:hex, :decimal, "1.4.1", "ad9e501edf7322f122f7fc151cce7c2a0c9ada96f2b0155b8a09a795c2029770", [:mix], []}, "earmark": {:hex, :earmark, "1.2.3", "206eb2e2ac1a794aa5256f3982de7a76bf4579ff91cb28d0e17ea2c9491e46a4", [:mix], []}, "ecto": {:hex, :ecto, "2.2.6", "3fd1067661d6d64851a0d4db9acd9e884c00d2d1aa41cc09da687226cf894661", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]}, - "ex_cldr": {:hex, :ex_cldr, "1.0.0-rc.2", "ba0534e39b9d398f695707fbfd84d93acbcbf4c658c65c666cf124d769c3cfca", [:mix], [{:abnf2, "~> 0.1", [hex: :abnf2, optional: false]}, {:decimal, "~> 1.4.1", [hex: :decimal, optional: false]}, {:gettext, "~> 0.13.0", [hex: :gettext, optional: true]}, {:poison, "~> 2.1 or ~> 3.0", [hex: :poison, optional: false]}]}, - "ex_cldr_numbers": {:hex, :ex_cldr_numbers, "1.0.0-rc.0", "34cdcecec8a5a117746bd34e63ae85e420a713cbf3aa113f01597d9d386bf045", [:mix], [{:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:ex_cldr, "~> 1.0-rc or ~> 1.0", [hex: :ex_cldr, optional: false]}, {:poison, "~> 2.1 or ~> 3.1", [hex: :poison, optional: false]}]}, + "ex_cldr": {:hex, :ex_cldr, "1.0.0", "f3f3e715eaf14c91579da85de3e6a208291824a622c6594d2700cc8479cd1b54", [:mix], [{:abnf2, "~> 0.1", [hex: :abnf2, optional: false]}, {:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:gettext, "~> 0.13", [hex: :gettext, optional: true]}, {:poison, "~> 2.1 or ~> 3.0", [hex: :poison, optional: false]}]}, + "ex_cldr_numbers": {:hex, :ex_cldr_numbers, "1.0.0", "1ac2e9d3116a7f11641421ed69fe5fdb6af8dd7353cfb109553ae7bc28dca036", [:mix], [{:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:ex_cldr, "~> 1.0", [hex: :ex_cldr, optional: false]}, {:poison, "~> 2.1 or ~> 3.1", [hex: :poison, optional: false]}]}, "ex_doc": {:hex, :ex_doc, "0.18.1", "37c69d2ef62f24928c1f4fdc7c724ea04aecfdf500c4329185f8e3649c915baf", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]}, "poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], []}, "poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], []},