release 0.4.1 (#388)

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus
2025-10-08 14:04:48 +02:00
committed by GitHub
parent 93c6387dae
commit 273c86a1a6
13 changed files with 554 additions and 448 deletions
+6 -2
View File
@@ -2,8 +2,11 @@
## Unreleased ## Unreleased
### Changed This is a development pre-release.
- `standard_json.output_selection` to also look at per file settings.
Supported `polkadot-sdk` rev: `2503.0.1`
## v0.4.1
This is a development pre-release. This is a development pre-release.
@@ -11,6 +14,7 @@ Supported `polkadot-sdk` rev: `2503.0.1`
### Changed ### Changed
- The `ast` output is no longer pruned in standard JSON mode (required for foundry). - The `ast` output is no longer pruned in standard JSON mode (required for foundry).
- Support `standard_json.output_selection` to also look at per file settings.
## v0.4.0 ## v0.4.0
Generated
+532 -430
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -19,17 +19,17 @@ resolc = { version = "0.4.0", path = "crates/resolc", default-features = false }
revive-benchmarks = { version = "0.1.0", path = "crates/benchmarks" } revive-benchmarks = { version = "0.1.0", path = "crates/benchmarks" }
revive-build-utils = { version = "0.2.0", path = "crates/build-utils" } revive-build-utils = { version = "0.2.0", path = "crates/build-utils" }
revive-builtins = { version = "0.1.0", path = "crates/builtins" } revive-builtins = { version = "0.1.0", path = "crates/builtins" }
revive-common = { version = "0.2.0", path = "crates/common" } revive-common = { version = "0.2.1", path = "crates/common" }
revive-differential = { version = "0.2.0", path = "crates/differential" } revive-differential = { version = "0.2.0", path = "crates/differential" }
revive-explorer = { version = "0.1.0", path = "crates/explore" } revive-explorer = { version = "0.1.0", path = "crates/explore" }
revive-integration = { version = "0.2.0", path = "crates/integration" } revive-integration = { version = "0.2.0", path = "crates/integration" }
revive-linker = { version = "0.2.0", path = "crates/linker" } revive-linker = { version = "0.2.0", path = "crates/linker" }
revive-llvm-context = { version = "0.4.0", path = "crates/llvm-context" } revive-llvm-context = { version = "0.4.1", path = "crates/llvm-context" }
revive-runner = { version = "0.2.0", path = "crates/runner" } revive-runner = { version = "0.2.0", path = "crates/runner" }
revive-runtime-api = { version = "0.3.0", path = "crates/runtime-api" } revive-runtime-api = { version = "0.3.0", path = "crates/runtime-api" }
revive-solc-json-interface = { version = "0.3.0", path = "crates/solc-json-interface", default-features = false } revive-solc-json-interface = { version = "0.4.0", path = "crates/solc-json-interface", default-features = false }
revive-stdlib = { version = "0.2.0", path = "crates/stdlib" } revive-stdlib = { version = "0.2.0", path = "crates/stdlib" }
revive-yul = { version = "0.3.0", path = "crates/yul" } revive-yul = { version = "0.3.1", path = "crates/yul" }
hex = "0.4.3" hex = "0.4.3"
cc = "1.2" cc = "1.2"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "revive-common" name = "revive-common"
version = "0.2.0" version = "0.2.1"
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
repository.workspace = true repository.workspace = true
+2 -2
View File
@@ -30,8 +30,8 @@ impl FromStr for ObjectFormat {
"PVM" => Ok(Self::PVM), "PVM" => Ok(Self::PVM),
_ => anyhow::bail!( _ => anyhow::bail!(
"Unknown object format: {value}. Supported formats: {}, {}", "Unknown object format: {value}. Supported formats: {}, {}",
Self::ELF.to_string(), Self::ELF,
Self::PVM.to_string() Self::PVM,
), ),
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "revive-llvm-context" name = "revive-llvm-context"
version = "0.4.0" version = "0.4.1"
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
repository.workspace = true repository.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "resolc" name = "resolc"
version = "0.4.0" version = "0.4.1"
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
repository.workspace = true repository.workspace = true
+2 -2
View File
@@ -88,7 +88,7 @@ impl Compiler for SolcCompiler {
anyhow::bail!( anyhow::bail!(
"{} error: {}", "{} error: {}",
self.executable, self.executable,
String::from_utf8_lossy(output.stderr.as_slice()).to_string() String::from_utf8_lossy(output.stderr.as_slice())
); );
} }
@@ -187,7 +187,7 @@ impl Compiler for SolcCompiler {
anyhow::bail!( anyhow::bail!(
"{} error: {}", "{} error: {}",
self.executable, self.executable,
String::from_utf8_lossy(output.stderr.as_slice()).to_string() String::from_utf8_lossy(output.stderr.as_slice())
); );
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "revive-solc-json-interface" name = "revive-solc-json-interface"
version = "0.3.0" version = "0.4.0"
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
+1 -1
View File
@@ -1,7 +1,7 @@
[package] [package]
name = "revive-yul" name = "revive-yul"
description = "The revive YUL parser library." description = "The revive YUL parser library."
version = "0.3.0" version = "0.3.1"
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
@@ -115,7 +115,7 @@ impl Expression {
anyhow::anyhow!( anyhow::anyhow!(
"{} Invalid literal `{}`: {}", "{} Invalid literal `{}`: {}",
literal.location, literal.location,
literal.inner.to_string(), literal.inner,
error error
) )
}) })
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@parity/resolc", "name": "@parity/resolc",
"license": "Apache-2.0", "license": "Apache-2.0",
"version": "0.4.0", "version": "0.4.1",
"author": "Parity <admin@parity.io> (https://parity.io)", "author": "Parity <admin@parity.io> (https://parity.io)",
"module": "index.ts", "module": "index.ts",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
+1 -1
View File
@@ -31,7 +31,7 @@
}, },
"js/resolc": { "js/resolc": {
"name": "@parity/resolc", "name": "@parity/resolc",
"version": "0.4.0", "version": "0.4.1",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@types/node": "^22.9.0", "@types/node": "^22.9.0",