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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
blockifierandstarknet_in_rustas 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
manifestsroot directory:base, the user can create a new file with the same name and path under theoverlaysfolder. Those files are meant to be edited by developers, to override some values.sozo migrateis issued:<CHAIN_ID>.tomland<CHAIN_ID>.json.An other folder named
abiscontains 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 selforself. Only the arguments that your system needs.Selective world injection in systems, you can now inject the
worldonly where needed. Theworld: IWorldDispatchermust be the first argument and with this exact casing:Enhanced
sozo authCommand. 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
revokeandgrantare 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 cleancommand for tidying up your project space and ensure old artifacts or manifests are removed effectively.Torii: Advanced Event and State Management
actions.jsoncontract, where a new modelMoveddojo/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