Compatibility notice
go-urn v1.5.0 requires Go 1.24 or newer. The previous minimum was Go 1.18. Consumers that cannot upgrade their Go toolchain should remain on go-urn v1.4.0.
What's Changed
Fixed
- Reject malformed RFC 8141 URNs that finish in an invalid parser state. Inputs such as
urn:example:nss?no longer produce a nil result reported as successful.Machine.Parsenow returns an error, the publicParsefunction returns(nil, false), andURN8141JSON unmarshalling rejects the malformed value. Existing detailed r-component and q-component errors are preserved. (#47)
Compatibility and maintenance
- Raise the minimum supported Go version from 1.18 to 1.24 and test Go 1.24, 1.25, and 1.26 on Ubuntu and macOS. (#46)
- Modernize the GitHub Actions test workflow and pin Codecov v7.0.0 to its verified commit. (#46)
- Correct Go documentation wording without changing behavior. (#45)
New Contributors
- @sonnemusk made their first contribution in #45.
Full Changelog: https://github.com/leodido/go-urn/compare/v1.4.0...v1.5.0