Releases: gofrs/uuid
v5.3.0
Summary
In this release, we updated the package to participate in OpenSSF Scorecard and tuned several development workflows and added some fuzz tests. Additionally, We added AtTime
generators for V1, V6, and V7 so that users may generate UUIDs from time stamps.
NOTE Technically, the additional of the AtTime
generators is a breaking change to the Generator
interface. We decided to go with a minor
update because of the unlikelihood of this interface being implemented by a consumer, and to reduce the impact of releasing a major version for this feature.
What's Changed
- Add "AtTime" generators for V1, V6, and V7 by @kohenkatz in #142
- Fix typo in URL in README by @kohenkatz in #141
- Add OpenSSF Best Practices Badge to README by @cameracker in #144
- Create SECURITY.md by @cameracker in #143
- Add OpenSSF Scorecard badge to readme by @cameracker in #149
- Update fuzz tests to use go fuzz features by @cameracker in #148
New Contributors
Full Changelog: v5.2.0...v5.3.0
v5.2.0
This minor release updates the UUID v6 and v7 features of package to be complaint to draft RFC-9562, which replaces the previous family of uuid drafts. Additionally, it adds more specific error types, and tunes up Github Actions safety practices
What's Changed
- Update to RFC 9562 by @kohenkatz in #117
- [StepSecurity] Apply security best practices by @step-security-bot in #135
- Bump actions/checkout from 2.7.0 to 4.1.5 by @dependabot in #137
- Bump ossf/scorecard-action from 2.0.6 to 2.3.3 by @dependabot in #136
- Bump actions/dependency-review-action from 2.5.1 to 4.3.2 by @dependabot in #138
- Bump actions/upload-artifact from 3.1.3 to 4.3.3 by @dependabot in #140
- Bump codecov/codecov-action from 2.1.0 to 4.3.1 by @dependabot in #139
- Implemented support for checkable errors by @PatrLind in #131
New Contributors
- @kohenkatz made their first contribution in #117
- @step-security-bot made their first contribution in #135
- @dependabot made their first contribution in #137
- @PatrLind made their first contribution in #131
Full Changelog: v5.1.0...v5.2.0
v5.1.0
This release adds a new constant for the Max UUID. Max UUID defined in draft-ietf-uuidrev-rfc4122bis-14 as having maximum values for all bits.
NOTE: Because this feature is part of a draft, it is subject to removal on a minor version of this package if it is removed from a later revision of the RFC.
- Added Max UUID, contributed by @james-lawrence
Full Changelog: v5.1.0...v5.0.1
v5.0.1
- Fixed an issue with TimestampFromV7 reporting the wrong UUID version in the error message, contributed by @jaredLunde and @PatrLind
Full Changelog: v5.0.1...v5.0.0
v5.0.0
This is a major release that changes no behavior of the package since the previous release (v4.4.0) and only incorporates gomodules.
- Made this package compatible with gomodules #116 , contributed by @cameracker
Full Changelog: v4.4.0...v5.0.0
v4.4.0
- Improved performance and reduce memory allocations for most UUID methods, contributed by @charlievieth (#96)
- Added a generator constructor that accepts options, contributed by @mlesar, completed by @LeonanCarvalho (#111)
- UUID now satisfies driver.Valuer and sql.Scanner interfaces, contributed by @charlievieth (#113)
- Update UUIDv7 to conform with RFC Draft Rev 4, contributed by @bgadrian (#112)
NOTE: This release uses Time.UnixMilli() internally which is only available on Go 1.17 or later.
Full Changelog: v4.3.1...v4.4.0
v4.3.1
Update to UUIDv7
- Update UUIDv7 to conform with RFC Draft Rev 3 by @convto (Breaking change to experimental feature)
- Update unit test coverage to be 100% by @theckman, and @cameracker
Full Changelog: v4.2.0...v4.3.0