From f887e755458a182210451c0ce924613c087a9bf7 Mon Sep 17 00:00:00 2001 From: xermicus Date: Mon, 13 Apr 2026 22:06:26 +0200 Subject: [PATCH] Release resolc `v1.1.0` (#504) Signed-off-by: Cyrill Leutwiler --- CHANGELOG.md | 10 +++++++++- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 18 +++++++++--------- crates/build-utils/Cargo.toml | 2 +- crates/integration/Cargo.toml | 2 +- crates/lld-sys/Cargo.toml | 2 +- crates/llvm-builder/Cargo.toml | 2 +- crates/llvm-context/Cargo.toml | 2 +- crates/resolc/Cargo.toml | 2 +- crates/runner/Cargo.toml | 2 +- crates/runtime-api/Cargo.toml | 2 +- crates/stdlib/Cargo.toml | 2 +- crates/yul/Cargo.toml | 2 +- js/resolc/package.json | 2 +- package-lock.json | 2 +- 15 files changed, 40 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d39af0b..1b85ddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,23 @@ ## Unreleased -This is a development pre-release. +Supported `polkadot-sdk` rev: `2603` + +## v1.1.0 + +Supported `polkadot-sdk` rev: `2603` ### Added - Support for solc v0.8.34. +- Inherit `STDERR` in recursive processes, allowing debug logs to be printed to the console [#485](https://github.com/paritytech/revive/pull/485) ### Fixed - npm package: The `--bin` CLI flag was not producing bytecode because the `outputSelection` was not updated to explicitly requested it. - Yul mode now properly exits when solc reports validation errors (e.g., invalid hex literals), matching `--standard-json` behavior. [#477](https://github.com/paritytech/revive/issues/477) - Fixed a bytecode divergence (yet functionally equivalent) between the resolc Linux/macOS builds and the Windows build for Solidity contracts containing a value multiplied by itself (e.g. via explicit squaring or exponentiation), manifesting primarily when using optimization level `-O0`. [#500](https://github.com/paritytech/revive/pull/500) +- Recursive processes use the current executable by default [#484](https://github.com/paritytech/revive/pull/484) +- Work around some LLVM indeterminism problem [#500](https://github.com/paritytech/revive/pull/500) ### Changed @@ -21,6 +28,7 @@ This is a development pre-release. - Updated `polkavm-*` to `0.31.0` - Updated `EMSDK` to `5.0.0` - Switched building LLVM for Windows from Visual Studio to MSVC-compatible Clang (clang-cl) and Ninja. [#497](https://github.com/paritytech/revive/pull/497) +- Append optnone and noinline for -O0 optlevel [#502](https://github.com/paritytech/revive/pull/502) ## v1.0.0 diff --git a/Cargo.lock b/Cargo.lock index 63c36d7..bec3372 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5091,7 +5091,7 @@ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" [[package]] name = "lld-sys" -version = "1.0.0" +version = "1.1.0" dependencies = [ "cc", "libc", @@ -9348,7 +9348,7 @@ dependencies = [ [[package]] name = "resolc" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "clap", @@ -9390,7 +9390,7 @@ dependencies = [ [[package]] name = "revive-build-utils" -version = "1.0.0" +version = "1.1.0" [[package]] name = "revive-builtins" @@ -9426,7 +9426,7 @@ dependencies = [ [[package]] name = "revive-integration" -version = "1.0.0" +version = "1.1.0" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -9454,7 +9454,7 @@ dependencies = [ [[package]] name = "revive-llvm-builder" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "revive-llvm-context" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "hex", @@ -9495,7 +9495,7 @@ dependencies = [ [[package]] name = "revive-runner" -version = "1.0.0" +version = "1.1.0" dependencies = [ "alloy-primitives", "anyhow", @@ -9515,7 +9515,7 @@ dependencies = [ [[package]] name = "revive-runtime-api" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "inkwell", @@ -9538,7 +9538,7 @@ dependencies = [ [[package]] name = "revive-stdlib" -version = "1.0.0" +version = "1.1.0" dependencies = [ "inkwell", "revive-build-utils", @@ -9546,7 +9546,7 @@ dependencies = [ [[package]] name = "revive-yul" -version = "1.0.0" +version = "1.1.0" dependencies = [ "anyhow", "inkwell", diff --git a/Cargo.toml b/Cargo.toml index 5351e9f..e20c9d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,21 +14,21 @@ repository = "https://github.com/paritytech/revive" rust-version = "1.85.0" [workspace.dependencies] -lld-sys = { version = "1.0.0", path = "crates/lld-sys" } -resolc = { version = "1.0.0", path = "crates/resolc", default-features = false } +lld-sys = { version = "1.1.0", path = "crates/lld-sys" } +resolc = { version = "1.1.0", path = "crates/resolc", default-features = false } revive-benchmarks = { version = "1.0.0", path = "crates/benchmarks" } -revive-build-utils = { version = "1.0.0", path = "crates/build-utils" } +revive-build-utils = { version = "1.1.0", path = "crates/build-utils" } revive-builtins = { version = "1.0.0", path = "crates/builtins" } revive-common = { version = "1.0.0", path = "crates/common" } revive-differential = { version = "1.0.0", path = "crates/differential" } -revive-integration = { version = "1.0.0", path = "crates/integration" } +revive-integration = { version = "1.1.0", path = "crates/integration" } revive-linker = { version = "1.0.0", path = "crates/linker" } -revive-llvm-context = { version = "1.0.0", path = "crates/llvm-context" } -revive-runner = { version = "1.0.0", path = "crates/runner" } -revive-runtime-api = { version = "1.0.0", path = "crates/runtime-api" } +revive-llvm-context = { version = "1.1.0", path = "crates/llvm-context" } +revive-runner = { version = "1.1.0", path = "crates/runner" } +revive-runtime-api = { version = "1.1.0", path = "crates/runtime-api" } revive-solc-json-interface = { version = "1.0.0", path = "crates/solc-json-interface", default-features = false } -revive-stdlib = { version = "1.0.0", path = "crates/stdlib" } -revive-yul = { version = "1.0.0", path = "crates/yul" } +revive-stdlib = { version = "1.1.0", path = "crates/stdlib" } +revive-yul = { version = "1.1.0", path = "crates/yul" } hex = "0.4.3" cc = "1.2" diff --git a/crates/build-utils/Cargo.toml b/crates/build-utils/Cargo.toml index a805ea9..306b97e 100644 --- a/crates/build-utils/Cargo.toml +++ b/crates/build-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-build-utils" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/integration/Cargo.toml b/crates/integration/Cargo.toml index 6ec3f8d..802c885 100644 --- a/crates/integration/Cargo.toml +++ b/crates/integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-integration" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/lld-sys/Cargo.toml b/crates/lld-sys/Cargo.toml index 93e0444..71bfeff 100644 --- a/crates/lld-sys/Cargo.toml +++ b/crates/lld-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lld-sys" -version.workspace = true +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/llvm-builder/Cargo.toml b/crates/llvm-builder/Cargo.toml index c2d1832..69cbc6b 100644 --- a/crates/llvm-builder/Cargo.toml +++ b/crates/llvm-builder/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Anton Baliasnikov ", "Cyrill Leutwiler ", ] -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/llvm-context/Cargo.toml b/crates/llvm-context/Cargo.toml index 8d2f718..07bc169 100644 --- a/crates/llvm-context/Cargo.toml +++ b/crates/llvm-context/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-llvm-context" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/resolc/Cargo.toml b/crates/resolc/Cargo.toml index c65b525..410b05e 100644 --- a/crates/resolc/Cargo.toml +++ b/crates/resolc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resolc" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/runner/Cargo.toml b/crates/runner/Cargo.toml index abff9eb..38ee0d3 100644 --- a/crates/runner/Cargo.toml +++ b/crates/runner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-runner" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/runtime-api/Cargo.toml b/crates/runtime-api/Cargo.toml index ecba5a1..b6fcd3e 100644 --- a/crates/runtime-api/Cargo.toml +++ b/crates/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-runtime-api" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/stdlib/Cargo.toml b/crates/stdlib/Cargo.toml index 96f61af..d3e8c8a 100644 --- a/crates/stdlib/Cargo.toml +++ b/crates/stdlib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "revive-stdlib" -version = "1.0.0" +version = "1.1.0" license.workspace = true edition.workspace = true repository.workspace = true diff --git a/crates/yul/Cargo.toml b/crates/yul/Cargo.toml index 6549143..766177e 100644 --- a/crates/yul/Cargo.toml +++ b/crates/yul/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "revive-yul" description = "The revive YUL parser library." -version = "1.0.0" +version = "1.1.0" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/js/resolc/package.json b/js/resolc/package.json index 6161949..d5417c6 100644 --- a/js/resolc/package.json +++ b/js/resolc/package.json @@ -1,7 +1,7 @@ { "name": "@parity/resolc", "license": "Apache-2.0", - "version": "1.0.0", + "version": "1.1.0", "author": "Parity (https://parity.io)", "module": "index.ts", "types": "./dist/index.d.ts", diff --git a/package-lock.json b/package-lock.json index 671349a..d6302af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ }, "js/resolc": { "name": "@parity/resolc", - "version": "1.0.0", + "version": "1.1.0", "license": "Apache-2.0", "dependencies": { "@types/node": "^22.19.17",