Skip to content

Commit 3c9f89c

Browse files
authored
Merge pull request #635 from 0xMiden/release-plz-2025-aug-15
chore: prepare v0.4.0 release
2 parents c614530 + 08bc390 commit 3c9f89c

File tree

55 files changed

+488
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+488
-164
lines changed

Cargo.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exclude = [
3030
]
3131

3232
[workspace.package]
33-
version = "0.1.5"
33+
version = "0.4.0"
3434
rust-version = "1.90"
3535
authors = ["Miden contributors"]
3636
description = "An intermediate representation and compiler for Miden Assembly"
@@ -127,25 +127,25 @@ wasmparser = { version = "0.227", default-features = false, features = [
127127
] }
128128

129129
# Workspace crates
130-
midenc-codegen-masm = { version = "0.1.5", path = "codegen/masm" }
131-
midenc-dialect-arith = { version = "0.1.5", path = "dialects/arith" }
132-
midenc-dialect-hir = { version = "0.1.5", path = "dialects/hir" }
133-
midenc-dialect-scf = { version = "0.1.5", path = "dialects/scf" }
134-
midenc-dialect-cf = { version = "0.1.5", path = "dialects/cf" }
135-
midenc-dialect-ub = { version = "0.1.5", path = "dialects/ub" }
136-
midenc-hir = { version = "0.1.5", path = "hir" }
137-
midenc-hir-analysis = { version = "0.1.5", path = "hir-analysis" }
138-
midenc-hir-eval = { version = "0.1.5", path = "eval" }
139-
midenc-hir-macros = { version = "0.1.5", path = "hir-macros" }
140-
midenc-hir-symbol = { version = "0.1.5", path = "hir-symbol" }
141-
midenc-hir-transform = { version = "0.1.5", path = "hir-transform" }
142-
midenc-hir-type = { version = "0.1.5", path = "hir-type" }
143-
midenc-frontend-wasm = { version = "0.1.5", path = "frontend/wasm" }
144-
midenc-compile = { version = "0.1.5", path = "midenc-compile" }
145-
midenc-driver = { version = "0.1.5", path = "midenc-driver" }
146-
midenc-debug = { version = "0.1.5", path = "midenc-debug" }
147-
midenc-session = { version = "0.1.5", path = "midenc-session" }
148-
cargo-miden = { version = "0.1.5", path = "tools/cargo-miden" }
130+
midenc-codegen-masm = { version = "0.4.0", path = "codegen/masm" }
131+
midenc-dialect-arith = { version = "0.4.0", path = "dialects/arith" }
132+
midenc-dialect-hir = { version = "0.4.0", path = "dialects/hir" }
133+
midenc-dialect-scf = { version = "0.4.0", path = "dialects/scf" }
134+
midenc-dialect-cf = { version = "0.4.0", path = "dialects/cf" }
135+
midenc-dialect-ub = { version = "0.4.0", path = "dialects/ub" }
136+
midenc-hir = { version = "0.4.0", path = "hir" }
137+
midenc-hir-analysis = { version = "0.4.0", path = "hir-analysis" }
138+
midenc-hir-eval = { version = "0.4.0", path = "eval" }
139+
midenc-hir-macros = { version = "0.4.0", path = "hir-macros" }
140+
midenc-hir-symbol = { version = "0.4.0", path = "hir-symbol" }
141+
midenc-hir-transform = { version = "0.4.0", path = "hir-transform" }
142+
midenc-hir-type = { version = "0.4.0", path = "hir-type" }
143+
midenc-frontend-wasm = { version = "0.4.0", path = "frontend/wasm" }
144+
midenc-compile = { version = "0.4.0", path = "midenc-compile" }
145+
midenc-driver = { version = "0.4.0", path = "midenc-driver" }
146+
midenc-debug = { version = "0.4.0", path = "midenc-debug" }
147+
midenc-session = { version = "0.4.0", path = "midenc-session" }
148+
cargo-miden = { version = "0.4.0", path = "tools/cargo-miden" }
149149
miden-integration-tests = { path = "tests/integration" }
150150
midenc-expect-test = { path = "tools/expect-test" }
151151

benches/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ criterion = "0.5"
2525

2626
[[bench]]
2727
name = "is_prime_bench"
28-
harness = false
28+
harness = false

codegen/masm/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.4.0](https://github.com/0xMiden/compiler/compare/midenc-codegen-masm-v0.1.5...midenc-codegen-masm-v0.4.0) - 2025-08-15
10+
11+
### Added
12+
13+
- implement advice map API in Miden SDK
14+
- add `crypto::hmerge()` in Miden SDK (`hmerge` VM intruction);
15+
16+
### Fixed
17+
18+
- add an extra memory page after the data segments to accommodate for
19+
- start `Linker::reserved_memory_pages` on the next page after rustc
20+
- *(codegen)* missing result renaming in ptrtoint lowering
21+
- two-operand optimized stack scheduling when only one value is on the stack #606
22+
- fix the manual two-operand ops stack scheduling, remove `BinaryOp` gate
23+
- do binary stack scheduling optimizations only for the binary ops (implementing
24+
- `Rodata::bytes_to_elements()` check if `into_remainder()` returns
25+
26+
### Other
27+
28+
- rename `io` to `advice`, export modules in stdlib SDK
29+
- Add the test that executes counter contract, basic wallet and p2id note script on the local node ([#555](https://github.com/0xMiden/compiler/pull/555))
30+
- make `DEFAULT_RESERVATION` include the extra page to
31+
- add comments with stack state in `heap_init`
32+
- update Rust toolchain nightly-2025-07-20 (1.90.0-nightly)
33+
- clean up
34+
- simplify `test_arg_order` test and move it to `misc` module
35+
- `hmerge` intrinsic to accept digests as a pointer and load
36+
- make `bytes_to_elements` infallible
37+
938
## [0.1.5](https://github.com/0xMiden/compiler/compare/midenc-codegen-masm-v0.1.0...midenc-codegen-masm-v0.1.5) - 2025-07-01
1039

1140
### Added

dialects/arith/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.4.0](https://github.com/0xMiden/compiler/compare/midenc-dialect-arith-v0.1.5...midenc-dialect-arith-v0.4.0) - 2025-08-15
10+
11+
### Other
12+
13+
- Add $ParentTrait pattern to verify macro + Add SameTypeOperands as a explicit dependency

dialects/hir/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.4.0](https://github.com/0xMiden/compiler/compare/midenc-dialect-hir-v0.1.5...midenc-dialect-hir-v0.4.0) - 2025-08-15
10+
11+
### Other
12+
13+
- Add $ParentTrait pattern to verify macro + Add SameTypeOperands as a explicit dependency
14+
915
## [0.1.5](https://github.com/0xMiden/compiler/compare/midenc-dialect-hir-v0.1.0...midenc-dialect-hir-v0.1.5) - 2025-07-01
1016

1117
### Fixed

0 commit comments

Comments
 (0)