Packages

luxon

3.7.2 · 5 Sep 2025MIT61.4M / weekRepositoryHomepagenpmAtom feed

Upgrading luxon From 1.22.2 to 3.7.2

42 releases in betweennotes for 37

Reading releases, release notes and advisories…

Other targets from 1.22.2Newest 1.x, Clears its advisory1.28.1
  1. 1.22.2yours
  2. 8 releases
  3. 2.0.0major
  4. 12 releases
  5. 3.0.0major
  6. 7 releases
  7. 3.2.1security
  8. 11 releases
  9. 3.7.2target
1+
change to make
1
advisory fixed
34+
new
31+
fixes

Counted from 37 of 42 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0

Security

Fixes 1 advisory affecting 1.22.2

  • Fix for RFC-2822 regex vulnerability

    3.2.1

Release by release

  1. 3.7.2

    5 Sep 20251 fix
    • Fixed

      Fix ES6 packaging

  2. 3.7.1nothing new or fixed in the note

  3. 3.7.0

    9 Jul 20257 new
    • New

      Added showZeros option to Duration#toHuman

    • New

      Added Duration#removeZeros method.

    • New

      Added rounding option to DateTime#toRelative

    • New

      Added precision option to ISO formatting methods

    • New

      Added signMode option to Duration#toFormat

    • New

      Allow escaping single quotes in format strings

    • New

      Added a dark theme for the documentation site

  4. 3.6.1

    31 Mar 20251 new · 1 fix
    • New

      Add Fallback for minimalDays being removed from Intl.WeekInfo

    • Fixed

      Fix various caches when JS keywords like "constructor" are used for names

  5. 3.6.0

    25 Mar 20251 new · 1 fix
    • New

      Add Interval.lastDateTime

    • Fixed

      Fix a bug that could cause wrong timezone calculations when multiple timezones are in use

  6. 3.5.0nothing new or fixed in the note

  7. 3.4.4

    12 Nov 20231 new · 1 fix
    • New

      Added custom inspect for Node

    • Fixed

      Fix sorting in Interval.splitAt

  8. 3.4.3

    5 Sep 20231 fix
    • Fixed

      Fixes another regression from 3.4.0

25 other lines we could not sort, mostly version bumps
  • Revert change in ES6 packaging

    3.7.1
  • Improve output of Info.months and Info.monthsFormat for ja locale

    3.7.0
  • Accept lowercase t as a separator in ISO strings

    3.7.0
  • Accept lowercase z as an offset in ISO strings

    3.7.0
  • Reject non-finite numbers where previously only NaN was rejected

    3.7.0
  • Improve the documentation for Interval

    3.7.0
  • Various performance improvements

    3.5.0
  • throwOnInvalid causes the constructor to throw if the year is invalid

    3.5.0
  • Localized week support

    3.4.4
  • Better handling of BCP tags with -x- extensions

    3.2.1

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.