Skip to content

v8.0.0

Choose a tag to compare

@elusivecodes elusivecodes released this 19 Aug 09:43
· 22 commits to main since this release

Major release correcting the public ISO-output method name and simplifying the format documentation.

Breaking Changes

  • Renamed toISOString() to toIsoString(). Update direct calls to use the new method. fromISOString() and toJSON() retain their existing names.

Improved

  • Updated toJSON() to serialize valid dates through toIsoString() while preserving its standard JSON behavior.
  • Removed PHP-specific comparisons from the documentation and made the primary token table the single format reference.
  • Updated README examples, tests, and generated distribution bundles for the renamed method.