From 3ae184ecf68b14cfce9a3b2215ce64c66aeb63df Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Tue, 7 Jan 2020 20:45:00 +0100 Subject: [PATCH] Prepare v1.9.0-rc.0 (#140) --- CHANGELOG.md | 20 +++++++++++++++++++- mix.exs | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81b29c0..9967b15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # CHANGELOG -## v1.9.0-dev +## v1.9.0-rc.0 (2020-01-07) + +### Enhancements + +* Add `Decimal.negate/1` +* Add `Decimal.apply_context/1` +* Add `Decimal.normalize/1` +* Add `Decimal.Context.with/2`, `Decimal.Context.get/1`, `Decimal.Context.set/2`, + and `Decimal.Context.update/1` +* Add `Decimal.is_decimal/1` + +### Deprecations + +* Deprecate `Decimal.minus/1` in favour of the new `Decimal.negate/1` +* Deprecate `Decimal.plus/1` in favour of the new `Decimal.apply_context/1` +* Deprecate `Decimal.reduce/1` in favour of the new `Decimal.normalize/1` +* Deprecate `Decimal.with_context/2`, `Decimal.get_context/1`, `Decimal.set_context/2`, + and `Decimal.update_context/1` in favour of new functions on the `Decimal.Context` module +* Deprecate `Decimal.decimal?/1` in favour of the new `Decimal.is_decimal/1` ## v1.8.1 (2019-12-20) diff --git a/mix.exs b/mix.exs index f2532b0..852807b 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Decimal.Mixfile do use Mix.Project - @version "1.9.0-dev" + @version "1.9.0-rc.0" def project() do [