Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
83e4ef3
feat(testing): improve error message quality in miden-testing (#2251)
avorylli Jan 17, 2026
b219d1a
Merge branch 'main' into next
bobbinth Jan 17, 2026
73d7b76
chore: increment crate versions to v0.14.0
bobbinth Jan 17, 2026
9411b6a
chore: fix documentation links
bobbinth Jan 17, 2026
3ea9aa9
refactor: make `TransactionAuthenticator` return Arc for public key (…
bobbinth Jan 19, 2026
ea9e1db
chore: use workspace dependencies (#2313)
mmagician Jan 19, 2026
283adba
Remove `asset_witnesses` field from `TransactionInputs` (#2298)
bobbinth Jan 20, 2026
99c6b51
chore: deduplicate attachment constants (#2311)
PhilippGackstatter Jan 20, 2026
be6ea54
feat: rename NoteInputs to NoteStorage (#2282)
Farukest Jan 20, 2026
6bde539
refactor: remove Encrypted note type and update related documentation…
swaploard Jan 20, 2026
fc869e8
feat: enable CodeBuilder to add advice map entries to compiled script…
huitseeker Jan 21, 2026
2f6df2d
chore: note inputs to note storage rename followup (#2316)
PhilippGackstatter Jan 21, 2026
dbf3d2d
Merge branch 'main' into next
bobbinth Jan 21, 2026
d986c19
feat: add BlockNumber::MAX (#2324)
SantiagoPittella Jan 21, 2026
42a2e37
fix: note inputs -> note storage in docs (#2322)
PhilippGackstatter Jan 21, 2026
e12ce36
chore: replace release-plz with cargo publish workflow (#2325)
huitseeker Jan 22, 2026
1f4a5e8
Merge branch 'main' into next
bobbinth Jan 22, 2026
4864db0
refactor: rename WellKnown.. types to Standard.. (#2332)
sashass1315 Jan 23, 2026
5cb9886
feat: get_id network acc target util
mmagician Jan 24, 2026
e6e3814
chore: rename target_account_id -> account_id
mmagician Jan 24, 2026
42c7464
feat: add new_attachment helper
mmagician Jan 24, 2026
39c3b41
chore: tests for network account target util
mmagician Jan 24, 2026
51f0512
chore: add a roundtrip test
mmagician Jan 24, 2026
3f704c6
Apply suggestions from code review
mmagician Jan 26, 2026
60d6f29
chore: make const public
mmagician Jan 26, 2026
6f5e1ae
chore: add panics & warnings docs
mmagician Jan 26, 2026
88ecc35
chore: rename new_attachment -> new
mmagician Jan 26, 2026
c848ad0
chore: "new" returns scheme and kind
mmagician Jan 26, 2026
44235c7
feat: extract_attachment_info_from_metadata in note.masm
mmagician Jan 26, 2026
bd87573
chore: use extract_attachment_info_from_metadata
mmagician Jan 26, 2026
f69a954
feat: verify attachment kind also
mmagician Jan 26, 2026
dea977e
feat: change get_id to only take necessary inputs
mmagician Jan 26, 2026
5ea05db
lint
mmagician Jan 26, 2026
44d4374
changelog
mmagician Jan 26, 2026
68fd116
chore: rename attachment -> attachments (plural)
mmagician Jan 26, 2026
fda68e1
feat: Single-word `Array` abstraction (#2203)
mmagician Jan 26, 2026
a14063d
Merge branch 'next' into mmagician-network-target-helpers
mmagician Jan 26, 2026
343e079
fix: move changelog entry to 0.14
mmagician Jan 27, 2026
985214b
chore: move tests under miden-testing
mmagician Jan 27, 2026
ebe73ff
chore: make executor pub
mmagician Jan 27, 2026
7556a2b
chore: move under tests/
mmagician Jan 27, 2026
a0b0a1f
Revert last two commits
mmagician Jan 27, 2026
be34bda
move under miden-testing/src/standards
mmagician Jan 27, 2026
91a67fe
Merge branch 'next' into mmagician-network-target-helpers
mmagician Jan 27, 2026
586baba
Revert "chore: make executor pub"
mmagician Jan 27, 2026
ab15958
chore: change stack comparison to word
mmagician Jan 27, 2026
8184197
chore: use doc comments
mmagician Jan 27, 2026
7f6923b
Initial plan
Copilot Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions .github/actions/workspace-release/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: workspace-release
description: "Dry-run or publish Rust workspace crates using cargo"

inputs:
mode:
description: "Release mode: dry-run or publish"
required: true
default: "dry-run"
verify-main-head:
description: "If true, ensure the triggering SHA matches main's HEAD"
required: false
default: "false"

runs:
using: "composite"
steps:
# Optional: guard that release happens from latest main
- name: Verify tag matches main HEAD
if: ${{ inputs.verify-main-head == 'true' }}
shell: bash
run: |
git fetch origin main --depth=1
main_sha="$(git rev-parse origin/main)"
tag_sha="$(git rev-parse HEAD)"

echo "main_sha=$main_sha"
echo "tag_sha=$tag_sha"

if [ "$main_sha" != "$tag_sha" ]; then
echo "::error::The release/tag commit does not match origin/main HEAD. Aborting."
exit 1
fi

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry and git index
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-

- name: Cleanup large tools for build space
uses: ./.github/actions/cleanup-runner

# Install cargo-msrv for MSRV checks
# Using binstall with --force to avoid stale cached binaries (see PR #2234)
- name: Install cargo-binstall
uses: taiki-e/install-action@v2
with:
tool: cargo-binstall

- name: Install cargo-msrv
shell: bash
run: cargo binstall --no-confirm --force cargo-msrv

# Keep your existing MSRV check
# PATH export required for check-msrv.sh subprocess (see PR #2234)
- name: Check MSRV
shell: bash
run: |
export PATH="$HOME/.cargo/bin:$PATH"
chmod +x scripts/check-msrv.sh
./scripts/check-msrv.sh

# Clean packaging directory to avoid stale/corrupted tmp-registry state
- name: Clean packaging directory
shell: bash
run: |
echo "Cleaning target/package directory to ensure fresh state"
rm -rf target/package

# Clear cargo registry to ensure fresh resolution during verification.
# This prevents issues where cached metadata from previous runs
# might interfere with workspace dependency feature resolution
# during the verification step (related to cargo#14283, cargo#14789).
# Specifically, this ensures the temp registry used during workspace
# publish verification doesn't conflict with cached crates.io data.
- name: Clear cargo registry for fresh resolution
if: ${{ inputs.mode == 'dry-run' }}
shell: bash
run: |
echo "Clearing cargo registry for fresh resolution"
rm -rf ~/.cargo/registry/cache
rm -rf ~/.cargo/registry/index
rm -rf ~/.cargo/registry/src

# Dry-run vs real publish
- name: Dry-run workspace publish
if: ${{ inputs.mode == 'dry-run' }}
shell: bash
run: |
echo "Running cargo publish --workspace --dry-run"
cargo publish --workspace --dry-run

- name: Publish workspace crates
if: ${{ inputs.mode == 'publish' }}
shell: bash
env:
CARGO_REGISTRY_TOKEN: ${{ env.CARGO_REGISTRY_TOKEN }}
run: |
echo "Publishing workspace crates to crates.io"
cargo publish --workspace
46 changes: 0 additions & 46 deletions .github/workflows/release-plz-dry-run.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/release-plz.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/workspace-dry-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Workspace release dry-run

on:
push:
branches:
- main
- next

permissions:
contents: read
id-token: write # Required for OIDC token exchange

concurrency:
group: "${{ github.workflow }} @ ${{ github.ref }}"
cancel-in-progress: true

jobs:
release-dry-run:
if: ${{ github.repository_owner == '0xMiden' }}
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Dry-run workspace release
uses: ./.github/actions/workspace-release
with:
mode: "dry-run"
verify-main-head: "false"
# ref left blank: uses the pushed ref
34 changes: 34 additions & 0 deletions .github/workflows/workspace-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish workspace to crates.io

on:
release:
types: [published]

permissions:
contents: read
id-token: write # Required for OIDC token exchange

jobs:
publish:
if: ${{ github.repository_owner == '0xMiden' }}
runs-on: ubuntu-latest
environment: release # Optional: for enhanced security

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- name: Authenticate with crates.io
uses: rust-lang/crates-io-auth-action@v1
id: auth

- name: Publish workspace crates
uses: ./.github/actions/workspace-release
with:
mode: "publish"
verify-main-head: "true"
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 0.14.0 (TBD)

### Features

- Enable `CodeBuilder` to add advice map entries to compiled scripts ([#2275](https://github.com/0xMiden/miden-base/pull/2275)).
- Added `BlockNumber::MAX` constant to represent the maximum block number ([#2324](https://github.com/0xMiden/miden-base/pull/2324)).
- Added single-word `Array` standard ([#2203](https://github.com/0xMiden/miden-base/pull/2203)).

### Changes

- [BREAKING] Renamed `WellKnownComponent` to `StandardAccountComponent`, `WellKnownNote` to `StandardNote`, and `WellKnownNoteAttachment` to `StandardNoteAttachment` ([#2332](https://github.com/0xMiden/miden-base/pull/2332)).
- Skip requests to the `DataStore` for asset vault witnesses which are already in transaction inputs ([#2298](https://github.com/0xMiden/miden-base/pull/2298)).
- [BREAKING] refactored `TransactionAuthenticator::get_public_key()` method to return `Arc<PublicKey> `instead of `&PublicKey` ([#2304](https://github.com/0xMiden/miden-base/pull/2304)).
- [BREAKING] Renamed `NoteInputs` to `NoteStorage` to better reflect that values are stored data associated with a note rather than inputs ([#1662](https://github.com/0xMiden/miden-base/issues/1662), [#2316](https://github.com/0xMiden/miden-base/issues/2316)).
- Removed `NoteType::Encrypted` ([#2315](https://github.com/0xMiden/miden-base/pull/2315)).

# 0.13.3 (TBD)

- Added standards for working with `NetworkAccountTarget` attachments ([#2338](https://github.com/0xMiden/miden-base/pull/2338)).

## 0.13.2 (2026-01-21)

- Make transaction executor respect debug mode settings ([#2327](https://github.com/0xMiden/miden-base/pull/2327)).
Expand Down
18 changes: 10 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading