Skip to content

Commit

Permalink
Guard against NaN and Inf for Decimal 1.x and 2.x. Closes #144
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Oct 13, 2022
1 parent b59585b commit 5bdba98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## Money v5.12.3

This is the changelog for Money v5.12.3 released on October 13th, 2022. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags)

**Note** `ex_money 5.12.3` is supported on Elixir 1.10 and later versions only. It also requires `ex_cldr_numbers 2.25` or later.

### Bug Fixes

* Fix `NaN` and `Inf` amount detection to be compatible with Decimal 1.x and 2.x. Thanks to @Lostkobrakai for the PR. Closes #144.

## Money v5.12.2

This is the changelog for Money v5.12.2 released on October 13th, 2022. For older changelogs please consult the release tag on [GitHub](https://github.com/kipcole9/money/tags)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Money.Mixfile do
use Mix.Project

@version "5.12.2"
@version "5.12.3"

def project do
[
Expand Down

0 comments on commit 5bdba98

Please sign in to comment.