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

DO NOT MERGE YET. Release 0.4 #512

Merged
merged 42 commits into from
Dec 28, 2022
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dcd45be
Release 0.4.0-alpha
mmagician Oct 20, 2022
e3d7e94
dependencies should use the exact version
mmagician Oct 20, 2022
5ac3661
Update CHANGELOG to reflect the new version
mmagician Oct 21, 2022
4670a89
Remove the patch for ark-std from Cargo.toml
mmagician Oct 21, 2022
35218ac
Temporary workaround to cyclic-dependency resolution while publishing
mmagician Oct 21, 2022
ee785f4
Bump alpha version of ff after dev-dependencies were published as alpha
mmagician Oct 21, 2022
8ad48b9
Bump alpha version of ec after dev-dependencies were published as alpha
mmagician Oct 21, 2022
7b26e9d
Merge remote-tracking branch 'origin/master' into release-0.4
mmagician Nov 5, 2022
c029e9e
chore: Release
mmagician Nov 5, 2022
e57ef12
add a release job to makefile
mmagician Nov 5, 2022
6c2ab22
Add back the missing bump for alpha.3 for serialize-derive
mmagician Nov 5, 2022
a047c61
workflow comment
mmagician Nov 5, 2022
e414230
Bug fixes -> Bugfixes
mmagician Nov 5, 2022
2a95a2a
Merge branch 'master' into release-0.4
mmagician Nov 5, 2022
0cb90be
Add a release-pr workflow
mmagician Nov 8, 2022
023ee8e
2-step release workflow
mmagician Nov 8, 2022
8569fb0
Merge branch 'release-0.4'
mmagician Nov 9, 2022
4f4a669
test only publishable crates
mmagician Nov 9, 2022
6ee8a4a
Add the custom PR template
mmagician Nov 9, 2022
406dcdb
move release template to correct location
mmagician Nov 9, 2022
c9bd29c
fix dependent version
mmagician Nov 9, 2022
cdcf04f
fix all crates to have the same version
mmagician Nov 9, 2022
d8dab8e
Merge branch 'release-with-bot' into release-0.4
mmagician Nov 9, 2022
a10d7d3
Merge branch 'master' into release-0.4
mmagician Dec 7, 2022
3a66171
chore: Release
mmagician Dec 7, 2022
87a95f0
Merge branch 'master' into release-0.4
weikengchen Dec 9, 2022
3a5b838
Merge branch 'master' into release-0.4
weikengchen Dec 10, 2022
7623939
Merge branch 'master' into release-0.4
weikengchen Dec 13, 2022
5e54440
Merge branch 'master' into release-0.4
mmagician Dec 16, 2022
c7f2ef2
Merge branch 'master' into release-0.4
Pratyush Dec 16, 2022
fc9e444
Merge branch 'master' into release-0.4
weikengchen Dec 17, 2022
b1d61ef
chore: Release
mmagician Dec 18, 2022
90dead4
Switch to release-pr@v2 action
mmagician Dec 18, 2022
67e94bb
tag prefix not needed, it's only for publishing
mmagician Dec 19, 2022
6bd0bad
Make the version into a choice
mmagician Dec 19, 2022
28fc674
bump version of unreleased poly-benches
mmagician Dec 19, 2022
1bc1926
Merge branch 'master' into release-0.4
weikengchen Dec 24, 2022
97e8937
Merge branch 'master' into release-0.4
mmagician Dec 24, 2022
7f931fe
Merge branch 'release-0.4-action' into release-0.4
mmagician Dec 24, 2022
37a2057
Merge branch 'master' into release-0.4
mmagician Dec 28, 2022
09985f2
chore: Release
mmagician Dec 28, 2022
beaf808
Merge branch 'master' into release-0.4
mmagician Dec 28, 2022
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

### Breaking changes

### Features

### Improvements

### Bug fixes

## v0.4.0

### Breaking changes

- [\#300](https://github.com/arkworks-rs/algebra/pull/300) (`ark-ec`) Change the implementation of `Hash` trait of `GroupProjective` to use the affine coordinates.
- [\#302](https://github.com/arkworks-rs/algebra/pull/302) (`ark-ff`) Rename `find_wnaf` to `find_naf`.
- [\#310](https://github.com/arkworks-rs/algebra/pull/310) (`ark-ec`, `ark-ff`) Remove unnecessary internal `PhantomData`.
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,3 @@ lto = "thin"
incremental = true
debug-assertions = true
debug = true

# To be removed in the new release.
[patch.crates-io]
ark-std = { git = "https://github.com/arkworks-rs/std"}
10 changes: 5 additions & 5 deletions bench-templates/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-algebra-bench-templates"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A benchmark library for finite fields and elliptic curves"
homepage = "https://arkworks.rs"
Expand All @@ -16,10 +16,10 @@ edition = "2021"

[dependencies]
criterion = { version = "0.4.0", features = [ "html_reports" ] }
ark-std = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", path = "../ec", default-features = false }
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-ec = { version = "0.4.0-alpha", path = "../ec", default-features = false }
ark-ff = { version = "0.4.0-alpha", path = "../ff", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false }
paste = { version = "1.0" }

[features]
Expand Down
12 changes: 6 additions & 6 deletions ec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ec"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for elliptic curves and pairings"
homepage = "https://arkworks.rs"
Expand All @@ -14,10 +14,10 @@ edition = "2021"
rust-version = "1.57"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false }
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
ark-poly = { version = "^0.3.0", path = "../poly", default-features = false }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false }
ark-ff = { version = "0.4.0-alpha", path = "../ff", default-features = false }
ark-poly = { version = "0.4.0-alpha", path = "../poly", default-features = false }
derivative = { version = "2", features = ["use_core"] }
num-traits = { version = "0.2", default-features = false }
rayon = { version = "1", optional = true }
Expand All @@ -26,7 +26,7 @@ hashbrown = "0.12.1"
itertools = { version = "0.10", default-features = false }

[dev-dependencies]
ark-test-curves = { version = "^0.3.0", path = "../test-curves", default-features = false, features = ["bls12_381_curve"] }
ark-test-curves = { version = "0.4.0-alpha", path = "../test-curves", default-features = false, features = ["bls12_381_curve"] }
sha2 = { version = "0.10", default-features = false }
libtest-mimic = "0.5.2"
serde = "1.0.110"
Expand Down
2 changes: 1 addition & 1 deletion ff-asm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ff-asm"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for generating x86-64 assembly for finite field multiplication"
homepage = "https://arkworks.rs"
Expand Down
2 changes: 1 addition & 1 deletion ff-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ff-macros"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for generating x86-64 assembly for finite field multiplication"
homepage = "https://arkworks.rs"
Expand Down
12 changes: 6 additions & 6 deletions ff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-ff"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for finite fields"
homepage = "https://arkworks.rs"
Expand All @@ -14,10 +14,10 @@ edition = "2021"
rust-version = "1.59"

[dependencies]
ark-ff-asm = { version = "^0.3.0", path = "../ff-asm" }
ark-ff-macros = { version = "^0.3.0", path = "../ff-macros" }
ark-std = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false }
ark-ff-asm = { version = "0.4.0-alpha", path = "../ff-asm" }
ark-ff-macros = { version = "0.4.0-alpha", path = "../ff-macros" }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false }
derivative = { version = "2", features = ["use_core"] }
num-traits = { version = "0.2", default-features = false }
paste = "1.0"
Expand All @@ -28,7 +28,7 @@ digest = { version = "0.10", default-features = false, features = ["alloc"] }
itertools = { version = "0.10", default-features = false }

[dev-dependencies]
ark-test-curves = { version = "^0.3.0", path = "../test-curves", default-features = false, features = [ "bls12_381_curve", "mnt6_753"] }
ark-test-curves = { version = "0.4.0-alpha", path = "../test-curves", default-features = false, features = [ "bls12_381_curve", "mnt6_753"] }
blake2 = { version = "0.10", default-features = false }
sha3 = { version = "0.10", default-features = false }
sha2 = { version = "0.10", default-features = false }
Expand Down
12 changes: 11 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
doc:
RUSTDOCFLAGS="--html-in-header doc/katex-header.html" cargo doc --no-deps

.PHONY: doc
.PHONY: doc

# use the --tag-prefix "" to avoid a separate tag for each crate
# use the --dependent-version to avoid bumping each crate's dependencies, e.g. from `0.4.0-alpha` to `0.4.0-alpha.3`,
# which would break due to circular dev-dependencies

# Since the master branch is protected, the current workflow is to create a release branch, e.g. `release-0.4` from `master`,
# commit the new version changes, and once the release is done, merge the release branch back to master.
release:
cargo update
cargo release alpha --dependent-version fix --tag-prefix "" --execute --allow-branch "release*"
10 changes: 5 additions & 5 deletions poly-benches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-poly-benches"
version = "0.3.0"
version = "0.4.0-alpha"
authors = [ "arkworks contributors" ]
description = "A library for benchmarking finite-field FFTs"
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
Expand All @@ -10,10 +10,10 @@ publish = false
rust-version = "1.56"

[dependencies]
ark-ff = { version = "^0.3.0", path = "../ff" }
ark-poly = { version = "^0.3.0", path = "../poly" }
ark-std = { version = "^0.3.0", default-features = false }
ark-test-curves = { version = "^0.3.0", path = "../test-curves", default-features = false, features = [ "bls12_381_scalar_field", "mnt4_753_curve" ] }
ark-ff = { version = "0.4.0-alpha", path = "../ff" }
ark-poly = { version = "0.4.0-alpha", path = "../poly" }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-test-curves = { version = "0.4.0-alpha", path = "../test-curves", default-features = false, features = [ "bls12_381_scalar_field", "mnt4_753_curve" ] }
criterion = "0.4.0"
rayon = { version = "1", optional = true }

Expand Down
8 changes: 4 additions & 4 deletions poly/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-poly"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for efficient polynomial arithmetic via FFTs over finite fields"
homepage = "https://arkworks.rs"
Expand All @@ -14,9 +14,9 @@ edition = "2021"
rust-version = "1.57"

[dependencies]
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false, features = ["derive"] }
ark-std = { version = "^0.3.0", default-features = false }
ark-ff = { version = "0.4.0-alpha", path = "../ff", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false, features = ["derive"] }
ark-std = { version = "0.4.0-alpha", default-features = false }
rayon = { version = "1", optional = true }
derivative = { version = "2", default-features = false, features = [ "use_core" ] }
hashbrown = { version = "0.12.0"}
Expand Down
2 changes: 1 addition & 1 deletion serialize-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-serialize-derive"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks Contributors" ]
description = "A library for deriving serialization traits for the arkworks ecosystem"
homepage = "https://arkworks.rs"
Expand Down
8 changes: 4 additions & 4 deletions serialize/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-serialize"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for serializing types in the arkworks ecosystem"
homepage = "https://arkworks.rs"
Expand All @@ -14,15 +14,15 @@ edition = "2021"
rust-version = "1.56"

[dependencies]
ark-serialize-derive = { version = "^0.3.0", path = "../serialize-derive", optional = true }
ark-std = { version = "^0.3.0", default-features = false }
ark-serialize-derive = { version = "0.4.0-alpha", path = "../serialize-derive", optional = true }
ark-std = { version = "0.4.0-alpha", default-features = false }
digest = { version = "0.10", default-features = false }

[dev-dependencies]
sha2 = { version = "0.10", default-features = false}
sha3 = { version = "0.10", default-features = false}
blake2 = { version = "0.10", default-features = false}
ark-test-curves = { version = "^0.3.0", path = "../test-curves", default-features = false, features = [ "bls12_381_curve"] }
ark-test-curves = { version = "0.4.0-alpha", path = "../test-curves", default-features = false, features = [ "bls12_381_curve"] }


[features]
Expand Down
14 changes: 7 additions & 7 deletions test-curves/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-test-curves"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for testing ark-ec & ark-poly"
homepage = "https://arkworks.rs"
Expand All @@ -14,14 +14,14 @@ edition = "2021"
rust-version = "1.56"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
ark-ec = { version = "^0.3.0", path = "../ec", default-features = false }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-ff = { version = "0.4.0-alpha", path = "../ff", default-features = false }
ark-ec = { version = "0.4.0-alpha", path = "../ec", default-features = false }

[dev-dependencies]
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false }
ark-algebra-test-templates = { version = "^0.3.0", path = "../test-templates", default-features = false }
ark-algebra-bench-templates = { version = "^0.3.0", path = "../bench-templates", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false }
ark-algebra-test-templates = { version = "0.4.0-alpha", path = "../test-templates", default-features = false }
ark-algebra-bench-templates = { version = "0.4.0-alpha", path = "../bench-templates", default-features = false }

[features]
default = []
Expand Down
10 changes: 5 additions & 5 deletions test-templates/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ark-algebra-test-templates"
version = "0.3.0"
version = "0.4.0-alpha.3"
authors = [ "arkworks contributors" ]
description = "A library for tests for finite fields, elliptic curves, and pairings"
homepage = "https://arkworks.rs"
Expand All @@ -14,10 +14,10 @@ edition = "2021"
rust-version = "1.56"

[dependencies]
ark-std = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", path = "../serialize", default-features = false }
ark-ff = { version = "^0.3.0", path = "../ff", default-features = false }
ark-ec = { version = "^0.3.0", path = "../ec", default-features = false }
ark-std = { version = "0.4.0-alpha", default-features = false }
ark-serialize = { version = "0.4.0-alpha", path = "../serialize", default-features = false }
ark-ff = { version = "0.4.0-alpha", path = "../ff", default-features = false }
ark-ec = { version = "0.4.0-alpha", path = "../ec", default-features = false }
num-bigint = { version = "0.4", default-features = false }
num-integer = { version = "0.1", default-features = false }
num-traits = { version = "0.2", default-features = false }
Expand Down