diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..80f73223 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## Unreleased + +## v0.1.0-dev.5 + +This is development pre-release. + +# Added +- Implement the `CODESIZE` and `EXTCODESIZE` opcodes. + +# Changed +- Include the full revive version in the contract metadata. + +# Fixed + +## v0.1.0-dev-4 + +This is development pre-release. + +# Added +- Support the `ORIGIN` opcode. + +# Changed +- Update polkavm to `v0.14.0`. +- Enable the `a`, `fast-unaligned-access` and `xtheadcondmov` LLVM target features, decreasing the code size for some contracts. + +# Fixed diff --git a/Cargo.lock b/Cargo.lock index b2cb0ec8..24315ad6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4296,7 +4296,7 @@ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lld-sys" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "cc", "libc", @@ -7850,7 +7850,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "revive-benchmarks" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "alloy-primitives 0.8.10", "criterion", @@ -7862,11 +7862,11 @@ dependencies = [ [[package]] name = "revive-builtins" -version = "0.1.0" +version = "0.1.0-dev.5" [[package]] name = "revive-common" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "anyhow", "serde", @@ -7876,7 +7876,7 @@ dependencies = [ [[package]] name = "revive-differential" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "alloy-genesis", "alloy-primitives 0.8.10", @@ -7889,7 +7889,7 @@ dependencies = [ [[package]] name = "revive-integration" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "alloy-primitives 0.8.10", "alloy-sol-types 0.8.10", @@ -7910,7 +7910,7 @@ dependencies = [ [[package]] name = "revive-linker" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "anyhow", "inkwell", @@ -7924,7 +7924,7 @@ dependencies = [ [[package]] name = "revive-llvm-context" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "anyhow", "hex", @@ -7949,7 +7949,7 @@ dependencies = [ [[package]] name = "revive-runner" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "alloy-primitives 0.8.10", "hex", @@ -7964,7 +7964,7 @@ dependencies = [ [[package]] name = "revive-runtime-api" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "anyhow", "inkwell", @@ -7973,7 +7973,7 @@ dependencies = [ [[package]] name = "revive-solidity" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "anyhow", "clap", @@ -8000,7 +8000,7 @@ dependencies = [ [[package]] name = "revive-stdlib" -version = "0.1.0" +version = "0.1.0-dev.5" dependencies = [ "inkwell", ] diff --git a/Cargo.toml b/Cargo.toml index 25941c21..ad786bf5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["crates/*"] [workspace.package] -version = "0.1.0" +version = "0.1.0-dev.5" authors = [ "Cyrill Leutwiler ", "Parity Technologies ", @@ -14,18 +14,18 @@ repository = "https://github.com/paritytech/revive" rust-version = "1.80.0" [workspace.dependencies] -revive-benchmarks = { version = "0.1.0", path = "crates/benchmarks" } -revive-builtins = { version = "0.1.0", path = "crates/builtins" } -revive-common = { version = "0.1.0", path = "crates/common" } -revive-differential = { version = "0.1.0", path = "crates/differential" } -revive-integration = { version = "0.1.0", path = "crates/integration" } -revive-linker = { version = "0.1.0", path = "crates/linker" } -lld-sys = { version = "0.1.0", path = "crates/lld-sys" } -revive-llvm-context = { version = "0.1.0", path = "crates/llvm-context" } -revive-runtime-api = { version = "0.1.0", path = "crates/runtime-api" } -revive-runner = { version = "0.1.0", path = "crates/runner" } -revive-solidity = { version = "0.1.0", path = "crates/solidity" } -revive-stdlib = { version = "0.1.0", path = "crates/stdlib" } +revive-benchmarks = { version = "0.1.0-dev.5", path = "crates/benchmarks" } +revive-builtins = { version = "0.1.0-dev.5", path = "crates/builtins" } +revive-common = { version = "0.1.0-dev.5", path = "crates/common" } +revive-differential = { version = "0.1.0-dev.5", path = "crates/differential" } +revive-integration = { version = "0.1.0-dev.5", path = "crates/integration" } +revive-linker = { version = "0.1.0-dev.5", path = "crates/linker" } +lld-sys = { version = "0.1.0-dev.5", path = "crates/lld-sys" } +revive-llvm-context = { version = "0.1.0-dev.5", path = "crates/llvm-context" } +revive-runtime-api = { version = "0.1.0-dev.5", path = "crates/runtime-api" } +revive-runner = { version = "0.1.0-dev.5", path = "crates/runner" } +revive-solidity = { version = "0.1.0-dev.5", path = "crates/solidity" } +revive-stdlib = { version = "0.1.0-dev.5", path = "crates/stdlib" } hex = "0.4" petgraph = "0.6" diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..4316fd64 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,11 @@ +# Release checklist + +Prior to the first stable release we neither have formal release processes nor do we follow a fixed release schedule. + +To create a new pre-release: + +1. Merge a release PR which updates the `-dev.X` versions in the workspace `Cargo.toml` and updates the `CHANGELOG.md` accordingly +2. Push a release tag to `main` +3. Manually trigger the `Build revive-debian` action +4. Create a __pre-release__ from the tag and manually upload the build artifact generated by the action +5. Update the [contract-docs](https://github.com/paritytech/contract-docs/) accordingly