Releases: vintl-dev/how-ago
Releases · vintl-dev/how-ago
v3.0.1
3.0.1 (2023-10-13)
Bug Fixes
- docs: update readme with recent changes (b0c5048)
v3.0.0
3.0.0 (2023-10-13)
Features
- enable "unitRounding" by default (c56f6fb)
- make "trunc" the default rounding mode (803439b)
BREAKING CHANGES
- "trunc" logic is very different from
Math.round
, and will produce different results compared to the previous versions of the package. To use the rounding logic of Math.round
, use the "halfCeil" rounding mode, which ties towards positive infinity, compared to "trunc", which always rounds towards zero.
v2.1.1
2.1.1 (2023-10-13)
Bug Fixes
- docs: clarify that "trunc" will be the new rounding mode (eba537b)
v2.1.0
2.1.0 (2023-10-13)
Features
v2.0.2
2.0.2 (2023-10-11)
Bug Fixes
- deps: widen the ranges for FormatJS dependencies (2590251)
v2.0.1
2.0.1 (2023-06-09)
Bug Fixes
- pkg: downgrade and pin FormatJS packages (639dbe4)
v2.0.0
2.0.0 (2023-04-29)
Features
- update to support formatjs/intl ^1.7.1 (3f81605)
BREAKING CHANGES
- formatjs/intl version required now is ^1.7.1.
v1.0.6
1.0.6 (2023-04-29)
Bug Fixes
- deps: pin formatjs/intl to <2.7.0 (caba8b1)
v1.0.5
1.0.5 (2023-04-11)
Bug Fixes
- types: type declarations are missing (6cba31b)
v1.0.1
1.0.1 (2023-03-01)
Bug Fixes
- pkg: move to vintl scope and vintl-dev github organisation (399e448)