Releases: dojoengine/dojo
Releases · dojoengine/dojo
v1.1.2
Important changes
Mostly fixing the docker image issue.
What's Changed
- feat(katana): rollup and dev chain spec by @kariy in #2957
- chore(devcontainer): update image: v1.1.1 by @tarrencev in #2965
- fix: use bookworm-slim to check execution by @glihm in #2964
- feat(dojo-core): make the schema upgrade less strict by @remybar in #2925
- fix(torii-sqlite): deleting entity by @Larkooo in #2961
- ci(docker): sync dojo base image with build by @steebchen in #2966
- Prepare release: v1.1.2 by @tarrencev in #2970
Full Changelog: v1.1.1...v1.1.2
v1.1.1
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
- fix(dojo-core): remove unsupported syscall by @glihm in #2962
- chore(devcontainer): update image: v1.1.0 by @tarrencev in #2960
- Prepare release: v1.1.1 by @tarrencev in #2963
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Important changes
- Cairo
2.9.2
is now supported for smart contract development and used bysozo
. - Torii has several optimizations to parallelize the processing of events, which should result in faster syncing to reach the head of the chain.
- The
world.dns
has been fixed to return the actual class hash of the contract. - A new macro
bytearray_hash!
has been added, to reduce hash computation overhead and usage of constants when namespaces/contract names are fixed. - 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. - Sozo now supports arrays in calldata with a new prefix
arr
for dynamic arrays andfarr
for fixed-size arrays. Those prefix will work for any type that is one felt long when serialized. Foru256
, you will need to useu256arr
andu256farr
. 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
- 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
- @linchizhen made their first contribution in #2922
Full Changelog: v1.0.12...v1.1.0
v1.0.12
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
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
- @dashangcun made their first contribution in #2885
Full Changelog: v1.0.10...v1.0.11
v1.0.10
Important changes
- Walnut update to support the fork of Scarb of Dojo until proc macros are fully supported.
- Torii now has a runner like Katana has to setup tests, re-use in applications.
- Torii
StoreUpdateMember
processor has been updated, which allow member of models to be updated correctly. - Torii bug fixes on graphQL and gRPC.
- Katana fixes on starknet messaging and trie computation for SNOS.
- Sozo bindgen update for
dojo.js
SDK.
What's Changed
- chore(devcontainer): update image: v1.0.9 by @tarrencev in #2842
- feat: split calldata and provider call by @MartianGreed in #2852
- feat: add events in typescript bindgen + sort functions by name by @MartianGreed in #2853
- Merge
katana/dev
by @kariy in #2854 - chore(katana): hide init subcommand for now by @kariy in #2857
- refactor(katana): make gas oracle a critical task by @kariy in #2859
- fix(torii-core): correct parallelized task hash by @Larkooo in #2860
- fix(torii-core): remove old check for StoreUpdateMember processor by @glihm in #2858
- docs: readme by @Olexandr88 in #2861
- ci: add constraints on jobs to start based on linters by @glihm in #2866
- feat(sozo): introduce walnut verify command + execute "--walnut" flag enabled by @mobycrypt in #2734
- fix(katana-rpc-types): proofs types serde by @kariy in #2872
- feat(katana): classes trie hash by @kariy in #2876
- refactor(torii): fragment into different modules by @Larkooo in #2856
- chore: fix some typos in comment by @longxiangqiao in #2880
- refactor(libp2p): typed data crate + client server feature set by @Larkooo in #2877
- fix(torii-graphql): nullable array is empty string by @Larkooo in #2882
- refactor(torii): torii-runner by @Larkooo in #2881
- refactor(katana-messaging): remove message execution and fix hashing by @glihm in #2884
- Prepare release: v1.0.10 by @tarrencev in #2886
New Contributors
- @mobycrypt made their first contribution in #2734
- @longxiangqiao made their first contribution in #2880
Full Changelog: v1.0.9...v1.0.10
v1.0.9
Important changes
- Torii now supports subscriptions for token balances.
- Queries in gRPC now supports
In
andNotIn
comparison operators. - Katana's default class hash for pre-deployed ERC20 has been updated.
- Torii bug fixes.
What's Changed
- chore(devcontainer): update image: v1.0.8 by @tarrencev in #2815
- feat(torii-grpc): IN operator for comparison by @Larkooo in #2812
- Feat/bindgen improve types by @MartianGreed in #2816
- feat(katana): dedup fork request by @cwkang1998 in #2001
- feat(torii-core): add indices to speed up queries by @Larkooo in #2824
- Fix/bindgen types improvements by @MartianGreed in #2832
- fix(katana): update default erc20 class hash by @kariy in #2836
- refactor(dojo): change usage of trace! to avoid path prefix by @847850277 in #2830
- feat(torii-grpc): start rework to use 1 single query by @Larkooo in #2817
- feat(torii-grpc): add list to member value enum for usage in sdk by @Larkooo in #2828
- refactor(torii-gql): get rid of world indexing error by @Larkooo in #2827
- feat(torii): token balances subscription by @Larkooo in #2831
- refactor(torii-grpc): chunk schema joins to avoid sqlite join limit by @Larkooo in #2839
- fix(torii-core): client negative i128 conversion by @Larkooo in #2840
- Prepare release: v1.0.9 by @tarrencev in #2841
New Contributors
- @cwkang1998 made their first contribution in #2001
Full Changelog: v1.0.8...v1.0.9
v1.0.8
Important changes
- Torii: now the
Query
type forgRPC
has a new fieldentity_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
- chore(devcontainer): update image: v1.0.7 by @tarrencev in #2806
- feat: introduce updated at field in top level torii query by @edisontim in #2807
- opt(torii-grpc): entity updated after on entities table by @Larkooo in #2810
- Prepare release: v1.0.8 by @tarrencev in #2813
Full Changelog: v1.0.7...v1.0.8
v1.0.7
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
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