2021-09-06 03:52:01 +00:00
|
|
|
# Unreleased
|
2022-02-21 03:27:45 +00:00
|
|
|
|
|
|
|
# 4.0.0
|
|
|
|
|
2022-02-21 02:34:25 +00:00
|
|
|
## Breaking changes
|
|
|
|
|
|
|
|
- Update dependencies to support react 17. #8305
|
|
|
|
- Drop support for IE11. #8305
|
2021-09-06 03:52:01 +00:00
|
|
|
|
2022-01-25 11:22:58 +00:00
|
|
|
# 3.2.1
|
|
|
|
|
2021-09-06 03:52:01 +00:00
|
|
|
- Tweak - Added `useCode` parameter to `formatAmount`, to render currency code instead of symbol. #7575
|
|
|
|
|
2021-07-14 20:38:57 +00:00
|
|
|
# 3.2.0
|
|
|
|
|
|
|
|
- Fix commonjs module build, allow package to be built in isolation. #7286
|
|
|
|
|
2021-04-12 20:32:27 +00:00
|
|
|
# 3.1.0
|
|
|
|
|
|
|
|
- Return countryInfo as an empty object if not in locale info #6188
|
|
|
|
- Localize regional currency information for use during onboarding setup #5969
|
|
|
|
- Update dependencies
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
# 3.0.0
|
2020-04-02 21:54:38 +00:00
|
|
|
|
|
|
|
## Breaking changes
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Currency is now a factory function instead of a class.
|
|
|
|
|
|
|
|
- Add getCurrencyConfig method to retrieve currency config.
|
|
|
|
|
|
|
|
- `formatCurrency` is deprecated in favor of `formatAmount`.
|
2020-04-02 21:54:38 +00:00
|
|
|
|
2019-12-02 13:08:35 +00:00
|
|
|
# 2.0.0
|
2019-10-04 07:25:23 +00:00
|
|
|
|
2019-12-02 13:08:35 +00:00
|
|
|
## Breaking changes
|
2020-08-04 03:10:36 +00:00
|
|
|
|
|
|
|
- Decouple from global `wcSettings` object.
|
|
|
|
- The currency package has been rewritten to export a `Currency` class instead of several utility functions.
|
2019-12-02 13:08:35 +00:00
|
|
|
|
|
|
|
## Other changes
|
2020-08-04 03:10:36 +00:00
|
|
|
|
|
|
|
- Remove lodash dependency.
|
2019-10-04 07:25:23 +00:00
|
|
|
|
2019-08-15 22:08:29 +00:00
|
|
|
# 1.1.3
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Update dependencies.
|
2019-08-15 22:08:29 +00:00
|
|
|
|
2019-06-27 01:00:44 +00:00
|
|
|
# 1.1.2
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Update license to GPL-3.0-or-later.
|
2019-06-27 01:00:44 +00:00
|
|
|
|
2019-04-11 18:43:45 +00:00
|
|
|
# 1.1.1
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Change text domain on i18n functions.
|
|
|
|
- Bump dependency versions.
|
2019-04-11 18:43:45 +00:00
|
|
|
|
2019-01-29 23:37:25 +00:00
|
|
|
# 1.1.0
|
2019-01-17 23:38:43 +00:00
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Format using store currency settings (instead of locale)
|
|
|
|
- Add optional currency symbol parameter
|
2019-01-17 23:38:43 +00:00
|
|
|
|
2018-11-29 21:34:01 +00:00
|
|
|
# 1.0.0
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Released package
|