Skip to content

Releases: dojoengine/dojo

v1.8.0

31 Oct 22:04
843d276

Choose a tag to compare

Important changes

  • Cairo 2.13 and Starknet Foundry 0.51 are now used for the world and resources contracts to benefit Cairo compiler and scarb optimizations.
  • The world has a new constructor to simplify its deployment. Nothing else has changed in the world's API, so it is safe to upgrade existing worlds.
  • New manifest format with an abis key that regroup deduplicated ABI entries for all the contracts in the project. The members are now correctly set for events and models, which eases the parsing and ABI matching.

What's Changed

  • feat(dojo-world): change manifest format including members for events and models by @glihm in #3370
  • chore: bump to cairo 2.13 and update world constructor by @glihm in #3372
  • release-macros(prepare): v1.8.0 by @tarrencev in #3373
  • release(prepare): v1.8.0 by @tarrencev in #3374

Full Changelog: v1.7.2...v1.8.0

v1.7.2

28 Oct 14:51
d6e97ff

Choose a tag to compare

Important changes

  • Sozo will now use ACCEPTED_ON_L2 as the default transaction finality status to ensure more robust migrations.
  • Sozo now correctly handles all type of gas settings to setup fee configuration for transactions.
  • Update support for walnut debugger.
  • Starknet Foundry 0.50+ is now used by dojo_snf_test.

What's Changed

Full Changelog: v1.7.1...v1.7.2

v1.7.1

25 Sep 14:34

Choose a tag to compare

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

v1.7.0

22 Sep 18:39

Choose a tag to compare

Important changes

This release stabilizes the support for:

  • Stakrnet 0.14.
  • RPC 0.9.
  • Cairo proc macros for Dojo (instead of built-in compiler).

On the Sozo side:

  • New CLI with better output for CI.
  • Several level of verbosity with -v, -vv and -vvv depending on your needs.
  • Sozo now uses stable scarb under the hood (2.12.2). You can still use sozo build and sozo test for extended functionalities.

For the Dojo core contracts:

  • New DojoStore trait to avoid uninitialized storage access.
  • Gas optimizations for world's operation.
  • Please consult the migration guide in the book for more information.

What's Changed

New Contributors

Read more

v1.7.0-alpha.4

16 Sep 05:04
7b78108

Choose a tag to compare

v1.7.0-alpha.4 Pre-release
Pre-release

Important changes

This release is using a new stable version of Scarb: 2.12.2. Please update your .tools-version to use this stable version of Scarb that comes with several fixes required for bigger projects to compile.

At the Dojo level:

  1. Issues with enums used a keys have been solved.
  2. The layout equal to 0 is now fixed.
  3. DojoStore and DojoLegacyStore had some edge cases fixed in this PR to ensure backward compatibility of models.

What's Changed

Full Changelog: v1.7.0-alpha.3...v1.7.0-alpha.4

v1.7.0-alpha.3

10 Sep 00:02
98231fb

Choose a tag to compare

v1.7.0-alpha.3 Pre-release
Pre-release

Important fixes

this release comes with two major fixes:

  1. The dojo macro had an issue when serializing enumerations as keys in models. This bug sneaked in when we merge the proc macros upgrade. You can now use enums as keys in model in this version as expected.
  2. The sozo build command was failing on some workspaces in which only libraries were found. Now sozo correctly parses the different packages in the workspace to extract the default name when building. If you find yourself stuck in such place in the future, remember that you can always build with scarb now. Sozo build only adds the statistics and binding generation layers.
  3. Typescript v2 binding generation has been removed since unused.

What's Changed

New Contributors

Full Changelog: v1.7.0-alpha.2...v1.7.0-alpha.3

v1.7.0-alpha.2

05 Sep 19:20

Choose a tag to compare

v1.7.0-alpha.2 Pre-release
Pre-release

Important changes

This version comes with a dev version of Scarb, due to a bug fixed on the Scarb side. Please use dev-2025-09-05 version of Scarb at the moment. Once the stable release (expected to be 2.12.2) of Scarb including the fixes is out, you can transition to it.

Notable changes:

  1. Workspaces are now supported, Sozo can be used to build/test/migrate a dojo project from the workspace (the only condition is having the config files dojo_.toml at the workspace level). It is still valid to go into a package and use build/test/migrate too.
  2. Dojo is now correctly listed by the Cairo Language Server (provided by Scarb). You don't need to install anything extra, you may however want to enable those two settings. You shouldn't have anymore red lines, the navigation on definitions and type hints work correctly.
image image
  1. Migration handles correctly the new DECLARE transaction delay/nonce policies, which stabilizes the migration when several classes have to be migrated. Some nonce issues still happen in some rare cases with some INVOKE preceding the DECLARE. We are still monitoring that, don't hesitate to restart the migration if this happens.
  2. A new option --no-scarb-warnings can now be used for sozo build/test to remove warning and focus on errors.
  3. Coloring from Scarb is now correctly piped to Sozo, which ensures a way better devX for checking tests that pass or fails and compilation warnings/error.
  4. The dojo macros will now emit a compilation error if the name of a model is longer than 26 chars. This is due to the fact that Dojo adds a Value suffix to the model name and the resulting string must fit into a felt252.
  5. Introspect issues with Option should be fixed (at least for some reported edge cases). If some issues persist even with this version, please reach out opening an issue or on the discord channels.

Troubleshooting:

If the asdf install scarb dev-2025-09-05 doesn't work, you may have an outdated version of asdf. Ensure you are using asdf 0.18.0 at least. You may want to remove/add the plugin too.

What's Changed

New Contributors

Full Changelog: v1.7.0-alpha.1...v1.7.0-alpha.2

v1.7.0-alpha.1

15 Aug 17:44
67aeb9f

Choose a tag to compare

v1.7.0-alpha.1 Pre-release
Pre-release

Update the supported RPC string to reflect the actual RPC version that Sozo supports.

Full Changelog: v1.7.0-alpha.0...v1.7.0-alpha.1

v1.7.0-alpha.0

13 Aug 17:11
4cedf3f

Choose a tag to compare

v1.7.0-alpha.0 Pre-release
Pre-release

What's Changed

  • chore: add Katana 1.6.1 by @kariy in #3277
  • chore: add Katana 1.6.2 by @kariy in #3280
  • feat: implement proc macro + starknet foundry + cairo optimizations by @glihm in #3266
  • chore(devcontainer): update image: v1.6.0-alpha.2 by @tarrencev in #3278
  • chore: add katana@1.6.3 by @kariy in #3283
  • fix(utils/invoker): add split for big multicalls by @glihm in #3284
  • chore(devcontainer): update image: v1.6.0 by @tarrencev in #3282
  • chore: fix some typos in comment by @pingshuijie in #3286
  • refactor(sozo): improve error message on loading non-existent World state by @remybar in #3297
  • feat(starknet): bump JSON-RPC spec to v0.9.0-rc.2 by @kariy in #3293
  • feat(core): split Introspect and DojoStore derive attributes by @remybar in #3294
  • fix(core): FixedArray Ty/Layout improvements by @remybar in #3296
  • release(prepare): v1.7.0-alpha.0 by @tarrencev in #3299
  • ci(release): remove references of language server by @kariy in #3300

New Contributors

Full Changelog: v1.6.0-alpha.2...v1.7.0-alpha.0

v1.6.2

26 Jul 06:19

Choose a tag to compare

Prepare Voyager verification integration.

What's Changed

New Contributors