This release enables building a single file for Foundry projects:
- Running `crytic-compile contracts/file.sol` will automatically resolve the necessary imports and compile only the relevant files. Note, this requires providing the [solc version in the project's foundry.toml](https://book.getfoundry.sh/reference/config/solidity-compiler#solc_version).
- Tests and scripts files are no longer compiled by default. This will impact echidna and medusa users. To include them, use `--foundry-compile-all`, or run the tool on the target file instead of the project directory.
Additionally, this releases improves the support for vyper, and adds three new etherscan-like platform (base, gnosis, and zkevm).
What's Changed
- Improve foundry compilation by smonicas in https://github.com/crytic/crytic-compile/pull/488
- Add support for base, gnosis and zkevm chain by vikramarun in https://github.com/crytic/crytic-compile/pull/487
- Add vyper 0.3.7 standard json support by 0xalpharush in https://github.com/crytic/crytic-compile/pull/492
- Add CompilationUnit.implementation_address for proxy contracts by SheldonHolmgren in https://github.com/crytic/crytic-compile/pull/452
- Tests for file ordering by samalws-tob in https://github.com/crytic/crytic-compile/pull/499
- Deprecate support for kovan and ropsten networks https://github.com/crytic/crytic-compile/pull/502
CI
- Bump sigstore/gh-action-sigstore-python from 2.0.1 to 2.1.0 by dependabot in https://github.com/crytic/crytic-compile/pull/498
- Bump sigstore/gh-action-sigstore-python from 2.0.0 to 2.0.1 by dependabot in https://github.com/crytic/crytic-compile/pull/490
- Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 by dependabot in https://github.com/crytic/crytic-compile/pull/489
- Bump actions/checkout from 3 to 4 by dependabot in https://github.com/crytic/crytic-compile/pull/497
- Bump cachix/install-nix-action from 20 to 23 by dependabot in https://github.com/crytic/crytic-compile/pull/496
- Add more delay on the etherscan CI test by montyly in https://github.com/crytic/crytic-compile/pull/500
New Contributors
* vikramarun made their first contribution in https://github.com/crytic/crytic-compile/pull/487
* SheldonHolmgren made their first contribution in https://github.com/crytic/crytic-compile/pull/452
**Full Changelog**: https://github.com/crytic/crytic-compile/compare/0.3.4...0.3.5