Skip to content

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 14:34
· 55 commits to main since this release

Important changes

Dojo

Proc macros are now precompiled and reexported. Your Scarb.toml manifest should import dojo as following:

[dependencies]
dojo = "1.7.1"

[dev-dependencies]
cairo_test = "2.12.2"
dojo_cairo_test = "1.7.1"

[tool.scarb]
allow-prebuilt-plugins = ["dojo_cairo_macros"]

The allow-prebuilt-plugins will use the pre-built proc macros instead of re-compiling them locally, which remove the need of maintaining a local rust installation.

You also don't have to care about the versions of dojo_cairo_macros, it will be handled automatically.

Additionally to that, the Scarb warning about the name not matching has been removed by renaming the rust crate to dojo_cairo_macros.

Sozo

Sozo now limits by default to 10 calls the number of calls in a multi call to avoid timeouts while deploying your world.
You can always adapt this value with the --max-calls option, since it depends on the size of your resources name.

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.7.1