Skip to content

Latest commit

 

History

History
185 lines (126 loc) · 6.35 KB

CHANGELOG.md

File metadata and controls

185 lines (126 loc) · 6.35 KB

Change Log

All notable changes to this project will be documented in this file.

This projects adheres to Semantic Versioning and Keep a CHANGELOG.

2.4.4 - 2024-10-02

Commits

  • Escape $alphabetic_code in exception message. (9266be4)
  • Fixed PHPStan issue. (3e3e948)
  • Fixed code quality issues. (175ad84)
  • Happy 2024. (5709d5d)

Full set of changes: 2.4.3...2.4.4

2.4.3 - 2023-11-06

Commits

  • Removed unnecessary space after "Comorian Franc". (e5b195b)

Full set of changes: 2.4.2...2.4.3

2.4.2 - 2023-10-30

Commits

  • Removed Grunt. (129e649)
  • Added if ( ! defined( 'ABSPATH' ) ). (1bcefb8)

Full set of changes: 2.4.1...2.4.2

2.4.1 - 2023-09-11

Commits

Full set of changes: 2.4.0...2.4.1

2.4.0 - 2023-03-21

Commits

  • Added is_zero() function. (0ebce4a)

Full set of changes: 2.3.0...2.4.0

2.3.0 - 2023-03-21

Commits

  • Set Composer type to "wordpress-plugin". (1951851)
  • Added negative function. (69f7343)
  • Use Yoast/PHPUnit-Polyfills. (f100606)
  • Created .gitattributes (dc50445)

Composer

Full set of changes: 2.2.1...2.3.0

2.2.1 - 2023-01-31

Composer

  • Changed php from >=8.0 to >=7.4. Full set of changes: 2.2.0...2.2.1

2.2.0 - 2022-12-19

  • Update pronamic/wp-number to version ^1.2. Full set of changes: 2.1.0...2.2.0

2.1.0 - 2022-12-19

  • Increased minimum PHP version to version 8 or higher.
  • Improved support for PHP 8.1 and 8.2.
  • Removed usage of deprecated constant FILTER_SANITIZE_STRING.

Full set of changes: 2.0.3...2.1.0

2.0.3 - 2022-09-27

  • Update plugin version number.

2.0.2 - 2022-09-23

  • Coding standards.

2.0.1 - 2022-01-10

Changed

  • Updated pronamic/wp-number library to version 1.1.0.

2.0.0 - 2021-08-05

Changed

  • Use pronamic/wp-number library.
  • Simplified JSON, always include currency, without it's just a number value.
  • Function get_minor_units will now return a Number object.
  • No longer use i18n in the 'normal' format() funciton.
  • Validate alphabetic code.

Added

  • Added money amount number format helper functions.
  • Added taxed money test.
  • Added test for unknown currency.

Removed

  • Removed deprecated get_cents function.

1.2.6 - 2021-04-26

  • Happy 2021.
  • composer bin all update
  • Added GitHub action Super-Linter.
  • Fix Psalm issues.
  • Remove Travis hhvm test.

1.2.5 - 2020-07-08

  • Added support for parsing negative amounts and 5,- notation for amounts without minor units.
  • Updated currency symbols.

1.2.4 - 2020-02-03

  • Return cloned object in calculator methods.

1.2.3 - 2019-12-18

  • Fix calling method on string in subtraction.
  • Use non-locale aware float values.

1.2.2 - 2019-07-22

  • Fix floating point precision issue when converting to cents.
  • Add method Money::format() which uses the number of decimals from currency.
  • Add method Money::format_i18n_non_trailing_zeros() and %2$NTZ formatting directive.
  • Add calculator classes and functions.
  • Add ISO 4217 currencies.
  • Deprecate Money::get_cents() in favor of Money::get_minor_units().
  • Require PHP >= 5.6.20.

1.2.1 - 2019-03-27

  • Added get_minor_units method based on decimals of currency.
  • Updated copyright to 2005-2019 Pronamic.

1.2.0 - 2018-12-10

  • Added a get_cents method.
  • Introduced a TaxedMoney class.
  • Renamed amount to value.

1.1.0 - 2018-08-16

  • Added a money parser class.

1.0.0

  • First release.