Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Sep 8, 2020
1 parent 6a0a083 commit 68633fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand All @@ -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

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
7 changes: 4 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -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
[
Expand All @@ -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()
Expand All @@ -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

0 comments on commit 68633fc

Please sign in to comment.