Skip to content

Release fodid 4.5.4 so the match key constants reach crates.io - #31

Open
jwrosewell wants to merge 1 commit into
mainfrom
chore/publish-fodid-4-5-4
Open

Release fodid 4.5.4 so the match key constants reach crates.io#31
jwrosewell wants to merge 1 commit into
mainfrom
chore/publish-fodid-4-5-4

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Why

The match key rename landed in 30, so MATCH_KEY_OFFSET and MATCH_KEY_LENGTH are on main. Customers cannot see them, because the crate version did not move.

ci/publish-crates.sh asks crates.io whether a version is already there and skips it if so. The fodid crate is still 4.5.3 and 4.5.3 is already published, so the publish run triggered by that merge, 33626340484, finished green having released nothing. crates.io still serves 4.5.3, which carries the old constant names only.

What changed

One line. fodid/Cargo.toml moves from 4.5.3 to 4.5.4, so the next publish has something to release.

fiftyone-fodid-cloud needs no change. Its dependency reads fodid = { version = "4.5.3", path = "../fodid" }, and Cargo treats a bare version as a caret requirement, so 4.5.4 satisfies it.

What this releases

The finished match key vocabulary. MATCH_KEY_OFFSET and MATCH_KEY_LENGTH become the real constants, with HASH_OFFSET and HASH_LENGTH kept as #[deprecated] aliases so nothing breaks for anyone already using them. HEADER_LENGTH and PAYLOAD_LENGTH keep their names.

The same rename is now merged in the .NET, Java, Python, PHP and Node ports, so the vocabulary is consistent across all six. .NET is published as FiftyOne.Did 4.5.88.

Verification

Merging this is what runs the publish, so the proof is the run itself rather than anything that can be shown here. Worth watching that the publish job releases fodid rather than skipping it again, and that verify-published then builds the examples against the released crate.

Produced with AI assistance under James Rosewell's direction and needs human review.

The match key rename landed in 30 but the crate version did not
move, and ci/publish-crates.sh skips any version already on
crates.io, so the publish run on that merge finished green having
published nothing. crates.io still serves 4.5.3, which carries the
old constant names only.

This bumps the fodid crate so the next publish has something to
release. fiftyone-fodid-cloud needs no change, because its
dependency on fodid is written as 4.5.3, which Cargo reads as
caret 4.5.3 and which 4.5.4 satisfies.
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