Skip to content

sozo/v1.8.5

Choose a tag to compare

@github-actions github-actions released this 19 Dec 18:06
· 12 commits to main since this release
c849584

Important changes

This release includes a change to manipulate the ABI format in the manifest.

The migration (`sozo migrate) outputs a manifest file, which is a JSON file that contains information about deployed contracts and resources.

By default, the manifest will contain all the ABIs merged in only one entry "abis", where Sozo deduplicates the ABIs and makes the manifest easier to read/track diffs (this is called the all_in_one format). There is a second per contract (per_contract format), where the ABIs are separated by contract.

The per_contract format is currently required in one specific case: if you are using dojo.js and if you have the same function name in multiple contracts.

You can toggle the abi format mode by using --manifest-abi-format all_in_one/per_contract directly from the command line when running the sozo migrate command.

sozo migrate --manifest-abi-format per_contract

You can also set the default abi format mode in your dojo_<profile>.toml file by setting the manifest_abi_format key to all_in_one or per_contract.

[migration]
manifest_abi_format = "per_contract"

What's Changed

  • feat(sozo): add parameter to control abi format in manifest by @glihm in #3387
  • release-sozo(prepare): v1.8.5 by @tarrencev in #3388

Full Changelog: sozo/v1.8.4...sozo/v1.8.5