Skip to content

Commit 25e5ef9

Browse files
committed
Merge branch 'main' into klkvr/pp-test-rebase
2 parents a379db3 + 150398e commit 25e5ef9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3601
-2046
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
24-
rust: ["stable", "1.70"]
24+
rust: ["stable", "1.83"]
2525
flags: ["", "--all-features"]
2626
exclude:
2727
# Skip because some features have higher MSRV.
28-
- rust: "1.70" # MSRV
28+
- rust: "1.83" # MSRV
2929
flags: "--all-features"
3030
steps:
3131
- uses: actions/checkout@v4
32-
- uses: dtolnay/rust-toolchain@stable
32+
- uses: dtolnay/rust-toolchain@master
33+
with:
34+
toolchain: ${{ matrix.rust }}
3335
- name: Install test binaries
3436
shell: bash
3537
run: ./.github/scripts/install_test_binaries.sh
@@ -38,11 +40,7 @@ jobs:
3840
- uses: Swatinem/rust-cache@v2
3941
with:
4042
cache-on-failure: true
41-
- name: build
42-
if: matrix.rust == '1.70' # MSRV
43-
run: cargo build --workspace ${{ matrix.flags }}
4443
- name: test
45-
if: matrix.rust != '1.70' # MSRV
4644
shell: bash
4745
run: cargo nextest run ${{ matrix.flags }} --retries 2
4846

@@ -107,3 +105,6 @@ jobs:
107105
with:
108106
components: rustfmt
109107
- run: cargo fmt --all --check
108+
109+
deny:
110+
uses: ithacaxyz/ci/.github/workflows/deny.yml@main

.github/workflows/deps.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 273 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,265 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.13.3](https://github.com/foundry-rs/compilers/releases/tag/v0.13.3) - 2025-02-14
9+
10+
### Bug Fixes
11+
12+
- Allow top level event declarations ([#251](https://github.com/foundry-rs/compilers/issues/251))
13+
14+
### Features
15+
16+
- Impl `.path(&self)` for `ContractInfo` ([#250](https://github.com/foundry-rs/compilers/issues/250))
17+
18+
## [0.13.2](https://github.com/foundry-rs/compilers/releases/tag/v0.13.2) - 2025-02-06
19+
20+
### Bug Fixes
21+
22+
- Ordering for flattener ([#247](https://github.com/foundry-rs/compilers/issues/247))
23+
24+
### Miscellaneous Tasks
25+
26+
- Release 0.13.2
27+
- Fix spelling issues ([#248](https://github.com/foundry-rs/compilers/issues/248))
28+
29+
## [0.13.1](https://github.com/foundry-rs/compilers/releases/tag/v0.13.1) - 2025-02-02
30+
31+
### Bug Fixes
32+
33+
- Handle displaying multiline errors correctly ([#245](https://github.com/foundry-rs/compilers/issues/245))
34+
35+
### Dependencies
36+
37+
- [deps] Bump dirs ([#243](https://github.com/foundry-rs/compilers/issues/243))
38+
39+
### Miscellaneous Tasks
40+
41+
- Release 0.13.1
42+
- Clippy + winnow 0.7 ([#244](https://github.com/foundry-rs/compilers/issues/244))
43+
- Call shrink_to_fit afte parsing source maps ([#242](https://github.com/foundry-rs/compilers/issues/242))
44+
45+
## [0.13.0](https://github.com/foundry-rs/compilers/releases/tag/v0.13.0) - 2025-01-21
46+
47+
### Features
48+
49+
- Better artifact filenames for different profiles ([#241](https://github.com/foundry-rs/compilers/issues/241))
50+
- Add more features to reduce dependencies ([#239](https://github.com/foundry-rs/compilers/issues/239))
51+
52+
### Miscellaneous Tasks
53+
54+
- Release 0.13.0
55+
- More lints ([#238](https://github.com/foundry-rs/compilers/issues/238))
56+
57+
## [0.12.9](https://github.com/foundry-rs/compilers/releases/tag/v0.12.9) - 2025-01-05
58+
59+
### Bug Fixes
60+
61+
- EvmVersion `from_str` ([#235](https://github.com/foundry-rs/compilers/issues/235))
62+
63+
### Dependencies
64+
65+
- [deps] Bump solar 0.1.1 ([#237](https://github.com/foundry-rs/compilers/issues/237))
66+
67+
### Miscellaneous Tasks
68+
69+
- Release 0.12.9
70+
- Clippy ([#236](https://github.com/foundry-rs/compilers/issues/236))
71+
72+
## [0.12.8](https://github.com/foundry-rs/compilers/releases/tag/v0.12.8) - 2024-12-13
73+
74+
### Bug Fixes
75+
76+
- Correctly merge restrictions ([#234](https://github.com/foundry-rs/compilers/issues/234))
77+
78+
### Miscellaneous Tasks
79+
80+
- Release 0.12.8
81+
82+
### Other
83+
84+
- Move deny to ci ([#233](https://github.com/foundry-rs/compilers/issues/233))
85+
86+
## [0.12.7](https://github.com/foundry-rs/compilers/releases/tag/v0.12.7) - 2024-12-05
87+
88+
### Bug Fixes
89+
90+
- Vyper version comparison typo ([#232](https://github.com/foundry-rs/compilers/issues/232))
91+
92+
### Miscellaneous Tasks
93+
94+
- Release 0.12.7
95+
96+
## [0.12.6](https://github.com/foundry-rs/compilers/releases/tag/v0.12.6) - 2024-12-04
97+
98+
### Miscellaneous Tasks
99+
100+
- Release 0.12.6
101+
102+
### Performance
103+
104+
- Don't request unnecessary output ([#231](https://github.com/foundry-rs/compilers/issues/231))
105+
106+
## [0.12.5](https://github.com/foundry-rs/compilers/releases/tag/v0.12.5) - 2024-12-04
107+
108+
### Miscellaneous Tasks
109+
110+
- Release 0.12.5
111+
- Release 0.12.5
112+
113+
### Refactor
114+
115+
- Make Contract generic for Compiler and add metadata to CompilerOutput ([#224](https://github.com/foundry-rs/compilers/issues/224))
116+
117+
## [0.12.4](https://github.com/foundry-rs/compilers/releases/tag/v0.12.4) - 2024-12-02
118+
119+
### Bug Fixes
120+
121+
- Add fallback parser for contract names ([#229](https://github.com/foundry-rs/compilers/issues/229))
122+
- Fix minor grammatical issue in project documentation ([#226](https://github.com/foundry-rs/compilers/issues/226))
123+
124+
### Dependencies
125+
126+
- Bump MSRV to 1.83 ([#230](https://github.com/foundry-rs/compilers/issues/230))
127+
128+
### Miscellaneous Tasks
129+
130+
- Release 0.12.4
131+
132+
### Other
133+
134+
- Add note about grammar,spelling prs ([#228](https://github.com/foundry-rs/compilers/issues/228))
135+
136+
## [0.12.3](https://github.com/foundry-rs/compilers/releases/tag/v0.12.3) - 2024-11-20
137+
138+
### Bug Fixes
139+
140+
- Imports regex fallback ([#225](https://github.com/foundry-rs/compilers/issues/225))
141+
142+
### Miscellaneous Tasks
143+
144+
- Release 0.12.3
145+
146+
## [0.12.2](https://github.com/foundry-rs/compilers/releases/tag/v0.12.2) - 2024-11-20
147+
148+
### Bug Fixes
149+
150+
- Re-add version regex parsing ([#223](https://github.com/foundry-rs/compilers/issues/223))
151+
152+
### Miscellaneous Tasks
153+
154+
- Release 0.12.2
155+
- Don't color punctuation in output diagnostics ([#222](https://github.com/foundry-rs/compilers/issues/222))
156+
157+
## [0.12.1](https://github.com/foundry-rs/compilers/releases/tag/v0.12.1) - 2024-11-18
158+
159+
### Bug Fixes
160+
161+
- `collect_contract_names` ([#221](https://github.com/foundry-rs/compilers/issues/221))
162+
163+
### Miscellaneous Tasks
164+
165+
- Release 0.12.1
166+
167+
## [0.12.0](https://github.com/foundry-rs/compilers/releases/tag/v0.12.0) - 2024-11-18
168+
169+
### Bug Fixes
170+
171+
- Sanitize `settings.optimizer.details.inliner` ([#216](https://github.com/foundry-rs/compilers/issues/216))
172+
- [tests] Always try installing pinned solc ([#217](https://github.com/foundry-rs/compilers/issues/217))
173+
- Outdated merge build error
174+
- Correctly handle b as pre-release in Vyper version ([#213](https://github.com/foundry-rs/compilers/issues/213))
175+
176+
### Features
177+
178+
- Allow multiple compiler configs ([#170](https://github.com/foundry-rs/compilers/issues/170))
179+
- Replace solang with solar ([#215](https://github.com/foundry-rs/compilers/issues/215))
180+
181+
### Miscellaneous Tasks
182+
183+
- Release 0.12.0
184+
- Remove outdated `ref` patterns ([#218](https://github.com/foundry-rs/compilers/issues/218))
185+
- Inline constants in Settings::sanitize ([#219](https://github.com/foundry-rs/compilers/issues/219))
186+
- Use Version::new over .parse ([#220](https://github.com/foundry-rs/compilers/issues/220))
187+
- Release 0.11.6
188+
189+
## [0.11.5](https://github.com/foundry-rs/compilers/releases/tag/v0.11.5) - 2024-10-14
190+
191+
### Bug Fixes
192+
193+
- Accept partial first sourcemap element ([#209](https://github.com/foundry-rs/compilers/issues/209))
194+
195+
### Miscellaneous Tasks
196+
197+
- Release 0.11.5
198+
- Allow adding vyper sources with `add_raw_source` w/ `.vy` / `.vyi` extension ([#211](https://github.com/foundry-rs/compilers/issues/211))
199+
- [`ci`] Fix deny (add `ZLib` exception) ([#212](https://github.com/foundry-rs/compilers/issues/212))
200+
201+
## [0.11.4](https://github.com/foundry-rs/compilers/releases/tag/v0.11.4) - 2024-10-02
202+
203+
### Features
204+
205+
- Better extra_args handling ([#208](https://github.com/foundry-rs/compilers/issues/208))
206+
207+
### Miscellaneous Tasks
208+
209+
- Release 0.11.4
210+
211+
## [0.11.3](https://github.com/foundry-rs/compilers/releases/tag/v0.11.3) - 2024-09-30
212+
213+
### Miscellaneous Tasks
214+
215+
- Release 0.11.3
216+
- Proper generate legacy asm extra output file ([#207](https://github.com/foundry-rs/compilers/issues/207))
217+
218+
## [0.11.2](https://github.com/foundry-rs/compilers/releases/tag/v0.11.2) - 2024-09-30
219+
220+
### Bug Fixes
221+
222+
- Include `evm.legacyAssembly` output ([#206](https://github.com/foundry-rs/compilers/issues/206))
223+
224+
### Documentation
225+
226+
- Fix typos ([#202](https://github.com/foundry-rs/compilers/issues/202))
227+
228+
### Miscellaneous Tasks
229+
230+
- Release 0.11.2
231+
- Clippy ([#204](https://github.com/foundry-rs/compilers/issues/204))
232+
- Use serde_json::from_str ([#203](https://github.com/foundry-rs/compilers/issues/203))
233+
234+
## [0.11.1](https://github.com/foundry-rs/compilers/releases/tag/v0.11.1) - 2024-09-17
235+
236+
### Bug Fixes
237+
238+
- Ast Node Bindings ([#199](https://github.com/foundry-rs/compilers/issues/199))
239+
- Actualize output selection options ([#196](https://github.com/foundry-rs/compilers/issues/196))
240+
241+
### Features
242+
243+
- Better error messages for incompatible versions ([#200](https://github.com/foundry-rs/compilers/issues/200))
244+
245+
### Miscellaneous Tasks
246+
247+
- Release 0.11.1
248+
- Improve error handling in source map parsing ([#201](https://github.com/foundry-rs/compilers/issues/201))
249+
- Clippy happy ([#195](https://github.com/foundry-rs/compilers/issues/195))
250+
- Fix up the README example ([#194](https://github.com/foundry-rs/compilers/issues/194))
251+
252+
## [0.11.0](https://github.com/foundry-rs/compilers/releases/tag/v0.11.0) - 2024-09-02
253+
254+
### Dependencies
255+
256+
- [deps] Bump alloy ([#193](https://github.com/foundry-rs/compilers/issues/193))
257+
258+
### Miscellaneous Tasks
259+
260+
- Release 0.11.0
261+
8262
## [0.10.3](https://github.com/foundry-rs/compilers/releases/tag/v0.10.3) - 2024-08-26
9263

10264
### Bug Fixes
11265

12266
- [flatten] Update license handling logic ([#184](https://github.com/foundry-rs/compilers/issues/184))
13-
- Unify logic for ignored warnings ([#179](https://github.com/foundry-rs/compilers/issues/179))
14-
- Remove outdated build infos ([#177](https://github.com/foundry-rs/compilers/issues/177))
15-
- Make remappings resolution more deterministic ([#176](https://github.com/foundry-rs/compilers/issues/176))
16267

17268
### Documentation
18269

@@ -23,6 +274,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23274
- Always provide `Default` for `MultiCompiler` ([#188](https://github.com/foundry-rs/compilers/issues/188))
24275
- [vyper] Add experimental codegen to settings ([#186](https://github.com/foundry-rs/compilers/issues/186))
25276
- More user-friendly error when no compiler is available ([#185](https://github.com/foundry-rs/compilers/issues/185))
277+
278+
### Miscellaneous Tasks
279+
280+
- Release 0.10.3
281+
282+
### Other
283+
284+
- Incorrect Default EVM Version for Solidity Compiler 0.4.21-0.5.4 ([#189](https://github.com/foundry-rs/compilers/issues/189))
285+
286+
## [0.10.2](https://github.com/foundry-rs/compilers/releases/tag/v0.10.2) - 2024-08-01
287+
288+
### Bug Fixes
289+
290+
- Unify logic for ignored warnings ([#179](https://github.com/foundry-rs/compilers/issues/179))
291+
- Remove outdated build infos ([#177](https://github.com/foundry-rs/compilers/issues/177))
292+
- Make remappings resolution more deterministic ([#176](https://github.com/foundry-rs/compilers/issues/176))
293+
294+
### Features
295+
26296
- Sanitize EVM version for vyper ([#181](https://github.com/foundry-rs/compilers/issues/181))
27297

28298
### Miscellaneous Tasks
@@ -31,7 +301,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
31301

32302
### Other
33303

34-
- Incorrect Default EVM Version for Solidity Compiler 0.4.21-0.5.4 ([#189](https://github.com/foundry-rs/compilers/issues/189))
35304
- Update README to link docs and update install instructions ([#180](https://github.com/foundry-rs/compilers/issues/180))
36305

37306
## [0.10.1](https://github.com/foundry-rs/compilers/releases/tag/v0.10.1) - 2024-07-26

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ cases should be limited, as much as possible, to using only Foundry Compilers AP
7474
See [How to create a Minimal, Complete, and Verifiable example][mcve].
7575

7676
[mcve]: https://stackoverflow.com/help/mcve
77+
7778
[template]: .github/PULL_REQUEST_TEMPLATE.md
7879

7980
### Triaging a Bug Report
@@ -120,6 +121,11 @@ commit signing. This option allows us to make small changes to your PR to bring
120121
it in line with these standards. It helps us get your PR in faster, and with
121122
less work from you.
122123

124+
### Contributions Related to Spelling and Grammar
125+
126+
At this time, we will not be accepting contributions that only fix spelling or grammatical errors in documentation, code
127+
or elsewhere.
128+
123129
### Cargo Commands
124130

125131
This section lists some commonly needed commands.
@@ -304,5 +310,7 @@ the commit log, or by using an `Author: ` meta-data tag in the commit.
304310
_Adapted from the [Tokio contributing guide]_.
305311

306312
[hiding-a-comment]: https://help.github.com/articles/managing-disruptive-comments/#hiding-a-comment
313+
307314
[documentation test]: https://doc.rust-lang.org/rustdoc/documentation-tests.html
315+
308316
[Tokio contributing guide]: https://github.com/tokio-rs/tokio/blob/master/CONTRIBUTING.md

0 commit comments

Comments
 (0)