Skip to content

Releases: worksome/number

v4.1.0

14 Apr 14:18
5965d05

Choose a tag to compare

What's Changed

  • fix: ensure percentage output uses rounded value by @owenvoke in #55
  • tests: update formatting of tests by @owenvoke in #57
  • feat: add new MonetaryAmount::fromCents() method by @owenvoke in #56

Full Changelog: v4.0.0...v4.1.0

v4.0.0

14 Apr 11:57
76ea521

Choose a tag to compare

Warning

BREAKING CHANGES

  • The NumberFromCents cast now requires a MonetaryAmount or subclass.
  • The Number::inCents() method has been removed. Use MonetaryAmount::toCents() instead.

What's Changed

  • feat!: update NumberFromCents to require MonetaryAmount by @owenvoke in #53
  • feat!: remove Number::inCents() by @owenvoke in #54

Full Changelog: v3.6.0...v4.0.0

v3.6.0

14 Apr 11:24
2b7499f

Choose a tag to compare

What's Changed

  • chore(deps): bump dependabot/fetch-metadata from 2 to 3 by @dependabot[bot] in #50
  • fix: resolve deprecation warnings in tests by @owenvoke in #51
  • feat: move inCents() to MonetaryAmount::toCents() by @owenvoke in #52

Full Changelog: v3.5.0...v3.6.0

v3.5.0

30 Mar 07:44
84898ae

Choose a tag to compare

What's Changed

Full Changelog: v3.4.1...v3.5.0

v3.4.1

25 Mar 16:12
4165038

Choose a tag to compare

Full Changelog: v3.4.0...v3.4.1

v3.4.0

25 Mar 16:02
7959b90

Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

v3.3.0

20 Mar 14:14
4c87d77

Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.3.0

v3.2.0

06 Mar 16:42
bd2555b

Choose a tag to compare

What's Changed

  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #40
  • chore: resolve deprecated brick/math uses by @owenvoke in #42
  • feat: throw exception when precision exceeds decimals by @owenvoke in #41

Full Changelog: v3.1.0...v3.2.0

v3.1.0

21 Nov 13:08
be72ea8

Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.1.0

v3.0.0

21 Nov 11:55
30b1e0d

Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v3.0.0