Skip to content

Releases: mario-eth/soldeer

v0.1.5

14 Oct 09:48
Compare
Choose a tag to compare

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

08 Oct 11:39
Compare
Choose a tag to compare

In this release, the old all_depenencies.toml file has been moved to the dependency repository for easier update of the dependencies without releasing a new release.

v0.1.3

01 Oct 06:50
Compare
Choose a tag to compare

This version contains:

  • a better error handling for some of the cases
  • a better writing into foundry/soldeer toml
  • improved dependencies
  • improved readme

Check out the dependency list here

v0.1.2

16 Sep 08:19
Compare
Choose a tag to compare

Fixed some small bugs and changed the soldeer icon.

v0.1.1

08 Aug 11:53
Compare
Choose a tag to compare

0.1.1

Description

Breaking changes

  • The remappings tag within the soldeer.toml has been renamed to foundry and a new option is available foundry-config. This option describe if you want to define the dependencies within the foundry.toml or not.
  • The dependencies have been renamed with the @ prefix in front of them. (Previously openzeppelin~.... => 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.