Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Latest commit

 

History

History
83 lines (56 loc) · 2.77 KB

ChangeLog.md

File metadata and controls

83 lines (56 loc) · 2.77 KB

Change Log

All notable changes to sebastianbergmann/money will be documented in this file. Updates should follow the Keep a CHANGELOG principles.

1.6.2 - 2016-04-17

Final release after project was abandoned.

1.6.1 - 2015-06-24

Changed

  • Fixed dependency information for PHP 7
  • Excluded /build and /tests directory from distribution

1.6.0 - 2015-04-02

Added

  • Added the Money::getConvertedAmount() method for converting a Money object's amount into its base units
  • Added the Currency::getCurrencies() method for retrieving the registered currencies

Removed

  • Removed support for PHP < 5.4.0

1.5.1 - 2015-02-22

Added

  • Added the optional $roundingMode argument to the Money::extractPercentage() method
  • Added support for arbitrary currencies that are not part of ISO 4217 to the Currency class
  • Added support for lower-case currency strings
  • The Money class now implements PHP's built-in JsonSerializable interface

Changed

  • Changed the sub-unit of Japanese Yen from 100 to 1

1.5.0 - 2014-09-05

Added

  • Added the Money::extractPercentage() method for extracting a percentage and the corresponding subtotal

1.4.0 - 2014-09-03

Added

  • Added the Money::createFromString() named constructor to create Money objects from strings such as "12.34"

Changed

  • Changed Money::__construct() to accept an ISO 4217 currency code as its second argument

1.3.1 - 2014-07-21

Added

  • Added support for late static binding to the Money::newMoney() method
  • Added checks to ensure that internal operations do not disguise imprecision

1.3.0 - 2013-11-13

Added

  • Added (automatically generated) Currency-specific subclasses of Money

1.2.0 - 2013-10-19

Added

  • Implemented rounding support for the Money::multiply() method

1.1.0 - 2013-10-16

Added

  • Added Money::equals(), Money::greaterThanOrEqual(), and Money::lessThanOrEqual() methods

1.0.0 - 2013-07-21

Added

  • Initial release