v0.22.0
What's Changed
- feat: add vm-backtrace flag for local node by @hal3e in #550
- feat: script for checking docs validity by @Salka1988 in #532
- docs: add build-test-projects and nocapture description by @hal3e in #554
- fix: Re-enable tests blocked by stdlib's gtf integration by @digorithm in #557
- Use flat abigen only and drop support for the old JSON ABI by @digorithm in #559
- Bump versions to 0.22.0 by @digorithm in #561
Full Changelog: v0.21.0...v0.22.0
Breaking changes
This release drops the support for the old JSON ABI format. You may or may not have noticed that forc
had been outputting two JSON ABI files: the regular one and a new one, with a different format, named <project_name>-flat-abi.json
.
More recently, forc
started outputting only the <project_name>-flat-abi.json
. If the version of forc
that you're using is outputting only this one, make sure to pass the <project_name>-flat-abi.json
to the SDK's abigen!
macro.
If the version of forc
that you're using is outputting both files, from now on, with this SDK release, make sure to pass only the <project_name>-flat-abi.json
.
The next forc
release will likely turn <project_name>-flat-abi.json
back into its original name <project_name>-abi.json
, but now containing the new, flat-based JSON ABI. So, suppose you're using whatever version came after the date of this writing and release. In that case, you likely won't have to do anything: forc
will output the JSON ABI with the same name as before, containing the new JSON ABI, and the SDK will be parsing it using the new parser.