66 lines
1.3 KiB
Markdown
66 lines
1.3 KiB
Markdown
# Unreleased
|
|
|
|
# 4.0.0
|
|
|
|
## Breaking changes
|
|
|
|
- Update dependencies to support react 17. #8305
|
|
- Drop support for IE11. #8305
|
|
|
|
# 3.2.1
|
|
|
|
- Tweak - Added `useCode` parameter to `formatAmount`, to render currency code instead of symbol. #7575
|
|
|
|
# 3.2.0
|
|
|
|
- Fix commonjs module build, allow package to be built in isolation. #7286
|
|
|
|
# 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
|
|
|
|
# 3.0.0
|
|
|
|
## Breaking changes
|
|
|
|
- Currency is now a factory function instead of a class.
|
|
|
|
- Add getCurrencyConfig method to retrieve currency config.
|
|
|
|
- `formatCurrency` is deprecated in favor of `formatAmount`.
|
|
|
|
# 2.0.0
|
|
|
|
## Breaking changes
|
|
|
|
- Decouple from global `wcSettings` object.
|
|
- The currency package has been rewritten to export a `Currency` class instead of several utility functions.
|
|
|
|
## Other changes
|
|
|
|
- Remove lodash dependency.
|
|
|
|
# 1.1.3
|
|
|
|
- Update dependencies.
|
|
|
|
# 1.1.2
|
|
|
|
- Update license to GPL-3.0-or-later.
|
|
|
|
# 1.1.1
|
|
|
|
- Change text domain on i18n functions.
|
|
- Bump dependency versions.
|
|
|
|
# 1.1.0
|
|
|
|
- Format using store currency settings (instead of locale)
|
|
- Add optional currency symbol parameter
|
|
|
|
# 1.0.0
|
|
|
|
- Released package
|