luxon
3.7.2 · 5 Sep 2025MIT61.4M / weekRepositoryHomepagenpmAtom feed
Upgrading luxon From 2.5.1 to 3.7.2
22 releases in betweennotes for 20
Reading releases, release notes and advisories…
Counted from 20 of 22 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
Security
Fixes 1 advisory affecting 2.5.1
- Luxon Inefficient Regular Expression Complexity vulnerabilityhigh · GHSA-3xq5-wjfh-ppjc
- 3.2.1
Fix for RFC-2822 regex vulnerability
Release by release
- Fixed
Fix ES6 packaging
- Fixed
3.7.1nothing new or fixed in the note
- New
Added
showZerosoption toDuration#toHuman - New
Added
Duration#removeZerosmethod. - New
Added
roundingoption toDateTime#toRelative - New
Added
precisionoption to ISO formatting methods - New
Added
signModeoption toDuration#toFormat - New
Allow escaping single quotes in format strings
- New
Added a dark theme for the documentation site
- New
- New
Add Fallback for
minimalDaysbeing removed from Intl.WeekInfo - Fixed
Fix various caches when JS keywords like "constructor" are used for names
- New
- New
Add
Interval.lastDateTime - Fixed
Fix a bug that could cause wrong timezone calculations when multiple timezones are in use
- New
3.5.0nothing new or fixed in the note
- New
Added custom inspect for Node
- Fixed
Fix sorting in
Interval.splitAt
- New
- Fixed
Fixes another regression from 3.4.0
- Fixed
12 other lines we could not sort, mostly version bumps
- 3.7.1
Revert change in ES6 packaging
- 3.7.0
Improve output of
Info.monthsandInfo.monthsFormatforjalocale - 3.7.0
Accept lowercase
tas a separator in ISO strings - 3.7.0
Accept lowercase
zas an offset in ISO strings - 3.7.0
Reject non-finite numbers where previously only
NaNwas rejected - 3.7.0
Improve the documentation for Interval
- 3.5.0
Various performance improvements
- 3.5.0
throwOnInvalid causes the constructor to throw if the year is invalid
- 3.4.4
Localized week support
- 3.2.1
Better handling of BCP tags with -x- extensions
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.