v1.0.0-alpha.8
Pre-release
Pre-release
github-actions
released this
28 Aug 17:28
·
147 commits
to main
since this release
Important changes
- Fix a bug preventing Sozo to update a world due to resource already registered errors.
- Fix
Store
trait generation to ensureset/delete
are available forModel
andupdate/delete
forModelEntity
. - 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 todojo-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
- @jsanchez556 made their first contribution in #2316
- @adrianvrj made their first contribution in #2326
Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8