v0.5.0
abi-to-sol v0.5.0
abi-to-sol now accepts custom errors in input ABIs and outputs corresponding custom Solidity errors in the interfaces it generates.
Solidity added custom errors in v0.8.4 (see their blog post about it!) To use ABIs with custom errors, abi-to-sol now requires the selected output version range to include only versions greater than or equal to this version. Note that abi-to-sol's default version of >=0.7.0 <0.9.0
does not support this new feature; you'll need to pass -V
explicitly or select ^0.8.4
in the web UI. (Please open a discussion or an issue if you feel the behavior here should be more permissive and not throw an exception!)
This release also includes a change to the Web UI, to use react-simple-code-editor instead of react-ace, hopefully improving the experience on mobile.
Also of note: this project now keeps a full CHANGELOG.
Thanks for reading!
Release changes
New features
Fixes
- Properly error when generating structs on unsupported Solidity versions (#32 by @gnidan)
- Fix version-feature checks to succeed only when entire range has feature (#35 by @gnidan)