diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c3391..313afec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ # CHANGELOG -## v2.0.0-rc.0 (2020-01-21) +## v2.0.0 (2020-09-08) Decimal v2.0 requires Elixir v1.2+. +### Enhancements + +* Add `Decimal.integer?/1` + ### Breaking changes * Change `Decimal.compare/2` to return `:lt | :eq | :gt` @@ -24,7 +28,7 @@ Decimal v2.0 requires Elixir v1.2+. * Deprecate `Decimal.cmp/2` -## v1.9.0-rc.0 (2020-01-07) +## v1.9.0 (2020-09-08) ### Enhancements diff --git a/README.md b/README.md index 96966a5..6584a9f 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,13 @@ Arbitrary precision decimal arithmetic. -Documentation: https://hexdocs.pm/decimal/ - ## Usage Add Decimal as a dependency in your `mix.exs` file. ```elixir def deps do - [{:decimal, "~> 1.0"}] + [{:decimal, "~> 2.0"}] end ``` diff --git a/mix.exs b/mix.exs index 1c4198c..aeca126 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,8 @@ defmodule Decimal.Mixfile do use Mix.Project - @version "2.0.0-rc.0" + @version "2.0.0" + @source_url "https://github.com/ericmj/decimal" def project() do [ @@ -10,7 +11,7 @@ defmodule Decimal.Mixfile do elixir: "~> 1.2", deps: deps(), name: "Decimal", - source_url: "https://github.com/ericmj/decimal", + source_url: @source_url, docs: [source_ref: "v#{@version}", main: "readme", extras: ["README.md"]], description: description(), package: package() @@ -35,7 +36,7 @@ defmodule Decimal.Mixfile do [ maintainers: ["Eric Meadows-Jönsson"], licenses: ["Apache-2.0"], - links: %{"GitHub" => "https://github.com/ericmj/decimal"} + links: %{"GitHub" => @source_url} ] end end