Skip to content

Latest commit

 

History

History
74 lines (40 loc) · 2.38 KB

CHANGELOG.md

File metadata and controls

74 lines (40 loc) · 2.38 KB

Changelog

All notable changes to php-number will be documented in this file

2.2.3 - 2022-10-24

What's Changed

  • Make Number::create accept null values by @bobmulder in #13

Full Changelog: https://github.com/madebybob/php-number/compare/2.2.2...2.2.3

2.2.2 - 2022-10-24

What's Changed

  • Fix dependencies for Vimeo and PHP CS to fix workflow

Full Changelog: https://github.com/madebybob/php-number/compare/2.2.1...2.2.2

2.2.1 - 2022-10-24

What's Changed

  • Add jsonSerialize by @melvin-drost in #16

New Contributors

  • @melvin-drost made their first contribution in #16

Full Changelog: https://github.com/madebybob/php-number/compare/2.2.0...2.2.1

2.2.0 - 2022-10-22

What's Changed

  • Add isGreaterThanOrEqual, isLessThanOrEqual, eq, gte and lte by @bobmulder in #15

Full Changelog: https://github.com/madebybob/php-number/compare/2.1.1...2.2.0

2.1.1 - 2022-10-22

  • Fix update-changelog workflow

Full Changelog: https://github.com/madebybob/php-number/compare/2.1.0...2.1.1

2.0.0 - 2021-08-16

  • Change root namespace from Number to MadeByBob/Number (#12)

1.4.0 - 2021-03-04

  • Added absolute and opposite methods in AbstractNumber (#10)
  • Fixed bug in isPositive method (#10)

1.3.0 - 2021-01-21

  • Added round, ceil & floor method in AbstractNumber
  • Improved unit tests when Intl extension is not loaded

1.2.0 - 2021-01-20

1.1.0 - 2021-01-05

  • Removed AbstractNumber::create() in favor of extensibility. Added to the default Number class.
  • (it was not possible to extend the method by adding arguments in AbstractNumber implementations).
  • Add this method to your own AbstractNumber implementations if you like to be able to use this static factory method.
  • Changed access identifier of AbstractNumber::getNumberFromInput() from private to protected in favor of extensibility.

1.0.0 - 2020-12-30

  • Initial release