Skip to content

Releases: crystal-money/money

v1.3.0

19 Apr 00:29
Compare
Choose a tag to compare

What's Changed

  • Added Currency#initialize taking named arguments for all properties in 3ed2d61
  • Implemented :disambiguate option in Money#format in #14
  • Changed Peruvian Sol (PEN) decimal mark and thousands separator in f78e35c
  • Changed South African Rand (ZAR) decimal mark and thousands separator in 9f2a2a2
  • Updated Georgian Lari (GEL) symbol in 776fa18
  • Use euro symbol (€) as html_entity for euro currency in 9256b3b
  • Added new SLE currency in e9258d3
  • Added Second Dobra (STN) from Sao Tome and Principe in 18b5032
  • Added USDC stablecoin in 8f656d1
  • Fixed Money#allocate for enumerable of all zeros in 530e5ac
  • Fixed typos in 32603b1

Full Changelog: v1.2.0...v1.3.0

v1.2.0

04 Aug 22:38
006bd0c
Compare
Choose a tag to compare
  • Crystal ~> 1.0.0 compatibility 🎉
  • Replaced JSON.mapping with JSON::Serializable
  • Added Money.rounding_mode and related mode argument to Money#round method
  • Currency.wrap? doesn't raise anymore when given invalid currency id
  • Currency.wrap? doesn't accept nil values anymore
  • Migrated from Travis CI to GitHub Actions

v1.1.0

11 Apr 00:33
37384d2
Compare
Choose a tag to compare
  • Fixed Money initializer to accept bank argument as well
  • Fixed buggy arg type restriction in Money#round
  • Removed BigDecimal#ceil monkey-patch
  • Several small tweaks and fixes

v1.0.1

14 Feb 20:08
64686f3
Compare
Choose a tag to compare
  • Monkey-patched bug in BigDecimal#ceil from Crystal stdlib (crystal-lang/crystal#8789)
  • Fixed deprecation warnings, closes #5
  • Fixed bug in Money#split
  • Updated currency data for UYU, UZS and XOF

v1.0.0

27 Aug 20:23
Compare
Choose a tag to compare
v1.0.0