Skip to content

Latest commit

 

History

History
104 lines (53 loc) · 1.64 KB

CHANGELOG-2.x.md

File metadata and controls

104 lines (53 loc) · 1.64 KB

Changelog for v2.x

This changelog references the relevant changes (bug and security fixes) done to jomweb/ringgit.

2.4.1

Released: 2021-12-14

Changes

  • Improves generic types support.

2.4.0

Released: 2021-05-30

Added

  • Added support for moneyphp/money version 4.

2.3.1

Released: 2020-11-15

Fixes

  • Fixes typehint on Duit\Concerns\Tax.

2.3.0

Released: 2020-07-24

Changes

  • Allow Duit\MYR::parse() to handle array from json serialized instance.

2.2.2

Released: 2020-07-21

Fixes

  • Fixes allocate() and allocateTo() usage where the resolved value is not an instance of Money.

2.2.1

Released: 2020-01-30

Changes

  • Update minimum moneyphp/money to ^3.3.

Fixes

  • Fixes isZero(), isNegative() and isPositive() usage where the resolved value is not an instance of Money.

2.2.0

Released: 2019-12-17

Changes

  • Remove PHP 7.1 support.

2.1.2

Released: 2020-01-30

Fixes

  • Fixes isZero(), isNegative() and isPositive() usage where the resolved value is not an instance of Money.

2.1.1

Released: 2019-03-04

Changes

  • Improve performance by prefixing all global functions calls with \ to skip the look up and resolve process and go straight to the global function.

2.1.0

Released: 2018-08-23

Changes

  • Allow Duit\Taxable\Sst::$taxRate to be configurable upon construction.

2.0.0

Released: 2018-06-01

Added

  • Added option to use SST type tax.

Changes

  • Increase minimum PHP to v7.1.x.
  • Make Duit\Concerns\Gst optional.

Removed

  • Deprecate and remove Duit\Concerns\Vat, replaced with Duit\Concerns\Tax.