Skip to content

Commit bb7380e

Browse files
author
AztecBot
committed
[1 changes] feat(comptime): Implement blackbox functions in comptime interpreter (noir-lang/noir#6551)
chore: derive PartialEq and Hash for FieldElement (noir-lang/noir#6610) chore: ignore almost-empty directories in nargo_cli tests (noir-lang/noir#6611) chore: remove temporary allocations from `num_bits` (noir-lang/noir#6600) chore: Release Noir(1.0.0-beta.0) (noir-lang/noir#6562) feat: Add `array_refcount` and `slice_refcount` builtins for debugging (noir-lang/noir#6584) chore!: Require types of globals to be specified (noir-lang/noir#6592) fix: don't report visibility errors when elaborating comptime value (noir-lang/noir#6498) fix: preserve newlines between comments when formatting statements (noir-lang/noir#6601) fix: parse a bit more SSA stuff (noir-lang/noir#6599) chore!: remove eddsa from stdlib (noir-lang/noir#6591) chore: Typo in oracles how to (noir-lang/noir#6598) feat(ssa): Loop invariant code motion (noir-lang/noir#6563) fix: remove `compiler_version` from new `Nargo.toml` (noir-lang/noir#6590) feat: Avoid incrementing reference counts in some cases (noir-lang/noir#6568) chore: fix typo in test name (noir-lang/noir#6589) fix: consider prereleases to be compatible with pre-1.0.0 releases (noir-lang/noir#6580) feat: try to inline brillig calls with all constant arguments (noir-lang/noir#6548) fix: correct type when simplifying `derive_pedersen_generators` (noir-lang/noir#6579) feat: Sync from aztec-packages (noir-lang/noir#6576)
1 parent b8bace9 commit bb7380e

File tree

268 files changed

+17410
-1471
lines changed

Some content is hidden

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

268 files changed

+17410
-1471
lines changed

.noir-sync-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
68c32b4ffd9b069fe4b119327dbf4018c17ab9d4
1+
10a9f8104e1ebb8fad044927ff130a0e2ce9131b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.39.0"
2+
".": "1.0.0-beta.0"
33
}

noir/noir-repo/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## [1.0.0-beta.0](https://github.com/noir-lang/noir/compare/v0.39.0...v1.0.0-beta.0) (2024-11-22)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* Require types of globals to be specified ([#6592](https://github.com/noir-lang/noir/issues/6592))
9+
* remove eddsa from stdlib ([#6591](https://github.com/noir-lang/noir/issues/6591))
10+
11+
### Features
12+
13+
* Add `array_refcount` and `slice_refcount` builtins for debugging ([#6584](https://github.com/noir-lang/noir/issues/6584)) ([45eb756](https://github.com/noir-lang/noir/commit/45eb7568d56b2d254453b85f236d554232aa5df9))
14+
* Avoid incrementing reference counts in some cases ([#6568](https://github.com/noir-lang/noir/issues/6568)) ([01c4a9f](https://github.com/noir-lang/noir/commit/01c4a9fb62ffe2190c73f0d5b12933d2eb8f6b5d))
15+
* **ssa:** Loop invariant code motion ([#6563](https://github.com/noir-lang/noir/issues/6563)) ([7216f08](https://github.com/noir-lang/noir/commit/7216f0829dcece948d3243471e6d57380522e997))
16+
* Trait aliases ([#6431](https://github.com/noir-lang/noir/issues/6431)) ([68c32b4](https://github.com/noir-lang/noir/commit/68c32b4ffd9b069fe4b119327dbf4018c17ab9d4))
17+
* Try to inline brillig calls with all constant arguments ([#6548](https://github.com/noir-lang/noir/issues/6548)) ([e4c66b9](https://github.com/noir-lang/noir/commit/e4c66b91d42b20d17837fe5e7c32c9a83b6ab354))
18+
19+
20+
### Bug Fixes
21+
22+
* Consider prereleases to be compatible with pre-1.0.0 releases ([#6580](https://github.com/noir-lang/noir/issues/6580)) ([013e200](https://github.com/noir-lang/noir/commit/013e2000f1d7e7346b5cac0427732d545f501444))
23+
* Correct type when simplifying `derive_pedersen_generators` ([#6579](https://github.com/noir-lang/noir/issues/6579)) ([efa5cc4](https://github.com/noir-lang/noir/commit/efa5cc4bf173b0ce49f47b1954165a2bdb276792))
24+
* Don't report visibility errors when elaborating comptime value ([#6498](https://github.com/noir-lang/noir/issues/6498)) ([3c361c9](https://github.com/noir-lang/noir/commit/3c361c9f78a5d9de1b1bcb5a839d3bc481f89898))
25+
* Parse a bit more SSA stuff ([#6599](https://github.com/noir-lang/noir/issues/6599)) ([0a6207d](https://github.com/noir-lang/noir/commit/0a6207dde6c744e2853905014e70d33b29b3e53b))
26+
* Preserve newlines between comments when formatting statements ([#6601](https://github.com/noir-lang/noir/issues/6601)) ([d94eb08](https://github.com/noir-lang/noir/commit/d94eb085adf2cdd8f0e80d9cfd712c19c8810974))
27+
* Remove `compiler_version` from new `Nargo.toml` ([#6590](https://github.com/noir-lang/noir/issues/6590)) ([df8f2ee](https://github.com/noir-lang/noir/commit/df8f2eee5c27d3cd4b6128056afdd9bd4a0322fe))
28+
29+
30+
### Miscellaneous Chores
31+
32+
* Remove eddsa from stdlib ([#6591](https://github.com/noir-lang/noir/issues/6591)) ([8e046af](https://github.com/noir-lang/noir/commit/8e046afbbe3fba06c1e177f74aacefdd1bf871b6))
33+
* Require types of globals to be specified ([#6592](https://github.com/noir-lang/noir/issues/6592)) ([8ff4efd](https://github.com/noir-lang/noir/commit/8ff4efda5589d39d31ced31c6575f43133fceebc))
34+
* Switch to 1.0.0-beta versioning ([#6503](https://github.com/noir-lang/noir/issues/6503)) ([44e7dc1](https://github.com/noir-lang/noir/commit/44e7dc1037b047db866af675cd8caa0fc8aee324))
35+
336
## [0.39.0](https://github.com/noir-lang/noir/compare/v0.38.0...v0.39.0) (2024-11-19)
437

538

noir/noir-repo/Cargo.lock

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

noir/noir-repo/Cargo.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ resolver = "2"
4040

4141
[workspace.package]
4242
# x-release-please-start-version
43-
version = "0.39.0"
43+
version = "1.0.0-beta.0"
4444
# x-release-please-end
4545
authors = ["The Noir Team <[email protected]>"]
4646
edition = "2021"
@@ -57,13 +57,13 @@ unused_qualifications = "warn"
5757
[workspace.dependencies]
5858

5959
# ACVM workspace dependencies
60-
acir_field = { version = "0.55.0", path = "acvm-repo/acir_field", default-features = false }
61-
acir = { version = "0.55.0", path = "acvm-repo/acir", default-features = false }
62-
acvm = { version = "0.55.0", path = "acvm-repo/acvm" }
63-
brillig = { version = "0.55.0", path = "acvm-repo/brillig", default-features = false }
64-
brillig_vm = { version = "0.55.0", path = "acvm-repo/brillig_vm", default-features = false }
65-
acvm_blackbox_solver = { version = "0.55.0", path = "acvm-repo/blackbox_solver", default-features = false }
66-
bn254_blackbox_solver = { version = "0.55.0", path = "acvm-repo/bn254_blackbox_solver", default-features = false }
60+
acir_field = { version = "1.0.0-beta.0", path = "acvm-repo/acir_field", default-features = false }
61+
acir = { version = "1.0.0-beta.0", path = "acvm-repo/acir", default-features = false }
62+
acvm = { version = "1.0.0-beta.0", path = "acvm-repo/acvm" }
63+
brillig = { version = "1.0.0-beta.0", path = "acvm-repo/brillig", default-features = false }
64+
brillig_vm = { version = "1.0.0-beta.0", path = "acvm-repo/brillig_vm", default-features = false }
65+
acvm_blackbox_solver = { version = "1.0.0-beta.0", path = "acvm-repo/blackbox_solver", default-features = false }
66+
bn254_blackbox_solver = { version = "1.0.0-beta.0", path = "acvm-repo/bn254_blackbox_solver", default-features = false }
6767

6868
# Noir compiler workspace dependencies
6969
fm = { path = "compiler/fm" }
@@ -157,6 +157,8 @@ proptest-derive = "0.4.0"
157157
rayon = "1.8.0"
158158
sha2 = { version = "0.10.6", features = ["compress"] }
159159
sha3 = "0.10.6"
160+
strum = "0.24"
161+
strum_macros = "0.24"
160162

161163
im = { version = "15.1", features = ["serde"] }
162164
tracing = "0.1.40"

noir/noir-repo/acvm-repo/acir/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "acir"
33
description = "ACIR is the IR that the VM processes, it is analogous to LLVM IR"
44
# x-release-please-start-version
5-
version = "0.55.0"
5+
version = "1.0.0-beta.0"
66
# x-release-please-end
77
authors.workspace = true
88
edition.workspace = true
@@ -24,11 +24,11 @@ flate2.workspace = true
2424
bincode.workspace = true
2525
base64.workspace = true
2626
serde-big-array = "0.5.1"
27+
strum = { workspace = true }
28+
strum_macros = { workspace = true }
2729

2830
[dev-dependencies]
2931
serde_json = "1.0"
30-
strum = "0.24"
31-
strum_macros = "0.24"
3232
serde-reflection = "0.3.6"
3333
serde-generate = "0.25.1"
3434
fxhash.workspace = true

noir/noir-repo/acvm-repo/acir/src/circuit/black_box_functions.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
//! implemented in more basic constraints.
55
66
use serde::{Deserialize, Serialize};
7-
#[cfg(test)]
87
use strum_macros::EnumIter;
98

109
#[allow(clippy::upper_case_acronyms)]
11-
#[derive(Clone, Debug, Hash, Copy, PartialEq, Eq, Serialize, Deserialize)]
12-
#[cfg_attr(test, derive(EnumIter))]
10+
#[derive(Clone, Debug, Hash, Copy, PartialEq, Eq, Serialize, Deserialize, EnumIter)]
1311
pub enum BlackBoxFunc {
1412
/// Ciphers (encrypts) the provided plaintext using AES128 in CBC mode,
1513
/// padding the input using PKCS#7.

noir/noir-repo/acvm-repo/acir_field/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "acir_field"
33
description = "The field implementation being used by ACIR."
44
# x-release-please-start-version
5-
version = "0.55.0"
5+
version = "1.0.0-beta.0"
66
# x-release-please-end
77
authors.workspace = true
88
edition.workspace = true

0 commit comments

Comments
 (0)