Release v0.4.0 - #25
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25 +/- ##
=======================================
Coverage 97.56% 97.56%
=======================================
Files 8 8
Lines 329 329
=======================================
Hits 321 321
Misses 4 4
Partials 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepare the v0.4.0 release: add the CHANGELOG entry covering all changes since v0.3.1, rebased on the latest
origin/main.Changes since v0.3.1
Z/-00:00as unknown local offset per RFC 9557 Section 2.2 (Misinterpretation of Z in RFC9557 #22)!flag on time-zone annotations, reject duplicate time-zone annotations, accept offset-derived zones in consistency/strict checks, stop skipping the Etc/GMT consistency check, and rejectCriticalLocationwithout an attachable zoneFormatemits offset annotations as[+09:00](RFC grammar) instead of[+0900], making Parse -> Format -> Parse round trips losslessErrCriticalExtensionwhen either occurrence is critical (Section 3.3)u-caErrInvalidSuffixFormat/FormatNanoapplyCriticalLocationto the timestamp's own zone whenLocationis unsetParseErrorimplementsUnwrap, so sentinel errors match witherrors.Ismain-3— refactor the IXDTF implementation from a monolithic file into focused modules for parsing, formatting, suffix handling, timezone resolution, validation, calendar tags, extensions, and errors, with expanded targeted testsVersion rationale
Minor bump (0.3.1 -> 0.4.0): the fixes change accept/reject behavior for several inputs, and the public API gains
IXDTFExtensions.CriticalLocationandParseError.Unwrap. The PR #27 refactor preserves the public API while reorganizing implementation internals.Release steps after merge
git checkout main && git pull git tag v0.4.0 git push origin v0.4.0The
Releaseworkflow then runs tests and publishes the GitHub Release automatically.Verification
go test ./...passes on the rebasedrelease/v0.4.0branch