- build(dependencies): update Mix dependencies (#86)
- Added message to ArgumentError exception
- Update Elixir to 1.16
- Update Erlang to 26
- Remove unnecessary readme paragraph
- Improve CI otp/elixir matrix
- update dialyxir 1.2.0 -> 1.3.0
- update credo 1.6.7 -> 1.7.0
- update ex_doc 0.29.0 -> 0.29.4
- update earmark_parser 1.4.30 -> 1.4.32
- update makeup_elixir 0.16.0 -> 0.16.1, nimble_parsec 1.2.3 -> 1.3.1
- update decimal 2.0.0 -> 2.1.1
- update ex_doc 0.28.5 -> 0.29.0
- update earmark_parser 1.4.26 -> 1.4.29
- update erlang 25.1.1 -> 25.1.2
- update elixir 1.14.0 -> 1.14.1
- update erlang 25.0.4 -> 25.1.1
- Update credo 1.6.6 -> 1.6.7
- Update elixir 1.13.4 -> 1.14.0
- update bunt 0.2.0 -> 0.2.1
- update ex_doc 0.28.4 -> 0.28.5
- update erlang 25.0.3 -> 25.0.4
- update credo 1.6.5 -> 1.6.6
- update erlang 25.0.2 -> 25.0.3
- update dialyxir 1.1.0 -> 1.2.0
- update credo 1.6.4 -> 1.6.5
- update erlang 25.0 -> 25.0.2
- update earmark_parser 1.4.25 -> 1.4.26
- Update erlang 24.3.4 -> 25.0
- Update erlang 24.3.3 -> 24.3.4
- Update ex_doc 0.28.3 -> 0.28.4
- Breaking change: Quantity no longer accepts infinity and NaN decimal values
- New: Added try_new/2 function for error handling infinity and NaN decimal values
Dev deps updates:
- Update erlang 24.3.2 -> 24.3.3
- Update ex_doc 0.28.2 -> 0.28.3
- Update earmark_parser 1.4.24 -> 1.4.25
- Add Quantity.abs/1
- quantity/math: Add clarifying example about unit in sum/3 (origin/nijo/add-clarifying-example-about-sum)
- update erlang 23.2 -> 24.3.2
- update elixir 1.11.2 -> 1.13.3
- update ex_docs 0.25.3 -> 0.28.2
- update makeup_elixir 0.15.0 -> 0.16.0
- update makeup 1.0.5 -> 1.1.0
- update nimble_parsec 1.1.0 -> 1.2.3
- update earmark_parser 1.4.16 -> 1.4.24
- update credo 1.5.3 -> 1.6.4
- update jason 1.2.2 -> 1.3.0
- update dialyxir 1.0.0 -> 1.1.0
- Update ex_doc 0.23.0 -> 0.24.2
- Add integer option as the second param to div and mult
- Update credo 1.4.0 -> 1.5.3
- Update erlang 23.0.4 -> 23.2
- Update earmark_parser 1.4.10 -> 1.4.12
- Update file_system 0.2.9 -> 0.2.10
- Update elixir 1.10.4 -> 1.11.2
- Update ex_doc 0.22.6 -> 0.23.0
- Update makeup_elixir 0.14.1 -> 0.15.0
- Update makeup 1.0.3 -> 1.0.5, nimble_parsec 0.6.0 -> 1.1.0
- Update decimal 1.9.0 -> 2.0.0, 31
- Fix required Decimal version in mix.exs
- Fix wrong jason version specified in CHANGELOG for version 0.5.2
Code changes:
- Change Decimal.reduce -> Decimal.normalize (the functions are identical), 29
Dependency changes:
- Update decimal to 1.9.0, 29
- Update ex_doc to 0.22.6, 29
- Update to credo 1.4.0, 24
- Update to earmark 1.4.10, 27
- Update to elixir 1.4.10, 27
- Update to erlang 23.0.4, 29
- Update to jason 1.2.2, 29
- Speed up testing on GitHub Actions
- Fix type spec of unit to be recursive
Backwards incompatibility: With the introduction of a 1
unit, Quantity.div/2
now always returns a Quantity,
also when the result is a scalar. In that case it will be a Quantity with the unit 1
.
- Add support for arbitrary complex units
- Added to_decimal/1 convinience function
- Generalize reduce_unit/1
- Introduce
1
unit - Add Quantity.inverse/1
- Update makeup 1.0.0 -> 1.0.1
- Update credo 1.3.1 -> 1.3.2
compare/2
(only for same unit)equals?/2
and reduce/1convert_unit/3
helper function- Extracted
decimal_to_string/1
to own public function - Update erlang 22.2.8 -> 22.3
- Update credo 1.3.0 -> 1.3.1
- Update jason 1.1.2 -> 1.2.0
- Update dialyxir 1.0.0-rc.7 -> 1.0.0
- Add to_zero function, 12
- Div, mult and more features, 8
- Add basic math functions, 1
- Update README.md with instructions for basic bath functions, 5
- Setup CI, 3
- Initial release