2021-03-01 20:40:26 +00:00
|
|
|
# Unreleased
|
|
|
|
|
|
|
|
- Take into account leap year in calculating `getLastPeriod`.
|
2021-03-12 03:58:51 +00:00
|
|
|
## Breaking changes
|
2021-03-01 20:40:26 +00:00
|
|
|
|
2021-03-12 03:58:51 +00:00
|
|
|
- Move Lodash to a peer dependency.
|
2020-08-04 03:10:36 +00:00
|
|
|
# 2.1.0
|
|
|
|
|
|
|
|
- Update to @wordpress/eslint coding standards.
|
|
|
|
|
2019-12-02 13:08:35 +00:00
|
|
|
# 2.0.0
|
2019-11-26 19:39:40 +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 (#3278)
|
|
|
|
- Exported methods of the date package have been rewritten to accept a configuration object as their second parameter.
|
|
|
|
- `loadLocaleData` is no longer called within the date package. Consuming code must take care of that themselves.
|
2019-11-26 19:39:40 +00:00
|
|
|
|
2019-08-15 22:08:29 +00:00
|
|
|
# 1.2.1
|
|
|
|
|
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.2.0
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Enhancement: gather default date settings from `wcSettings.wcAdminSettings.woocommerce_default_date_range` if they exist.
|
|
|
|
- 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.0.7
|
|
|
|
|
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-03-11 22:48:25 +00:00
|
|
|
# 1.0.6
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Removed timezone from `appendTimestamp()` output.
|
2019-03-11 22:48:25 +00:00
|
|
|
|
2019-01-16 16:39:37 +00:00
|
|
|
# 1.0.5
|
2019-01-11 15:51:24 +00:00
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Fixed bug in getAllowedIntervalsForQuery() to not return `hour` for default intervals
|
2019-01-11 15:51:24 +00:00
|
|
|
|
2018-12-17 19:40:39 +00:00
|
|
|
# 1.0.4
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Remove deprecated @wordpress/date::getSettings() usage.
|
2018-12-17 19:40:39 +00:00
|
|
|
|
2018-12-14 18:44:24 +00:00
|
|
|
# 1.0.3
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Fix missing comma seperator in date inside tooltips.
|
2018-12-14 18:44:24 +00:00
|
|
|
|
2018-11-29 21:34:01 +00:00
|
|
|
# 1.0.2
|
|
|
|
|
2020-08-04 03:10:36 +00:00
|
|
|
- Add `getChartTypeForQuery` function to ensure chart type is always `bar` or `line`
|