Skip to content

Prepare for 1.23.0 release#876

Merged
KodrAus merged 1 commit intomainfrom
cargo/v1.23.0
Mar 26, 2026
Merged

Prepare for 1.23.0 release#876
KodrAus merged 1 commit intomainfrom
cargo/v1.23.0

Conversation

@KodrAus
Copy link
Copy Markdown
Member

@KodrAus KodrAus commented Mar 26, 2026

@KodrAus
Copy link
Copy Markdown
Member Author

KodrAus commented Mar 26, 2026

Deprecations

This release includes the following deprecations:

  • Context: Renamed to ContextV1
  • Timestamp::from_gregorian: Renamed to Timestamp::from_gregorian_time

Change to Version::Max

Version::Max's u8 representation has changed from 0xff to 0x0f to match the value returned by Uuid::get_version_num.

Change to Uuid::get_version for the max UUID

Uuid::get_version will only return Some(Version::Max) if the UUID is actually the max UUID (all bytes are 0xff). Previously it would return Some if only the version field was 0x0f. This change matches the behaviour of the nil UUID, which only returns Some(Version::Nil) if the UUID is the nil UUID (all bytes are 0x00).

@KodrAus KodrAus merged commit 00ab922 into main Mar 26, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant