Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
88181c9
docs: planning temporal support
DecimalTurn Jun 20, 2026
5f9a7dc
test: add temporal tests
DecimalTurn Jun 20, 2026
d72546d
feat: add temporal support
DecimalTurn Jun 20, 2026
f39dab3
test: add temporal tests with roundtrip and fixture validations
DecimalTurn Jun 20, 2026
8186963
docs: update README and CHANGELOG
DecimalTurn Jun 20, 2026
3dd0597
ci: update to include Node v26
DecimalTurn Jun 20, 2026
686f288
style: linting
DecimalTurn Jun 20, 2026
7bfc287
force checks
DecimalTurn Jun 20, 2026
dc5a34e
refactor: use internal config object for parsing
DecimalTurn Jun 20, 2026
d924831
docs: update
DecimalTurn Jun 20, 2026
ea016c0
fix: improve isTemporal function to check for Temporal API methods
DecimalTurn Jun 21, 2026
2d08e6b
test: add failing test for ZonedDateTime IANA annotation mismatch
DecimalTurn Jun 21, 2026
f9e9a93
fix: remove getISOFields from isTemporal — not available on polyfill
DecimalTurn Jun 21, 2026
542eec9
fix: use temporalToTomlString in datesEqual and stableStringify
DecimalTurn Jun 21, 2026
f3d76d5
fix: reject IANA timezones, error instead of silently stripping
DecimalTurn Jun 21, 2026
5aa5797
fix: preserve space separator when patching with Temporal
DecimalTurn Jun 21, 2026
cbcc3cf
fix: use temporalToTomlString for all Temporal types in generateTempo…
DecimalTurn Jun 21, 2026
04c5d97
test: replace placeholder with real error-path test
DecimalTurn Jun 21, 2026
89a0fa3
chore(renovate): enforce commitMessageTopic for non-major devDependen…
DecimalTurn Jun 22, 2026
785e150
fix: normalize space separator to T before passing to Temporal.from()
DecimalTurn Jun 23, 2026
4b34da1
fix: add Temporal availability guard in generateTemporalDateTime trun…
DecimalTurn Jun 23, 2026
111cc25
fix: anchor +00:00->Z replacement to offset suffix, validate brackets…
DecimalTurn Jun 23, 2026
dac598d
test: add space-separated offset datetime roundtrip
DecimalTurn Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/node-engine-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
node-version: "26"

- name: Setup pnpm
uses: pnpm/action-setup@v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
include:
- node-version: 22.x
- node-version: 24.x
- node-version: 26.x
benchmark: true

steps:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Parsing: New `temporal` option in `ParseOptions`. When `true`, TOML date/time values are returned as [Temporal](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Temporal) objects (`Temporal.PlainDate`, `Temporal.PlainTime`, `Temporal.PlainDateTime`, `Temporal.ZonedDateTime`) instead of custom `Date` subclasses.
- Stringify: Auto-detect Temporal objects in the input JS and serialize them to the correct TOML date/time type. `ZonedDateTime` IANA annotations are stripped (TOML only supports offsets).

## [2.0.0] - 2026-05-31

### Changed
Expand Down
Loading