Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: prepare for 0.0.6 release #309

Merged
merged 84 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
dbf6eba
chore: switch release PRs to branch of of the next branch instead of …
greenhat Aug 16, 2024
2b70d61
chore: set `midenc-debug` version to `0.0.0` to be in sync with crate…
greenhat Aug 16, 2024
6ad0ccf
chore: add `miden-sdk` and `miden-stdlib-sys` crates to the workspace
greenhat Aug 16, 2024
3ee9de6
chore: run `release-plz update`
greenhat Aug 16, 2024
199846c
chore: clean up workspace members
bitwalker Aug 17, 2024
1d7581a
fix: implement store_dw, fix load_dw, add roundtrip test
greenhat Jul 31, 2024
e6d1285
Merge pull request #279 from 0xPolygonMiden/release-plz-2024-Aug-16
greenhat Aug 26, 2024
c5a9869
feat(debugger): implement support for program inputs
bitwalker Aug 16, 2024
5395e9e
chore: rename ProgramInputs to DebuggerConfig
bitwalker Aug 16, 2024
71626a9
fix: use less fragile method for rodata segment init
bitwalker Aug 16, 2024
3322c53
feat: implement packaging prototype
bitwalker Aug 17, 2024
4debaf6
fix: address overhead of deserializing the stdlib
bitwalker Aug 17, 2024
511f0d3
fix: regression in midenc compile
bitwalker Aug 17, 2024
86cf309
feat(debugger): implement 'finish' functionality from lldb
bitwalker Aug 17, 2024
f2f4045
ci: don't run cargo-miden integration tests twice
bitwalker Aug 17, 2024
a1d7585
fix: expected output of cargo-miden integration test
bitwalker Aug 17, 2024
c2b2f3b
chore: remove miden-diagnostics, start making midenc-session no-std-c…
bitwalker Aug 19, 2024
ae525ea
fix: incorrect handling of -C/-Z and --emit=hir options
bitwalker Aug 19, 2024
6d4353c
fix: support memory intrinsics from Rust
bitwalker Aug 21, 2024
7bd7c72
fix: inoperative --print-ir-after-*, add --print-cfg-after-*
bitwalker Aug 21, 2024
5215164
chore: add additional tracing to treeify pass
bitwalker Aug 21, 2024
23c4d2d
fix(sdk): improper handling of get_inputs vec after return into rust
bitwalker Aug 27, 2024
50ff2c9
fix(sdk): be more explicit about alignment of felt/word types
bitwalker Aug 27, 2024
5586482
fix(frontend-wasm): reserve memory allocated for use by rust
bitwalker Aug 27, 2024
ce99ba4
feat(sdk): introduce miden-sdk-alloc
bitwalker Aug 27, 2024
7ddd719
Merge pull request #278 from 0xPolygonMiden/bitwalker/memory-fixes
bitwalker Aug 27, 2024
0d27d34
Merge pull request #269 from 0xPolygonMiden/greenhat/i267-store-load-dw
bitwalker Aug 27, 2024
73a3cd2
chore: update cargo extension to use new project template v0.3.0 (our…
greenhat Aug 27, 2024
4c38c07
fix(codegen): ensure callee results are pushed on stack in correct order
bitwalker Aug 28, 2024
77a63e4
fix(codegen): ensure global initializers are set during rodata init
bitwalker Aug 28, 2024
6a6f774
fix(sdk): force all allocations to be minimally word-aligned
bitwalker Aug 28, 2024
7b52f31
fix(sdk): ensure we pass a miden-native ptr value to get_inputs
bitwalker Aug 28, 2024
affb200
fix(frontend-wasm): incorrect types applied to certain primops
bitwalker Aug 28, 2024
a2d6bc7
fix(frontend-wasm): do not apply redundant casts
bitwalker Aug 28, 2024
89cb0d6
fix(debugger): infinite loop in breakpoint id computation
bitwalker Aug 28, 2024
2cec879
Merge pull request #283 from 0xPolygonMiden/greenhat/i282-cargo-ext-n…
greenhat Aug 28, 2024
aedaf38
chore: move integration tests from frontend-wasm and add MASM expected
greenhat Aug 27, 2024
afa4f48
Merge pull request #280 from 0xPolygonMiden/greenhat/move-front-tests
greenhat Aug 28, 2024
04996ca
chore: remove separate SDK crates publishing on CI since they are now
greenhat Aug 28, 2024
b387735
chore: set `miden-sdk-alloc` version to `0.0.0` to be in sync with
greenhat Aug 28, 2024
a0387b5
chore: `release-plz update` to update crate versions and changelogs
greenhat Aug 28, 2024
00a8039
Merge pull request #285 from 0xPolygonMiden/greenhat/remove-sdk-publi…
bitwalker Aug 28, 2024
248a811
Merge pull request #286 from 0xPolygonMiden/release-plz-2024-Aug-28
bitwalker Aug 28, 2024
43d64a8
chore: add version to `midenc-codegen-masm` dependency
greenhat Aug 28, 2024
fc9ff3a
chore(codegen): be consistent about the way in which we push to stack
bitwalker Aug 28, 2024
cb52312
fix(codegen): incorrect handling of multi-result instructions
bitwalker Aug 28, 2024
9d091c0
fix(codegen): incorrect lowering of global.{load,iadd,symbol}
bitwalker Aug 28, 2024
fe8aa70
fix(codegen): make sure we always drop unused instruction results
bitwalker Aug 28, 2024
e77f235
chore(codegen): clippy suggested some improvements
bitwalker Aug 28, 2024
372b37f
Merge pull request #287 from 0xPolygonMiden/release-plz-2024-Aug-28-2
bitwalker Aug 28, 2024
19f97ea
fix: `cargo release` by adding `help` feature to `clap` dependency
greenhat Aug 29, 2024
a519940
Merge pull request #289 from 0xPolygonMiden/release-plz-2024-Aug-29
bitwalker Aug 29, 2024
e6a3e95
fix(codegen): incorrect order of elements for word-oriented loads/stores
bitwalker Aug 29, 2024
c010bae
fix: swap the lo and mid parts in the most shifted case in `load_dw`
greenhat Aug 29, 2024
7747dcd
test: re-enable get_inputs test
bitwalker Aug 29, 2024
ee46fe3
chore: update expect tests due to codegen changes
bitwalker Aug 29, 2024
202cb9f
test: add a test for memory intrinsics for storing/loading felts
greenhat Aug 29, 2024
65365a0
fix(codegen): broken return via pointer transformation
bitwalker Aug 30, 2024
ba72ef6
chore: update expect output for sdk account/wallet tests
bitwalker Aug 30, 2024
632a045
Merge pull request #284 from 0xPolygonMiden/bitwalker/abi-transform-t…
bitwalker Aug 30, 2024
81e81e4
Merge pull request #290 from 0xPolygonMiden/greenhat/i263-mem-intrins…
bitwalker Aug 30, 2024
8362fa6
chore: fix clippy warnings in tests
greenhat Aug 30, 2024
ba3a6ee
chore: run clippy on all targets on CI
greenhat Aug 30, 2024
7841427
Merge pull request #292 from 0xPolygonMiden/greenhat/clippy-in-tests
bitwalker Aug 30, 2024
102f61b
chore: `release-plz update` (bump versions, changelogs)
greenhat Aug 30, 2024
0009184
Merge pull request #294 from 0xPolygonMiden/release-plz-2024-Aug-30
greenhat Aug 30, 2024
1d4181b
chore: bump all crate versions to 0.0.4 #296
greenhat Aug 31, 2024
0d7d47b
Merge pull request #297 from 0xPolygonMiden/release-plz-2024-Aug-31
bitwalker Aug 31, 2024
8e29842
docs: switch from mdbook to mkdocs
bitwalker Aug 31, 2024
54990c8
chore: bump all crate versions to 0.0.5
greenhat Sep 1, 2024
99f3802
Merge pull request #298 from 0xPolygonMiden/release-plz-2024-Sep-01
bitwalker Sep 1, 2024
305ea1c
Merge pull request #299 from 0xPolygonMiden/bitwalker/docs-restructuring
greenhat Sep 2, 2024
00246a2
chore: switch all crates to a single workspace version (0.0.5)
greenhat Sep 2, 2024
0fa60bb
Merge pull request #300 from 0xPolygonMiden/greenhat/switch-to-worksp…
bitwalker Sep 3, 2024
c62d194
chore: clean up unused deps
bitwalker Sep 3, 2024
5c5fae4
Merge pull request #301 from 0xPolygonMiden/bitwalker/update-deps
greenhat Sep 4, 2024
33de08a
chore: fix mkdocs warnings, move cargo-miden README to docs.
greenhat Sep 5, 2024
57e7b2e
Merge pull request #302 from 0xPolygonMiden/greenhat/fix-mkdocs-warnings
bitwalker Sep 5, 2024
303b23a
fix(driver): incorrect extension for masl output type
bitwalker Sep 6, 2024
4ad2956
fix(driver): ensure mast/masl outputs are emitted on request
bitwalker Sep 6, 2024
d7ca6b2
docs: revisit/update documentation and guides
bitwalker Sep 6, 2024
be83937
feat: implement 'midenc run' command
bitwalker Sep 6, 2024
4c43d38
docs: use 'midenc run' in guides for now
bitwalker Sep 6, 2024
e934e05
Merge pull request #305 from 0xPolygonMiden/bitwalker/update-docs
bitwalker Sep 6, 2024
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
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: make
args: test
args: test -E 'not package(cargo-miden)'

cargo_miden_test_clean_env:
# Run cargo-miden test in the clean env to simulate user's first run.
Expand All @@ -67,11 +67,16 @@ jobs:
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p cargo-miden --test integration
command: make
args: test -E 'package(cargo-miden)'

clippy:
name: clippy
Expand All @@ -95,7 +100,7 @@ jobs:
with:
command: install
args: cargo-make
- name: Test
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: make
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Runs `release-plz release` only after the release PR (starts with `release-plz-`)
# is merged to the main branch. See `release_always = false` in `release-plz.toml`
# is merged to the next branch. See `release_always = false` in `release-plz.toml`
# Publishes any unpublished crates when.
# Does nothing if all crates are already published (i.e. have their versions on crates.io).
# Does not create/update release PRs.
Expand All @@ -13,7 +13,7 @@ name: release-plz
on:
push:
branches:
- main
- next

env:
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-07
Expand Down Expand Up @@ -45,12 +45,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish Miden SDK crates
uses: MarcoIeni/[email protected]
with:
# Only run the `release` command that publishes any unpublished crates.
command: release
manifest_path: sdk/Cargo.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
11 changes: 5 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ Install `release-plz` CLI tool following the instructions [here](https://release

The release process for the Miden Compiler and Miden SDK is managed using the `release-plz` tool. The following steps outline the process for creating a new release:

1. Run `release-plz update` in the repo root folder to update the compiler crates versions and generate changelogs.
2. Run `release-plz update` in the `sdk` folder to update the SDK crates versions and generate changelogs.
3. Create a release PR naming the branch with the `release-plz-` suffix (its important to use this suffix to trigger the crate publishing on CI in step 4).
4. Review the changes in the release PR, commit edits if needed and merge it into the main branch.
5. The CI will automatically run `release-plz release` after the release PR is merged to publish the new versions to crates.io.
6. Set a git tag for the published crates to mark the release.
1. Run `release-plz update` in the repo root folder to update the crates versions and generate changelogs.
2. Create a release PR naming the branch with the `release-plz-` suffix (its important to use this suffix to trigger the crate publishing on CI in step 4).
3. Review the changes in the release PR, commit edits if needed and merge it into the main branch.
4. The CI will automatically run `release-plz release` after the release PR is merged to publish the new versions to crates.io.
5. Set a git tag for the published crates to mark the release.
Loading
Loading