Skip to content

Releases: dojoengine/dojo

v1.0.0-alpha.16

14 Oct 17:14
3b3a78c
Compare
Choose a tag to compare
v1.0.0-alpha.16 Pre-release
Pre-release

Highlights

  • Fix Docker build for linux/arm64
  • Updated Slot to support the latest version with breaking credential format changes https://github.com/cartridge-gg/slot/releases/tag/v0.19.0.
    • This change is not backward compatible. Therefore, if you're using slot >=0.18.0, this is the only version of Sozo that will work with it.
  • Torii supports indexing of ERC20/721 using configuration file.

What's Changed

  • Update devcontainer image: v1.0.0-alpha.15 by @tarrencev in #2513
  • refactor(katana): move the rpc address log by @kariy in #2518
  • refactor(katana-tasks): separate tasks spawning responsibility from TaskManager by @kariy in #2514
  • rm useless #[allow(deprecated)] by @tcoratger in #2519
  • feat: update-erc20-class by @enitrat in #2521
  • Convert katana/contracts into a Scarb workspace by @kariy in #2523
  • test(katana-rpc): don't use binary runner in katana tests by @kariy in #2525
  • chore(katana-pool): rename error for clarity by @kariy in #2528
  • refactor(torii/graphql): use camelCase in graphql to be more consistent by @lambda-0x in #2515
  • chore: clean up unused deps by @kariy in #2532
  • chore(sozo): update slot due to breaking changes by @kariy in #2530
  • torii!: change type of id in erc_transfers by @lambda-0x in #2526
  • fix(Dockerfile): use tini from package manager by @steebchen in #2533
  • Prepare release: v1.0.0-alpha.16 by @tarrencev in #2534

Full Changelog: v1.0.0-alpha.15...v1.0.0-alpha.16

v1.0.0-alpha.15

10 Oct 00:02
f56c4f9
Compare
Choose a tag to compare
v1.0.0-alpha.15 Pre-release
Pre-release

Important notes

  • ⚠️ Torii now doesn't require a --start-block.
  • ⚠️ Controller integration: Sozo no longer does the Controller deployment request.

What's Changed

  • Update devcontainer image: v1.0.0-alpha.14 by @tarrencev in #2497
  • Bump slot by @kariy in #2503
  • refactor(katana): stage sync pipeline by @kariy in #2502
  • refactor(katana-node): distinguish between launched node handle by @kariy in #2504
  • chore(katana): de-featurize base messaging by @kariy in #2506
  • feat: add tps metric to contracts table by @Larkooo in #2468
  • feat(torii-core): optimistically broadcast entity update by @Larkooo in #2466
  • feat(torii): index whitelisted erc20/erc721 by @lambda-0x in #2494
  • Remove call to cartridge_deployController for Controller deployment by @kariy in #2509
  • refactor(katana): improve node configurations by @kariy in #2508
  • katana: include starknet api as default by @kariy in #2510
  • feat(torii): limit number of blocks processed in one go by @lambda-0x in #2505
  • refactor: subscription updates ordered by @Larkooo in #2507
  • Persistent mode for saya using mock of SNOS by @matzayonc in #2253
  • Prepare release: v1.0.0-alpha.15 by @tarrencev in #2511

New Contributors

Full Changelog: v1.0.0-alpha.14...v1.0.0-alpha.15

v1.0.0-alpha.14

04 Oct 16:47
6bafcb5
Compare
Choose a tag to compare
v1.0.0-alpha.14 Pre-release
Pre-release

What's Changed

  • Update devcontainer image: v1.0.0-alpha.13 by @tarrencev in #2480
  • fix: use name for contract interface to be consistent by @glihm in #2482
  • feat(katana-rpc): add traceTransaction and traceBlockTransactions API by @kariy in #2486
  • chore: implement From<BigUint> for address type by @kariy in #2488
  • chore: replace reth-metrics-derive with the new standalone version by @kariy in #2487
  • chore: remove unused deps by @kariy in #2489
  • Bump slot ( account_sdk ) by @kariy in #2493
  • opt(torii-core): move off queryqueue for executing tx by @Larkooo in #2460
  • Prepare release: v1.0.0-alpha.14 by @tarrencev in #2496

Full Changelog: v1.0.0-alpha.13...v1.0.0-alpha.14

v1.0.0-alpha.13

25 Sep 23:00
9f95a68
Compare
Choose a tag to compare
v1.0.0-alpha.13 Pre-release
Pre-release

What's Changed

  • fix(torii): only update curor when required by @lambda-0x in #2438
  • Update devcontainer image: v1.0.0-alpha.12 by @tarrencev in #2437
  • Bump serde_json to 1.0.128 by @kariy in #2445
  • chore(torii-core): WAL journal mode & remove max conns by @Larkooo in #2439
  • opt(torii-grpc): parallelize queries by @Larkooo in #2443
  • feat(torii-core): bitflags for indexing by @Larkooo in #2450
  • ci(workflows) add GitHub Actions workflow for preview builds by @steebchen in #2446
  • Bump starknet to 0.12.0 by @kariy in #2454
  • refactor-opt(torii-grpc): subscriptions no db fetch by @Larkooo in #2455
  • feat(Dockerfile): add Tini init system for better process management by @steebchen in #2459
  • fix: avoid model classhash conflicts when some models have a same name by @remybar in #2457
  • fix: remove dojo plugin dep by @glihm in #2461
  • Improve Katana runner macro by @kariy in #2464
  • chore: use the new Katana runner proc macro by @kariy in #2465
  • Walnut: Enable multi-class verification via single API request by @barabanovro in #2456
  • refactor(katana-primitives): replace HashMap with BTreeMap in state updates and genesis types by @kariy in #2469
  • fix(torii): improve log messages by @lambda-0x in #2463
  • fix(dojo-lang): add a default namespace to ensure language server support by @glihm in #2472
  • refactor(torii-core): enqueue models & events by @Larkooo in #2471
  • fix(dojo-core): ensure contract deployment verifies if the selector is unregistered by @glihm in #2473
  • chore(katana): address! macro for creating ContractAddress instance by @kariy in #2475
  • Katana: Add state update DA encodings by @kariy in #2474
  • fix(torii): use correct query_type by @lambda-0x in #2476
  • fix: ensure log crate output is shown with tracing by @glihm in #2477
  • Bump blockifier to fix DeployAccount tx not respecting disable fee flag by @kariy in #2478
  • Prepare release: v1.0.0-alpha.13 by @tarrencev in #2479

Full Changelog: v1.0.0-alpha.12...v1.0.0-alpha.13

v1.0.0-alpha.12

17 Sep 02:43
b391948
Compare
Choose a tag to compare
v1.0.0-alpha.12 Pre-release
Pre-release

What's Changed

  • Update devcontainer image: v1.0.0-alpha.11 by @tarrencev in #2403
  • chore(walnut): put under walnut feature flag by @kariy in #2407
  • feat(katana): add node handle by @kariy in #2408
  • opt(katana): graceful shutdown on critical tasks termination by @kariy in #2409
  • refactor(dojo-lang): output debug info conditionally by @kariy in #2411
  • fix(katana-tasks): ensure is cancelled before waiting on shutdown by @kariy in #2412
  • refactor(katana): separate node service task by @kariy in #2413
  • Bump blockifier to v0.8.0-rc3 by @kariy in #2414
  • fix(torii-grpc): member clause should never error out if no entities by @Larkooo in #2418
  • refactor(torii): update query logic for them to not block by @lambda-0x in #2397
  • fix(sozo): update Controller dependencies by @kariy in #2303
  • feat: filtering bytearrays with member clause by @Larkooo in #2425
  • Bump slot to 0.14.1 by @kariy in #2432
  • opt-fix(torii-core): fix and optimize partial updates by @Larkooo in #2427
  • Rename all remaining FieldElements to Felt for consistency by @kariy in #2433
  • refactor/fix(torii-core): correctly queue entity deletions by @Larkooo in #2428
  • bench: add sozo build bench for spawn and move by @glihm in #2419
  • opt(katana): graceful shutdown on SIGTERM by @kariy in #2434
  • fix: dojo-lang tests with default namespace by @remybar in #2422
  • refactor: member clauses handle struct fields & operators & recursive by @Larkooo in #2420
  • Handle graceful shtudown on SIGTERM for all binaries by @kariy in #2435
  • feat(torii-core): parallelization by @Larkooo in #2423
  • Prepare release: v1.0.0-alpha.12 by @tarrencev in #2436

Full Changelog: v1.0.0-alpha.11...v1.0.0-alpha.12

v1.0.0-alpha.11

09 Sep 03:34
fbff45b
Compare
Choose a tag to compare
v1.0.0-alpha.11 Pre-release
Pre-release

Reason

  • Small fix to avoid spurious logs on the pending block that slows down Torii.

What's Changed

Full Changelog: v1.0.0-alpha.10...v1.0.0-alpha.11

v1.0.0-alpha.10

09 Sep 00:55
f105912
Compare
Choose a tag to compare
v1.0.0-alpha.10 Pre-release
Pre-release

Important changes

  • Katana now requires the --dev flag to enable the dev_predeployedAccounts endpoint (previous katana_predeployedAccounts).
  • Walnut (starknet debugger) has been integrated in Dojo and is available for sozo migrate apply --walnut and sozo execute --walnut. If you require an API key working with Dojo, please contact https://walnut.dev founders, they will be happy to share one with you.
  • Katana now returns the events for the pending block.
  • Torii bug fixes.

What's Changed

  • Update devcontainer image: v1.0.0-alpha.9 by @tarrencev in #2372
  • Break on empty events when loading from remote by @kariy in #2376
  • chore; use debug for pending tx log by @Larkooo in #2383
  • fix(katana-rpc): include events from pending block in getEvents by @kariy in #2375
  • refactor(katana): move predeployedAccounts under DevApi and remove KatanaApi by @glihm in #2310
  • opt(torii): avoid re-processing of transactions in certain case by @lambda-0x in #2381
  • feat(docker): add infinite-file-curtailer to image by @steebchen in #2386
  • Bump blockifier to HEAD of cairo-2.7 branch by @kariy in #2389
  • fix system_name in bindgen by @wighawag in #2387
  • fix(torii): offchain messages signature validation on first set by @edisontim in #2390
  • feat(dojo-compiler): add sierra to cairo debug information by @kariy in #2392
  • Bump blockifier to latest rev by @kariy in #2393
  • opt(torii): avoid calculating poseidon hash where possible by @lambda-0x in #2394
  • update default invoke max steps by @notV4l in #2395
  • fix: fix sozo issues with migration on sepolia by @glihm in #2398
  • Add walnut flag to sozo execute and migrate apply commands by @barabanovro in #2333
  • Prepare release: v1.0.0-alpha.10 by @tarrencev in #2399

New Contributors

Full Changelog: v1.0.0-alpha.9...v1.0.0-alpha.10

v1.0.0-alpha.9

30 Aug 04:50
e42ce0c
Compare
Choose a tag to compare
v1.0.0-alpha.9 Pre-release
Pre-release

Important changes

  • Sozo now warns the user if the toolchain version installed with dojoup or asdf doesn't match the one found in Scarb.toml.
  • Torii now uses websocket for libp2p communication.
  • Sozo now supports prefixes for sozo call to parse calldata.
  • Fix a bug in Sozo where already registered models were not skipped correctly.

What's Changed

  • Update devcontainer image: v1.0.0-alpha.8 by @tarrencev in #2356
  • chore(torii): less noise in logs by @Larkooo in #2358
  • fix(dojo-bindgen): ensure typescript plugin output deterministic order by @glihm in #2359
  • fix(torii-relay): remove tls for ws by @glihm in #2361
  • fix(katana): per transaction validator by @kariy in #2362
  • chore(katana-rpc): test cleanup by @kariy in #2363
  • fix(libp2p): fix typed data from model by @Larkooo in #2357
  • fix(katana): set bouncer weight to max by @kariy in #2367
  • dev: pin exact rust nightly version by @kariy in #2365
  • Update devcontainer image: e89ac13 by @tarrencev in #2369
  • feat(sozo): ensure sozo errors with dojo-core version mismatch by @glihm in #2364
  • feat: add prefixes for sozo call and better output message by @glihm in #2366
  • chore(torii): remove unused parameters by @lambda-0x in #2360
  • fix: ensure we check registered model and not declared models by @glihm in #2368
  • refactor(katana-pool): enable ordering using BTreeSet by @kariy in #2370
  • Prepare release: v1.0.0-alpha.9 by @tarrencev in #2371

Full Changelog: v1.0.0-alpha.8...v1.0.0-alpha.9

v1.0.0-alpha.8

28 Aug 17:28
d31f81e
Compare
Choose a tag to compare
v1.0.0-alpha.8 Pre-release
Pre-release

Important changes

  • Fix a bug preventing Sozo to update a world due to resource already registered errors.
  • Fix Store trait generation to ensure set/delete are available for Model and update/delete for ModelEntity.
  • Torii bug fixes an optimization to index worlds with numerous transactions.
  • Katana has now a different behavior with the nonces. Before, if a transaction for account A was in the pool, the nonce would still the same and would be incremented only when the transaction is executed. Now, Katana returns the incremented nonce even if the transaction in the pool is not yet executed, which should enhance throughput and reduce nonce errors when sending transaction with small delays.
  • Sozo will now emit a warning if a print is used in the code (as this works on Katana, but not on public networks).
  • New macro available to deploy a world: spawn_test_world, sozo build must be run before running the tests:
// Register all namespaces and models.
let world = spawn_test_world!();

// Register all models for the given namespace.
let world = spawn_test_world!(["ns1"]);

What's Changed

  • Update devcontainer image: v1.0.0-alpha.7 by @tarrencev in #2329
  • Rename common crate -> dojo-utils by @kariy in #2332
  • chore(dojo-utils): move dojo-world::utils module to dojo-utils by @kariy in #2334
  • fix(torii-graphql): expose namespace in models query by @lambda-0x in #2331
  • chore: taplo fmt by @kariy in #2336
  • refactor(katana): relax nonce check in estimateFee by @kariy in #2335
  • feat: add macros for testing by @glihm in #2337
  • feat(dojo-lang): add warnings for migrations with prints by @jsanchez556 in #2316
  • fix(schema): empty array name by @Larkooo in #2339
  • fix(katana): ensure messages are ordered by @adrianvrj in #2326
  • fix(dojo-core): adjust ACL to restore governance without relaxing permissions by @glihm in #2341
  • feat(katana): pool validation by @kariy in #2344
  • fix: ensure models generated Store trait exposes set/update/delete by @glihm in #2348
  • feat(libp2p): websocket transport by @Larkooo in #2347
  • fix: emit trace for unprocessed event only once by @lambda-0x in #2352
  • fix(sozo): ensure already registered resources don't make migration fail by @glihm in #2350
  • hotfix(katana): make sure validator state is synced with block producer by @kariy in #2353
  • opt(torii): remove unused receipt from processor & reduce one rpc call per transaction by @lambda-0x in #2351
  • Prepare release: v1.0.0-alpha.8 by @tarrencev in #2345

New Contributors

Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8

v1.0.0-alpha.7

21 Aug 23:11
e2ed073
Compare
Choose a tag to compare
v1.0.0-alpha.7 Pre-release
Pre-release

What's Changed

Full Changelog: v1.0.0-alpha.6...v1.0.0-alpha.7