Skip to content

chore: prepare release v0.14.0-alpha.1#1739

Closed
mmagician wants to merge 3 commits intonextfrom
claude/bump-protocol-alpha-TUbxC
Closed

chore: prepare release v0.14.0-alpha.1#1739
mmagician wants to merge 3 commits intonextfrom
claude/bump-protocol-alpha-TUbxC

Conversation

@mmagician
Copy link
Contributor

  • bump workspace and dependency versions to v0.14.0-alpha.1
  • adapt the CI job to release from other branch than just main (in particular, after merging this to next, we'll branch off to a new release/v0.14.0-alpha from which the alpha release will be triggered

claude added 2 commits March 3, 2026 09:52
Pin protocol dependencies to published crate versions and update all
workspace crate versions to =0.14.0-alpha.1.

https://claude.ai/code/session_017j1F8cwRXFnWyjzzwN9d4k
Use github.event.release.target_commitish to dynamically determine
which branch to checkout and verify against, instead of hardcoding
main. This enables releasing alpha versions from the next branch.

https://claude.ai/code/session_017j1F8cwRXFnWyjzzwN9d4k
@mmagician mmagician force-pushed the claude/bump-protocol-alpha-TUbxC branch from 885ae64 to 5c6f635 Compare March 3, 2026 09:52
@mmagician mmagician added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Mar 3, 2026
@mmagician mmagician marked this pull request as ready for review March 3, 2026 09:53
@mmagician mmagician marked this pull request as draft March 3, 2026 10:14
@mmagician mmagician removed the request for review from Mirko-von-Leipzig March 3, 2026 10:14
The miden-protocol 0.14.0-alpha.1 crate introduced `StorageMapKey` as a
newtype wrapper around `Word` for storage map keys, and removed
`StorageMap::hash_key()`. This commit updates all call sites:

- Replace `StorageMap::hash_key(key)` with `StorageMapKey::new(key).hash().as_word()`
- Change `get_storage_map_witness` signatures to accept `StorageMapKey`
- Convert `StorageMap::entries()` results from `(StorageMapKey, Word)` to `(Word, Word)` where needed
- Use `StorageMapKey` in `StorageMap::with_entries()` and `StorageMapDelta::insert()` calls
- Update all affected tests

https://claude.ai/code/session_017j1F8cwRXFnWyjzzwN9d4k

fix: adapt to protocol StorageMapKey type changes

Use StorageMapKey/StorageMapKeyHash types from miden-protocol 0.14.0-alpha.1
instead of raw Word throughout the codebase. Key changes:
- StorageMap::hash_key() removed → use StorageMapKey::new(w).hash().as_word()
- StorageMap::entries() returns (&StorageMapKey, &Word) instead of (&Word, &Word)
- DataStore::get_storage_map_witness takes StorageMapKey instead of Word
- StorageMapDelta::insert() takes StorageMapKey instead of Word
- StorageMap::with_entries() takes (StorageMapKey, Word) pairs
- Domain types StorageMapEntries and SlotData use StorageMapKey
- InnerForest::storage_entries uses BTreeMap<StorageMapKey, Word>
- Convert to Word only at DB serialization boundary

https://claude.ai/code/session_017j1F8cwRXFnWyjzzwN9d4k
@mmagician mmagician force-pushed the claude/bump-protocol-alpha-TUbxC branch from fb69866 to cb39982 Compare March 3, 2026 12:09
@mmagician
Copy link
Contributor Author

superseded by #1743

@mmagician mmagician closed this Mar 3, 2026
@mmagician mmagician deleted the claude/bump-protocol-alpha-TUbxC branch March 3, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants