Skip to content

Releases: dojoengine/dojo

v1.5.0

30 Apr 19:30
812f17c
Compare
Choose a tag to compare

Important changes

This is the first version of Dojo where katana and torii are moved out of the repository.

  • Support for Cairo 2.10 (Dojo lang is still a built-in compiler plugin, no scarbs.xyz at the moment).
  • The world now keeps track of the ownership counter on resources. It has a new API to verify the ownership of a resource owners_count.
  • Signed integers are now fully supported by the introspection.

New Dojoup binary

From this release and the separation of the tools, dojoup has evolved to have the following behavior:

  1. You can still install the whole dojo toolchain by simply using dojoup install or dojoup. This will install the latest toolchain, with all tools versions that are compatible.
  2. Dojoup supports installing multiple toolchain versions and manages which version is active.
  3. When only katana or torii have changes that are not requiring a dojo update, you can use the component install: dojoup component add torii 1.5.1.

As a note, when you use asdf, the component installation is not supported.

What's Changed

  • chore(devcontainer): update image: v1.4.2 by @tarrencev in #3177
  • fix(torii-indexer): stack overflow when dealing with a high number of… by @Larkooo in #3164
  • feat(katana): add fact registry arg for init by @cwkang1998 in #3158
  • feat(sozo): unreal bindings handle int64 and ControllerConnect by @caillef in #3178
  • feat: bump cairo 2.10 and remove katana and torii dependencies by @glihm in #3169
  • release(prepare): v1.5.0-alpha.0 by @tarrencev in #3180
  • feat(dojoup): new commands + support for components fragmentation by @kariy in #3160
  • fix(ci): decouple release from docker image by @glihm in #3182
  • fix(dojoup): wrong link to versions registry by @kariy in #3187
  • chore: remove katana leftover by @kariy in #3191
  • feat(dojoup): add to PATH thru script by @kariy in #3190
  • release(prepare): v1.5.0-alpha.1 by @tarrencev in #3192
  • fix(dojoup): -h not available on linux by @kariy in #3193
  • release(prepare): v1.5.0-alpha.2 by @tarrencev in #3196
  • refactor(dojo-types): derive ord and partial ord for primitive by @Larkooo in #3198
  • feat(core): manager ownership counter in world contract by @remybar in #3194
  • fix(toolchain): update scarb version to 2.10.1 in .tool-versions by @remybar in #3203
  • Fix(dojo-lang): extract inner type from composite types by @remybar in #3200
  • feat(dojo-lang): improve primitive type management by @remybar in #3202
  • release(prepare): v1.5.0 by @tarrencev in #3204

Full Changelog: v1.4.2...v1.5.0

v1.5.0-alpha.2

24 Apr 23:39
a0ae8ed
Compare
Choose a tag to compare
v1.5.0-alpha.2 Pre-release
Pre-release

What's Changed

  • feat: bump cairo 2.10 and remove katana and torii dependencies by @glihm in #3169
  • release(prepare): v1.5.0-alpha.0 by @tarrencev in #3180
  • feat(dojoup): new commands + support for components fragmentation by @kariy in #3160
  • fix(ci): decouple release from docker image by @glihm in #3182
  • fix(dojoup): wrong link to versions registry by @kariy in #3187
  • chore: remove katana leftover by @kariy in #3191
  • feat(dojoup): add to PATH thru script by @kariy in #3190
  • release(prepare): v1.5.0-alpha.1 by @tarrencev in #3192
  • fix(dojoup): -h not available on linux by @kariy in #3193
  • release(prepare): v1.5.0-alpha.2 by @tarrencev in #3196

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

v1.5.0-alpha.0

22 Apr 22:42
Compare
Choose a tag to compare
v1.5.0-alpha.0 Pre-release
Pre-release

What's Changed

  • chore(devcontainer): update image: v1.4.2 by @tarrencev in #3177
  • fix(torii-indexer): stack overflow when dealing with a high number of… by @Larkooo in #3164
  • feat(katana): add fact registry arg for init by @cwkang1998 in #3158
  • feat(sozo): unreal bindings handle int64 and ControllerConnect by @caillef in #3178
  • feat: bump cairo 2.10 and remove katana and torii dependencies by @glihm in #3169
  • release(prepare): v1.5.0-alpha.0 by @tarrencev in #3180

Full Changelog: v1.4.2...v1.5.0-alpha.0

v1.5.0-alpha.1

23 Apr 20:52
4e9622c
Compare
Choose a tag to compare
v1.5.0-alpha.1 Pre-release
Pre-release

What's Changed

  • chore(devcontainer): update image: v1.4.2 by @tarrencev in #3177
  • fix(torii-indexer): stack overflow when dealing with a high number of… by @Larkooo in #3164
  • feat(katana): add fact registry arg for init by @cwkang1998 in #3158
  • feat(sozo): unreal bindings handle int64 and ControllerConnect by @caillef in #3178

Full Changelog: v1.4.2...v1.5.0-alpha.1

v1.4.2

17 Apr 20:20
b5eabcf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.1...v1.4.2

v1.4.1

15 Apr 14:03
0fab6ed
Compare
Choose a tag to compare

Important changes

  • Torii client is now usable outside of web browser environment which should allow applications using runtime like nodejs for Torii.
  • Torii optimizations and events batching for faster indexing.
  • Torii now verifies if the contracts registered for indexing exist before indexing them.

What's Changed

  • feat(torii-indexer): correctly handle multiple outside calls by @Larkooo in #3138
  • fix: ensure correct usage of cartridge feature in all places by @glihm in #3139
  • opt(torii-indexer): batch requests contract events & block timestamps reqs by @Larkooo in #3130
  • opt(torii-runner): verify contracts deployment in parallel by @Larkooo in #3140
  • feat(torii-cli): dump-config arg by @Larkooo in #3141
  • opt(torii-indexer): reduce get_events reqs & batch transactions by @Larkooo in #3136
  • feat(torii): torii version in proxy response by @Larkooo in #3146
  • feat(torii-libp2p): add dns resolver by @Larkooo in #3148
  • feat(torii-grpc): pagination for tokens & order by & next cursor by @Larkooo in #3143
  • fix(Dockerfile): add curl installation and copy step by @steebchen in #3152
  • ci(release): change preview tag format in release by @steebchen in #3153
  • chore(katana): bump explorer by @steebchen in #3156
  • ci(release): adjust conditions for Docker build and push by @steebchen in #3155
  • chore(torii-sqlite): add entities_historical_idx by @Larkooo in #3151
  • fix(torii-indexer): recursive fetch events by @Larkooo in #3150
  • docs: update dev docs for running tests by @cwkang1998 in #3157
  • feat(torii): deduped concurrent metadata updates by @Larkooo in #3154
  • feat(katana): trace gas usage by @notV4l in #3133
  • refactor(torii-libp2p): non browser environments without webrtc by @Larkooo in #3159
  • Prepare release: v1.4.1 by @tarrencev in #3163

Full Changelog: v1.4.0...v1.4.1

v1.4.0

31 Mar 19:18
22ef710
Compare
Choose a tag to compare

Important changes

  • Sozo: support for Cairo 2.9.4
  • Sozo: new bindgen for unreal engine
  • Torii: fixes on tokens and subscriptions
  • Torii: batching requests for ERC indexing

What's Changed

  • chore(devcontainer): update image: v1.3.1 by @tarrencev in #3123
  • refactor(torii-indexer): erc explicit block tag & block timestamp head by @Larkooo in #3119
  • opt(torii-sqlite): index on tx timestamp & fix gql by @Larkooo in #3126
  • fix(torii-sqlite): entity update for write members by @Larkooo in #3127
  • fix(torii): atomic token registry cache to fix race condition by @Larkooo in #3124
  • chore: bump to cairo 2.9.4 by @glihm in #3128
  • fix(torii-grpc): token balance subscription strict bytes length by @Larkooo in #3129
  • feat(sozo): unreal engine bindgen by @caillef in #3113
  • feat(torii): check all contracts deployment on startup by @Larkooo in #3134
  • opt(torii-indexer): batching requests for ercs by @Larkooo in #3132
  • refactor(torii-indexer): index only pending txns with specific contract by @Larkooo in #3135
  • Prepare release: v1.4.0 by @tarrencev in #3137

Full Changelog: v1.3.1...v1.4.0

v1.3.1

21 Mar 02:59
d2436c7
Compare
Choose a tag to compare

Mostly bug fixes for Katana and Torii.

What's Changed

  • chore(devcontainer): update image: v1.3.0 by @tarrencev in #3109
  • feat(torii-grpc): retrieving and subscribe historical entities by @Larkooo in #3099
  • refactor(torii-grpc): remove historical form subscriptions by @Larkooo in #3110
  • fix(torii-grpc): ensure correct u256 token id deser by @Larkooo in #3111
  • chore: remove cargo-udeps workflow by @kariy in #3112
  • chore(katana): more descriptive error by @kariy in #3114
  • katana: benchmark binary startup time by @kariy in #3115
  • fix(katana): using outdated state when creating the paymaster txs by @kariy in #3117
  • ci: include katana startup benchmark by @kariy in #3118
  • feat(torii-indexer): transaction calls and outside calls by @Larkooo in #3085
  • Prepare release: v1.3.1 by @tarrencev in #3121

Full Changelog: v1.3.0...v1.3.1

v1.3.0

17 Mar 18:12
Compare
Choose a tag to compare

Important changes

  • Controller is now available on Katana for local development. The option --cartridge.paymaster enables it.
  • Torii: various bug fixes on the querying and internal file management.
  • Torii: off chain signed messages are now passes to all Toriis connected in peer-to-peer network. This allow off chain changes to be propagated to several Torii while syncing the same chain.
  • Torii: indices can now be selected more granularly on the different models instead of having an index on all columns for each tables. This should allow more performance tuning based on the game design.
  • Torii: MCP and SEE, a first iteration toward better integration of Dojo codebase and knowledge of your game for AI agents.
  • Katana: support for sovereign rollups initialization.
  • Katana: explorer is being worked on, this explorer will be embedded in Katana to ease development.

What's Changed

  • chore(devcontainer): update image: v1.2.2 by @tarrencev in #3070
  • fix: sozo build --typescript now properly orders contracts.gen.ts by @MartianGreed in #3074
  • feat(katana) : add explorer flag and build folder by @ayushtom in #2997
  • refactor(torii): entity update without being set before by @Larkooo in #3072
  • opt(torii-server): initializing handlers by @Larkooo in #3078
  • fix(signer): resolve keystore path before retrieving private key by @bengineer42 in #3076
  • feat(katana) : add feature flag for controller by @ayushtom in #3080
  • fix(torii-indexer): incoherent block ordering with multiple contracts by @Larkooo in #3081
  • fix(torii-artifacts): ignore hash file from entries by @Larkooo in #3083
  • feat(torii-sql): granular model indices by @Larkooo in #3073
  • feat(torii-libp2p): inter torii messaging for offchain messages by @Larkooo in #3082
  • feat(torii): add SSE support for mcp by @Larkooo in #3075
  • refactor(torii-libp2p): ignore publish for empty peers & own messages by @Larkooo in #3092
  • fix(torii-libp2p): ensure build not in wasm and avoid crash on invalid message by @glihm in #3093
  • feat: add enum const types by @MartianGreed in #3091
  • feat(katana): extract RpcOptions from ServerOptions by @notV4l in #3084
  • feat(torii): historical entity updates by @Larkooo in #3090
  • build(katana): explorer ui build script by @kariy in #3095
  • fix(katana): move rpc merge outside of cfg feature server by @notV4l in #3103
  • feat(katana): add support for sovereign mode for init command by @glihm in #3101
  • refactor(torii-cli): merge derive for torii cli by @Larkooo in #3100
  • feat: add cartridge_addExecuteOutsideTransaction rpc endpoint by @MartianGreed in #3058
  • chore(devcontainer): update image: 92422db by @tarrencev in #3105
  • feat(sozo): auto chunk blocks fetching world data by @okhaimie-dev in #2929
  • Prepare release: v1.3.0 by @tarrencev in #3106
  • feat(torii): add configurable DB cache by @edisontim in #3096
  • fix(katana): ensure the messaging is not panicking when started in sovereign by @glihm in #3107

New Contributors

Full Changelog: v1.2.2...v1.3.0

v1.2.2

26 Feb 19:49
aafa666
Compare
Choose a tag to compare

Important changes

  • L3 appchain messages are now usable with the regular send_message_to_l1 sys call.
  • Torii fixes on ERC1155 and GraphQL union support.
  • Katana updates for provable pipeline with mainnet support.

What's Changed

  • chore(devcontainer): update image: v1.2.1 by @tarrencev in #3048
  • fix(katana): ensure block_cairo_steps_limit is exposed in NodeArgsConfig by @glihm in #3049
  • fix(katana): bump blockifier to widen MsgToL1.to_address to Felt by @glihm in #3050
  • refactor(torii): model reader without call to world by @Larkooo in #3052
  • test(torii): add metadata to erc1155 and update by @Larkooo in #3054
  • sozo: make inspect faster by @notV4l in #3056
  • feat(torii-graphql): add erc1155 to union by @Larkooo in #3057
  • feat(torii-indexer): relation between txns and contracts by @Larkooo in #3055
  • feat(torii-artifacts): refetch image if the image uri changed by @Larkooo in #3053
  • feat(katana): support Starknet mainnet rollup initialization by @kariy in #3064
  • feat(katana): make trie rpc types cloneable by @kariy in #3065
  • fix(torii-graphql): option enums in arrays by @Larkooo in #3068
  • fix: add --recs arg to sozo build by @MartianGreed in #3062
  • feat(torii): erc options for max tasks & artifacts path by @Larkooo in #3061
  • Prepare release: v1.2.2 by @tarrencev in #3069

Full Changelog: v1.2.1...v1.2.2