Dojo v0.6.0 #1703
glihm
announced in
Announcements
Dojo v0.6.0
#1703
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dojo Game Engine v0.6.0 Release Notes
Welcome to the next update of the Dojo Game Engine, version 0.6.0. This release brings a suite of enhancements and new features designed to improve performance, extend functionality, and streamline development workflows. We expect this release to be available by March 29 2024.
Let's dive into what's new:
Katana: Enhanced Execution Engine
blockifier
andstarknet_in_rust
as execution engines, significantly expanding our capabilities in benchmarking and performance optimization through cairo-native.0.6.0
.torii
,saya
).Sozo: Streamlined World Building
Revamped Manifest Format. Sozo introduces a new, comprehensive manifest format in
toml
, organized across different stages of development. These manifests are designed for clarity and should be version-controlled in .git to track changes in your world efficiently.Here are the different manifests folders, under the
manifests
root directory:base
, the user can create a new file with the same name and path under theoverlays
folder. Those files are meant to be edited by developers, to override some values.sozo migrate
is issued:<CHAIN_ID>.toml
and<CHAIN_ID>.json
.An other folder named
abis
contains all the ABIs extracted from the contracts for easy access.Simplified Contract Syntax. The new syntax for dojo contracts removes unnecessary boilerplate, focusing on the essentials.
No more
ref self
orself
. Only the arguments that your system needs.Selective world injection in systems, you can now inject the
world
only where needed. Theworld: IWorldDispatcher
must be the first argument and with this exact casing:Enhanced
sozo auth
Command. Authorizations are usually useful to setup a world and configure it. Sozo now supports multicall for those operations. Also, a new syntax aims at providing a more expressive way to configure the world:Both
revoke
andgrant
are now supported.Binding generation for Typescript and Unity. To ease the front-end integration of dojo with
dojo.js
, sozo can now outputs bindings generated from the contracts ABI for typescript and unity.New
sozo clean
command for tidying up your project space and ensure old artifacts or manifests are removed effectively.Torii: Advanced Event and State Management
actions.json
contract, where a new modelMoved
dojo/examples/spawn-and-move/src/actions.cairo
Lines 24 to 30 in ba1b250
dojo/examples/spawn-and-move/src/actions.cairo
Line 87 in ba1b250
Audit 🛡️
This version has undergone a security audit by Nethermind, ensuring the robustness and security of the core contracts. Read the full report.
Beta Was this translation helpful? Give feedback.
All reactions