Packages

luxon

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

Upgrading luxon From 2.1.0 to 2.5.2

9 releases in betweennotes for 7

Reading releases, release notes and advisories…

Other targets from 2.1.0Latest3.7.2
  1. 2.1.0yours
  2. 8 releases
  3. 2.5.2target
?
changes to make
1
advisory fixed
8+
new
8+
fixes

Counted from 7 of 9 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 2.1.0

Release by release

  1. 2.5.1 – 2.5.22 releases, no release note

  2. 2.5.0

    9 Jul 20221 new · 1 fix
    • New

      Support for ESM-style node imports

    • Fixed

      Fix Wednesday parsing for RFC 850 strings

  3. 2.4.0

    9 May 20222 new · 1 fix
    • New

      Add support for parsing the ISO zone extension, like 2022-05-08T20:42:00.000-04:00[America/New_York]

    • New

      Add an extendedZone option to toISO() and toISOTime

    • Fixed

      Fix for parsing in Vietnames (and probably other languages)

  4. 2.3.2

    17 Apr 20221 new · 2 fixes
    • New

      Add week formatting token "w" for durations

    • Fixed

      Fix timezone calculations for negative years

    • Fixed

      Fix weekday computation for years 0-100

  5. 2.3.1

    23 Feb 20222 new · 1 fix
    • New

      Added an includeOffsetSpace option to toSQL and toSQLTime

    • New

      Added toUnixInteger

    • Fixed

      Don't use -0 when negating durations with zeros in them

  6. 2.3.0

    2 Jan 20221 new · 1 fix
    • New

      Added Duration#toHuman()

    • Fixed

      Fixed date padding for negative years in toISO()

  7. 2.2.0

    10 Dec 20211 new · 1 fix
    • New

      Allow offsets to pick among ambiguous times when both an offset and zone are provided to fromFormat

    • Fixed

      Fix a floating point bug in Duration.shiftTo()

  8. 2.1.1

    8 Nov 20211 fix
    • Fixed

      Fix issue in quirky environments that lack hourCycle support and sometimes computed offsets 12 hours off

3 other lines we could not sort, mostly version bumps
  • Increase number of digits allowed in ISO durations

    2.5.0
  • Improvements to DateTime.isInDST()

    2.4.0
  • Major perf improvements to toISO(), toISODate(), toISOTime(), and toSQLDate()

    2.3.0

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.