Skip to content

Releases: dojoengine/dojo

v1.1.2

29 Jan 17:59
4f3373e
Compare
Choose a tag to compare

Important changes

Mostly fixing the docker image issue.

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1

28 Jan 19:01
dba10f2
Compare
Choose a tag to compare

Important changes

Removes the use of unsupported syscall to get class hash. Will be reintroduced when starknet 0.13.4 will be out.

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0

28 Jan 05:29
Compare
Choose a tag to compare

Important changes

  1. Cairo 2.9.2 is now supported for smart contract development and used by sozo.
  2. Torii has several optimizations to parallelize the processing of events, which should result in faster syncing to reach the head of the chain.
  3. The world.dns has been fixed to return the actual class hash of the contract.
  4. A new macro bytearray_hash! has been added, to reduce hash computation overhead and usage of constants when namespaces/contract names are fixed.
  5. A new world.read_schema API is available to more efficiently read multiple members of a model from the storage, more details in the doc here. write_schema will come in a future release. Schemas are more efficient if you need to read more than one member.
  6. Sozo now supports arrays in calldata with a new prefix arr for dynamic arrays and farr for fixed-size arrays. Those prefix will work for any type that is one felt long when serialized. For u256, you will need to use u256arr and u256farr. Arrays of custom structure is not yet supported.
# No need to prefix the length.
sozo execute actions system1 arr:1,2,3,4

# If you have a fixed array, use the `farr` instead.
sozo execute actions system2 farr:88,99
  1. Katana adjustments to prepare for appchains release.

What's Changed

  • chore(devcontainer): update image: v1.0.12 by @tarrencev in #2916
  • feat: bump to cairo 2.9.2 by @glihm in #2879
  • chore(devcontainer): update image: b37b325 by @tarrencev in #2924
  • feat(sozo): support arrays in calldata arguments by @remybar in #2917
  • fix(sozo): return error if inspect doesn't find resource by @glihm in #2920
  • feat(katana): settlement layer initialization flow improvement by @kariy in #2926
  • feat(katana): remove support for initializing custom settlement chain by @kariy in #2927
  • feat(sozo-bindgen): add i8,i16,i32,i64 support by @MartianGreed in #2934
  • chore: fix some typos in comment by @linchizhen in #2922
  • fix(dojo-lang): ensure the dns returns the actual ClassHash. by @glihm in #2935
  • fix(torii-sqlite): executor broker messages & ipfs logging by @Larkooo in #2923
  • fix(sozo): ensure correct event fetching + namespace whitelisting + guest mode by @glihm in #2937
  • fix(katana-cli): use messaging in config file by @broody in #2941
  • docs(katana): update monitoring example by @kariy in #2942
  • feat(torii-indexer): task manager & parallelize erc transfers by @Larkooo in #2913
  • fix(dojo-lang): verify constructor args to follow dojo rules by @glihm in #2944
  • Merge katana/chainspec by @kariy in #2947
  • feat(dojo-core): add support for making multiple model pointers by @bengineer42 in #2940
  • feat(dojo-lang): add bytearray_hash macro by @bengineer42 in #2946
  • refactor(katana): use the exact same UDC class as Starknet by @kariy in #2949
  • feat(katana): simplify genesis class by @kariy in #2948
  • chore: rm saya by @kariy in #2951
  • feat(katana): start block timer only if there txs by @kariy in #2950
  • feat(dojo-core): add support to read/write the same member from multiple models by @bengineer42 in #2939
  • feat(dojo-core): add read schema support by @bengineer42 in #2932
  • feat(blockifier): use same versioned constant as snos by @kariy in #2956
  • Prepare release: v1.1.0 by @tarrencev in #2958

New Contributors

Full Changelog: v1.0.12...v1.1.0

v1.0.12

16 Jan 15:29
5f74aae
Compare
Choose a tag to compare

Important change

  • sozo execute now supports multi call, and breaking change ⚠️ the argument format has slightly changed. Now it's:
sozo execute <CONTRACT> <ENTRYPOINT> [calldata_1 calldata_2 calldata_3]

No more commas. Doc has been updated: https://book.dojoengine.org/toolchain/sozo/world-commands/execute#sozo-execute

  • Torii optimization by parallelizing the processing of events.
  • Sozo will now raise an error if the keys of a model/event are not placed before any other non-key fields.

What's Changed

  • chore(devcontainer): update image: v1.0.11 by @tarrencev in #2910
  • refactor(torii): max conns to tasks & dont use sqlite acquire by @Larkooo in #2911
  • ci(docker): add missing ca-certificates and SSL certs copy by @steebchen in #2914
  • fix(dojo-lang): remove restriction for u256 as keys in models by @bengineer42 in #2890
  • feat(sozo): support multicall for execute command by @remybar in #2897
  • fix(dojo-lang): raise an error on value before key in model by @bengineer42 in #2891
  • feat(torii-indexer): parallelize models & event messages by @Larkooo in #2912
  • Prepare release: v1.0.12 by @tarrencev in #2915

Full Changelog: v1.0.11...v1.0.12

v1.0.11

15 Jan 01:34
2c77db4
Compare
Choose a tag to compare

Important changes

  • Torii fixes for GraphQL queries with filter on nested values.
  • Dojo.js binding generation now properly expands for the user defined enumeration, even if all the variants are using the unit type.
  • Katana fixes related to persistent L3.
  • Katana now enables again the dev api (mostly for the predeployedAccounts) when --dev is used.
  • Sozo should now be less strict on the tags used to compile dojo, by using a SemVer comparison instead of string tag matching.

What's Changed

  • chore(devcontainer): update image: v1.0.10 by @tarrencev in #2889
  • chore: fix wrong keywords in comment by @dashangcun in #2885
  • fix(katana): genesis deprecated declared classes in state updates by @kariy in #2893
  • chore(katana): use workspace dep by @kariy in #2895
  • feat(katana): special block hash registry contract by @kariy in #2894
  • fix(katana-cli): ensure compilation without server feature by @glihm in #2896
  • fix: enable dev api automatically with dev flag by @glihm in #2901
  • feat(sozo): split hash command into 'hash compute' and 'hash find' by @remybar in #2892
  • feat: change enum to CairoCustomEnum by @MartianGreed in #2907
  • refactor: log targets not snakecase by @Larkooo in #2904
  • fix(katana): separate deprecated declared class by @kariy in #2903
  • feat(torii-graphql): filter on nested values by @Larkooo in #2905
  • feat(sozo): apply semver to tag versions by @glihm in #2909
  • Prepare release: v1.0.11 by @tarrencev in #2908

New Contributors

Full Changelog: v1.0.10...v1.0.11

v1.0.10

10 Jan 15:52
80ac6d1
Compare
Choose a tag to compare

Important changes

  1. Walnut update to support the fork of Scarb of Dojo until proc macros are fully supported.
  2. Torii now has a runner like Katana has to setup tests, re-use in applications.
  3. Torii StoreUpdateMember processor has been updated, which allow member of models to be updated correctly.
  4. Torii bug fixes on graphQL and gRPC.
  5. Katana fixes on starknet messaging and trie computation for SNOS.
  6. Sozo bindgen update for dojo.js SDK.

What's Changed

New Contributors

Full Changelog: v1.0.9...v1.0.10

v1.0.9

23 Dec 21:24
04b5f02
Compare
Choose a tag to compare

Important changes

  • Torii now supports subscriptions for token balances.
  • Queries in gRPC now supports In and NotIn comparison operators.
  • Katana's default class hash for pre-deployed ERC20 has been updated.
  • Torii bug fixes.

What's Changed

New Contributors

Full Changelog: v1.0.8...v1.0.9

v1.0.8

16 Dec 23:11
3f9c309
Compare
Choose a tag to compare

Important changes

  • Torii: now the Query type for gRPC has a new field entity_updated_after, which is a timestamp used to (inclusively) retrieve entities that has been updated after the provided unix timestamp (in seconds).

What's Changed

Full Changelog: v1.0.7...v1.0.8

v1.0.7

13 Dec 11:30
180c6d2
Compare
Choose a tag to compare

What's Changed

  • chore(devcontainer): update image: v1.0.6 by @tarrencev in #2802
  • fix(torii-grpc-server): adjust regex to support variable len correctly by @glihm in #2803
  • feat(grpc): add entity models for returned models by @Larkooo in #2805
  • Prepare release: v1.0.7 by @tarrencev in #2804

Full Changelog: v1.0.6...v1.0.7

v1.0.6

12 Dec 17:40
ba8ff05
Compare
Choose a tag to compare

What's Changed

  • fix(torii-sql): sql playground for slot by @Larkooo in #2779
  • chore(devcontainer): update image: v1.0.5 by @tarrencev in #2775
  • feat(torii-grpc): ordering and pagination by @Larkooo in #2765
  • refactor(torii-libp2p): always use is_valid_signature by @Larkooo in #2776
  • fix(torii-grpc): retrieve balances by @Larkooo in #2777
  • fix(sozo): remove skipped contracts from manifest by @glihm in #2787
  • feat(sozo): provider health check by @847850277 in #2745
  • feat(torii-server): add MCP service to torii ✨ by @Larkooo in #2778
  • chore(katana): move syncing specific component to /sync dir by @kariy in #2789
  • feat(katana-rpc): rpc server builder by @kariy in #2788
  • refactor(katana-node): flatten rpc server building logic by @kariy in #2792
  • fix(sozo-bindgen): unity less strict on composites by @Larkooo in #2791
  • refactor(torii-server): mcp and sql cleanup with instructions static file by @Larkooo in #2790
  • feat(torii): add world block and instrument queries by @tarrencev in #2796
  • fix: keys composite clause by @Larkooo in #2798
  • fix(torii-grpc): address sql precedence in composite by @Larkooo in #2800
  • Prepare release: v1.0.6 by @tarrencev in #2801

Full Changelog: v1.0.5...v1.0.6