Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/next' into next-webgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
GopherJ committed Nov 19, 2024
2 parents d826010 + 190f9b5 commit b232275
Show file tree
Hide file tree
Showing 120 changed files with 4,816 additions and 1,431 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bugreport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Bug Report"
description: "File a bug report"
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this bug report!
- type: textarea
id: version
attributes:
label: "Packages versions"
description: "Let us know the versions of any other packages used. For example, which version of the VM are you using?"
placeholder: "miden-vm: 0.1.0"
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: "Bug description"
description: "Describe the behavior you are experiencing."
placeholder: "Tell us what happened and what should have happened."
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: "How can this be reproduced?"
description: "If possible, describe how to replicate the unexpected behavior that you see."
placeholder: "Steps!"
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This is automatically formatted as code, no need for backticks.
render: shell
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Feature request"
description: "Request new goodies"
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill a feature request!
- type: textarea
id: scenario-why
attributes:
label: "Feature description"
validations:
required: true
- type: textarea
id: scenario-how
attributes:
label: "Why is this feature needed?"
validations:
required: false
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/3-task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Task"
description: "Work item"
body:
- type: markdown
attributes:
value: |
A task should be less than a week worth of work!
- type: textarea
id: task-what
attributes:
label: "What should be done?"
placeholder: "Impose restrictions on DYN and DYNCALL operation"
validations:
required: true
- type: textarea
id: task-how
attributes:
label: "How should it be done?"
placeholder: "Users should be able to specify whether DYN/DYNCALL operations are allowed in a given program"
validations:
required: true
- type: textarea
id: task-done
attributes:
label: "When is this task done?"
placeholder: "The task is done when users are able to specify whether DYN/DYNCALL operations are allowed in a given program"
validations:
required: true
- type: textarea
id: task-related
attributes:
label: "Additional context"
description: "Add context to the tasks. E.g. other related tasks or relevant discussions on PRs/chats."
validations:
required: false
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/pull_request_template.md

This file was deleted.

44 changes: 26 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
# Changelog

## 0.11.0 (TBD)
## 0.11.0 (2024-11-04)

#### Enhancements

- Added support for procedure annotation (attribute) syntax to Miden Assembly
- Added `miden_core::utils::sync::racy_lock` module (#1463).
- Updated `miden_core::utils` to re-export `std::sync::LazyLock` and `racy_lock::RacyLock as LazyLock` for std and no_std environments, respectively (#1463).
- Debug instructions can be enabled in the cli `run` command using `--debug` flag (#1502).
- Added support for procedure annotation (attribute) syntax to Miden Assembly (#1510).
- Make `miden-prover::prove()` method conditionally asynchronous (#1563).

#### Changes

- [BREAKING] Wrapped `MastForest`s in `Program` and `Library` structs in `Arc` (#1465).
- `MastForestBuilder`: use `MastNodeId` instead of MAST root to uniquely identify procedures (#1473)
- Added `miden_core::utils::sync::racy_lock` module (#1463).
- Updated `miden_core::utils` to re-export `std::sync::LazyLock` and `racy_lock::RacyLock as LazyLock` for std and no_std environments, respectively (#1463).
- Made the undocumented behavior of the VM with regard to undefined behavior of u32 operations, stricter (#1480)
- Introduced the `Emit` instruction (#1496)
- Debug instructions can be enabled in the cli `run` command using `--debug` flag (#1502)
- [BREAKING] ExecutionOptions::new constructor requires a boolean to explicitly set debug mode (#1502)
- [BREAKING] The `run` and the `prove` commands in the cli will accept `--trace` flag instead of `--tracing` (#1502)

- `MastForestBuilder`: use `MastNodeId` instead of MAST root to uniquely identify procedures (#1473).
- Made the undocumented behavior of the VM with regard to undefined behavior of u32 operations, stricter (#1480).
- Introduced the `Emit` instruction (#1496).
- [BREAKING] ExecutionOptions::new constructor requires a boolean to explicitly set debug mode (#1502).
- [BREAKING] The `run` and the `prove` commands in the cli will accept `--trace` flag instead of `--tracing` (#1502).
- Migrated to new padding rule for RPO (#1343).
- Migrated to `miden-crypto` v0.11.0 (#1343).
- Implemented `MastForest` merging (#1534).
- Rename `EqHash` to `MastNodeFingerprint` and make it `pub` (#1539).
- Updated Winterfell dependency to v0.10 (#1533).
- [BREAKING] `DYN` operation now expects a memory address pointing to the procedure hash (#1535).
- [BREAKING] `DYNCALL` operation fixed, and now expects a memory address pointing to the procedure hash (#1535).
- Permit child `MastNodeId`s to exceed the `MastNodeId`s of their parents (#1542).
- Don't validate export names on `Library` deserialization (#1554)

#### Fixes

- Fixed an issue with formatting of blocks in Miden Assembly syntax
- Fixed the construction of the block hash table (#1506)
- Fixed a bug in the block stack table (#1511) (#1512)
- Fixed the construction of the chiplets virtual table (#1514)
- Fixed a bug in the block stack table (#1511) (#1512) (#1557)
- Fixed the construction of the chiplets virtual table (#1514) (#1556)
- Fixed the construction of the chiplets bus (#1516) (#1525)

#### Fixes

- Decorators are now allowed in empty basic blocks (#1466)
- Return an error if an instruction performs 2 memory accesses at the same memory address in the same cycle (#1561)


## 0.10.6 (2024-09-12) - `miden-processor` crate only.
## 0.10.6 (2024-09-12) - `miden-processor` crate only

#### Enhancements

Expand Down Expand Up @@ -159,6 +165,8 @@
#### Stdlib

- Added `init_no_padding` procedure to `std::crypto::hashes::native` (#1313).
- [BREAKING] `native` module was renamed to the `rpo`, `hash_memory` procedure was renamed to the `hash_memory_words` (#1368).
- Added `hash_memory` procedure to `std::crypto::hashes::rpo` (#1368).

#### VM Internals

Expand Down
Loading

0 comments on commit b232275

Please sign in to comment.