Releases: mario-eth/soldeer
v0.2.4
v0.2.3
v0.2.2
What's Changed
- bugfix: If the [remappings] field was not found in the soldeer.toml orr the foundry.toml file did not contain the field
sdependencies
the cli will exit with error but the dependency would install without remappings created. Added a more descriptive error if that happens
v0.2.1
v0.2.0
What's Changed
- crawler improvement and new dependencies by @mario-eth in #8
- added create all dependencies py by @mario-eth in #9
- removed a line by @mario-eth in #10
- excluding more files from Cargo by @mario-eth in #11
- V 0.1.4 by @mario-eth in #13
- Release/v0.1.5 by @mario-eth in #14
- updated dependencies by @mario-eth in #16
- Minor fixes and performance improvements by @makemake-kbo in #15
- solving the PR issues as it was done on an old version by @mario-eth in #18
- implemented clap for a better command line reader by @mario-eth in #20
- Issue #17 by @mario-eth in #21
- Feature/lock system by @mario-eth in #22
- Feature/dependency version in path by @mario-eth in #24
- version 0.2.0 with the push to central repository feature by @mario-eth in #25
- added fixed version for tests by @mario-eth in #26
New Contributors
- @makemake-kbo made their first contribution in #15
Full Changelog: v0.1.5...v0.2.0
v0.1.5
In this version, you can skip the creation of soldeer.toml
if you want to use only foundry.toml
.
Also the contents of the soldeer.toml
were changed. Please read the README.md.
Also, i solved the soldeer install <dependency_name>~<version> <url>
which can install any dependency from any url. The dependency must be zipped.
v0.1.4
v0.1.3
v0.1.2
v0.1.1
0.1.1
Description
Breaking changes
- The
remappings
tag within thesoldeer.toml
has been renamed tofoundry
and a new option is availablefoundry-config
. This option describe if you want to define the dependencies within thefoundry.toml
or not. - The dependencies have been renamed with the
@
prefix in front of them. (Previouslyopenzeppelin~....
=> now@openzeppelin~....
- The old
[dependencies]
tag has been renamed[sdependencies]
to avoid any future collision with any possible foundry config.
In this release, I've added support to foundry.toml
.
To use Soldeer
with foundry, you just have to define the sdependencies
tag within foundry.toml
alongside with the dependencies that you want to use and within the soldeer.toml
you have to enable the foundry config file overwrite.
Example of soldeer.toml
to work with foundry:
[foundry]
enabled = true
foundry-config = true
Example foundry.toml
[sdependencies]
"@openzeppelin~v4.9.2" = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.9.2.zip"
"@openzeppelin~v1.0.5" = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v1.0.5.zip"
"@solady~v0.0.41" = "https://github.com/Vectorized/solady/archive/refs/tags/v0.0.41.zip"
"@uniswap-v3-periphery~v1.0.0-beta.1" = "https://github.com/Uniswap/v3-periphery/archive/refs/tags/v1.0.0-beta.1.zip"
By adding this tag to your foundry file, you will receive an warning when using forge, until this tag is officially recognized as a valid foundry.toml
config. Keep an eye on https://github.com/foundry-rs/foundry/tree/master/config.