Skip to content

Commit e3f391c

Browse files
authored
Add support for Solidity 0.8.32 and 0.8.33 (#1495)
No related changes, per the release notes: https://www.soliditylang.org/blog/2025/12/18/solidity-0.8.32-0.8.33-release-announcement/
1 parent 49224a1 commit e3f391c

File tree

12 files changed

+27
-10
lines changed

12 files changed

+27
-10
lines changed

.changeset/early-numbers-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nomicfoundation/slang": patch
3+
---
4+
5+
Add support for Solidity `0.8.32` and `0.8.33`.

crates/solidity-v2/inputs/language/src/definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ language_v2_macros::compile!(Language(
2727
"0.8.2", "0.8.3", "0.8.4", "0.8.5", "0.8.6", "0.8.7", "0.8.8", "0.8.9", "0.8.10", "0.8.11",
2828
"0.8.12", "0.8.13", "0.8.14", "0.8.15", "0.8.16", "0.8.17", "0.8.18", "0.8.19", "0.8.20",
2929
"0.8.21", "0.8.22", "0.8.23", "0.8.24", "0.8.25", "0.8.26", "0.8.27", "0.8.28", "0.8.29",
30-
"0.8.30", "0.8.31"
30+
"0.8.30", "0.8.31", "0.8.32", "0.8.33"
3131
],
3232
sections = [
3333
Section(

crates/solidity-v2/outputs/cargo/common/src/versions/language_versions.generated.rs

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

crates/solidity-v2/outputs/cargo/common/src/versions/language_versions.rs.jinja2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub enum FromSemverError {
2222
impl TryFrom<Version> for LanguageVersion {
2323
type Error = FromSemverError;
2424

25+
#[allow(clippy::too_many_lines)]
2526
fn try_from(version: Version) -> Result<Self, Self::Error> {
2627
let Version {
2728
major,

crates/solidity/inputs/language/src/definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ language_macros::compile!(Language(
2727
"0.8.2", "0.8.3", "0.8.4", "0.8.5", "0.8.6", "0.8.7", "0.8.8", "0.8.9", "0.8.10", "0.8.11",
2828
"0.8.12", "0.8.13", "0.8.14", "0.8.15", "0.8.16", "0.8.17", "0.8.18", "0.8.19", "0.8.20",
2929
"0.8.21", "0.8.22", "0.8.23", "0.8.24", "0.8.25", "0.8.26", "0.8.27", "0.8.28", "0.8.29",
30-
"0.8.30", "0.8.31"
30+
"0.8.30", "0.8.31", "0.8.32", "0.8.33"
3131
],
3232
sections = [
3333
Section(

crates/solidity/outputs/cargo/crate/src/utils/language_facts.generated.rs

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

crates/solidity/outputs/cargo/crate/src/utils/versions.generated.rs

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

crates/solidity/outputs/cargo/tests/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub(crate) mod multi_part_file;
66

77
#[test]
88
fn list_all_versions() {
9-
assert_eq!(LanguageFacts::ALL_VERSIONS.len(), 86);
9+
assert_eq!(LanguageFacts::ALL_VERSIONS.len(), 88);
1010
assert!(LanguageFacts::ALL_VERSIONS.is_sorted());
1111
assert_eq!(
1212
LanguageFacts::ALL_VERSIONS.iter().min(),

crates/solidity/outputs/spec/generated/language-definition.json

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

crates/solidity/outputs/spec/generated/public/supported-versions.md

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

0 commit comments

Comments
 (0)