#
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
#
1.42.0 (2023-04-13)
#
Bug Fixes
- network: fall back to RPC sync if MODE is not available (#555) (4de4b6d)
- network: fix mode decoding (#562) (fb82313)
- network: handle singleton/empty keys (#541) (1e0ddb9)
- network: skip sync from cache in dev mode (#521) (818c1e2)
#
Features
- create-mud: use pnpm in templates, move to root so they can be installed/run (#599) (010740d)
- network,recs,std-client: support StoreSetField before StoreSetRecord (#581) (f259f90), closes #479 #523
- network: add fastTxExecute util (#543) (f05a70a)
- network: add option to sync in main thread instead of worker (#522) (4e8e7d7)
- network: integrate initial sync from MODE (#493) (7d06c1b)
- use viem when creating burner wallet (#576) (d5d22e0)
- v2 event decoding (#415) (374ed54)
#
1.41.0 (2023-03-09)
Note: Version bump only for package @latticexyz/network
#
1.40.0 (2023-03-03)
Note: Version bump only for package @latticexyz/network
#
1.39.0 (2023-02-22)
Note: Version bump only for package @latticexyz/network
#
1.38.0 (2023-02-22)
Note: Version bump only for package @latticexyz/network
#
1.37.1 (2023-02-17)
Note: Version bump only for package @latticexyz/network
#
1.37.0 (2023-02-16)
#
Bug Fixes
#
Reverts
- Revert "chore(release): publish v1.37.0" (c934f53)
#
1.36.1 (2023-02-16)
Note: Version bump only for package @latticexyz/network
#
1.35.0 (2023-02-15)
#
Bug Fixes
- network: add explicit return type to createFaucetService (#399) (cae82e5)
- network: use current block number while waiting for new blocks (#368) (09b77a7)
#
1.34.0 (2023-01-29)
#
Bug Fixes
#
Features
#
1.33.1 (2023-01-12)
Note: Version bump only for package @latticexyz/network
#
1.33.0 (2023-01-12)
Note: Version bump only for package @latticexyz/network
#
1.32.0 (2023-01-06)
Note: Version bump only for package @latticexyz/network
#
1.31.3 (2022-12-16)
Note: Version bump only for package @latticexyz/network
#
1.31.2 (2022-12-15)
Note: Version bump only for package @latticexyz/network
#
1.31.1 (2022-12-15)
Note: Version bump only for package @latticexyz/network
#
1.31.0 (2022-12-14)
Note: Version bump only for package @latticexyz/network
#
1.30.1 (2022-12-02)
Note: Version bump only for package @latticexyz/network
#
1.30.0 (2022-12-02)
Note: Version bump only for package @latticexyz/network
#
1.29.0 (2022-11-29)
Note: Version bump only for package @latticexyz/network
#
1.28.1 (2022-11-24)
#
Bug Fixes
#
1.28.0 (2022-11-20)
#
Features
#
1.27.0 (2022-11-15)
#
Bug Fixes
#
1.26.0 (2022-11-07)
Note: Version bump only for package @latticexyz/network
#
1.25.1 (2022-11-03)
Note: Version bump only for package @latticexyz/network
#
1.25.0 (2022-11-03)
#
Features
- network,std-client: add support for SystemCall events in default MUD network setup (#232) (93d947b)
- network: export createBlockNumberStream (#230) (c227e5d)
#
1.24.1 (2022-10-29)
Note: Version bump only for package @latticexyz/network
#
1.24.0 (2022-10-28)
#
Features
#
1.23.1 (2022-10-28)
Note: Version bump only for package @latticexyz/network
#
1.23.0 (2022-10-26)
Note: Version bump only for package @latticexyz/network
#
1.22.0 (2022-10-26)
#
Features
- network: expose method to register new system contracts on the client (#224) (4583767)
- network: simplify calling untyped systems (#223) (94e4788)
#
1.21.0 (2022-10-26)
#
Features
#
1.20.0 (2022-10-22)
Note: Version bump only for package @latticexyz/network
#
1.19.0 (2022-10-21)
#
Features
- network: only create encoders if asked for it (c5af08c)
#
1.18.0 (2022-10-21)
#
Features
#
1.17.0 (2022-10-19)
#
Features
#
1.16.0 (2022-10-19)
#
Features
#
1.15.0 (2022-10-18)
#
Features
- network): expose relay ping method, feat(std-client: add tx hash to action component (#209) (3e0b4a7)
#
1.14.2 (2022-10-18)
Note: Version bump only for package @latticexyz/network
#
1.14.1 (2022-10-18)
Note: Version bump only for package @latticexyz/network
#
1.14.0 (2022-10-18)
Note: Version bump only for package @latticexyz/network
#
1.13.0 (2022-10-15)
Note: Version bump only for package @latticexyz/network
#
1.12.0 (2022-10-12)
Note: Version bump only for package @latticexyz/network
#
1.11.0 (2022-10-11)
Note: Version bump only for package @latticexyz/network
#
1.10.0 (2022-10-11)
Note: Version bump only for package @latticexyz/network
#
1.9.0 (2022-10-11)
#
Features
#
1.8.0 (2022-10-07)
#
Bug Fixes
- network: use websocket to subscribe to relayer messages (8218249)
#
Features
- connected relayer clients (#188) (dc3fcdf)
- network: expose connectedAddressChecksum (#189) (e39d245)
- wss for stream service (#186) (d4511ac)
#
1.7.1 (2022-10-06)
Note: Version bump only for package @latticexyz/network
#
1.7.0 (2022-10-06)
#
Features
#
1.6.0 (2022-10-04)
Note: Version bump only for package @latticexyz/network
#
1.5.1 (2022-10-03)
Note: Version bump only for package @latticexyz/network
#
1.5.0 (2022-10-03)
#
Features
#
1.4.1 (2022-10-03)
Note: Version bump only for package @latticexyz/network
#
1.4.0 (2022-10-03)
#
Features
- add signature verification for all client actions via relay service (#167) (7920d6e)
- network: add util for creating faucet service (#171) (9f50d9c)
#
1.3.0 (2022-09-30)
Note: Version bump only for package @latticexyz/network
#
1.2.0 (2022-09-29)
#
Bug Fixes
#
Features
#
1.1.0 (2022-09-28)
#
Features
- add createRelayService, add utils to work with Uint8Arrays (#164) (b02992b)
- initial implementation of ecs relay service (#157) (140aec3)
#
1.0.0 (2022-09-27)
Note: Version bump only for package @latticexyz/network
#
0.16.4 (2022-09-26)
#
Bug Fixes
- network: cancel tx request if gas estimation failed (565b37f)
#
0.16.3 (2022-09-26)
#
Bug Fixes
- do gas estimation right before sending tx to avoid invalid gas estimations (f251642)
#
0.16.2 (2022-09-26)
Note: Version bump only for package @latticexyz/network
#
0.16.1 (2022-09-26)
Note: Version bump only for package @latticexyz/network
#
0.16.0 (2022-09-26)
#
Features
- network: add system call stream (#162) (5caef57)
- std-contracts: add FunctionComponent (#161) (d720277)
#
0.15.1 (2022-09-23)
Note: Version bump only for package @latticexyz/network
#
0.15.0 (2022-09-21)
Note: Version bump only for package @latticexyz/network
#
0.14.2 (2022-09-21)
Note: Version bump only for package @latticexyz/network
#
0.14.1 (2022-09-21)
#
Bug Fixes
#
0.14.0 (2022-09-20)
Note: Version bump only for package @latticexyz/network
#
0.13.0 (2022-09-19)
Note: Version bump only for package @latticexyz/network
#
0.12.0 (2022-09-16)
#
Features
#
0.11.1 (2022-09-15)
#
Bug Fixes
- do not run prepack multiple times when publishing (4f6f4c3)
#
0.11.0 (2022-09-15)
#
Features
#
0.10.0 (2022-09-14)
#
Features
#
0.9.0 (2022-09-13)
#
Bug Fixes
#
Features
#
BREAKING CHANGES
network: The loading state component is attached to the entity with id 0x060D (GodID). The std-client package previously exported a different mudwar specific GodID, which has been replaced with the 0x060D GodID exported by the network package.
test(network): add test for LoadingState and fix existing tests
#
0.8.1 (2022-08-22)
#
Bug Fixes
- start from initialBlockNumber, build settings, fix github actions, and other minor additions (#137) (08eab5c)
#
0.8.0 (2022-08-22)
#
Features
#
0.7.0 (2022-08-19)
Note: Version bump only for package @latticexyz/network
#
0.6.0 (2022-08-15)
#
Code Refactoring
#
BREAKING CHANGES
sync worker update stream returns component id instead of component key
test(network): add tests for sync utils and SyncWorker logic
chore: remove logs and improve comments
chore: add logs
Co-authored-by: andrii dobroshynski 24281657+andriidski@users.noreply.github.com
#
0.5.1 (2022-08-05)
Note: Version bump only for package @latticexyz/network
#
0.5.0 (2022-08-05)
#
Bug Fixes
- CacheWorker (#118) (bfe006e)
- optimism, cancel action if gas check fails, add noise utils, fix ecs-browser entry point (#119) (f35d3c3)
#
Features
#
0.4.3 (2022-07-30)
Note: Version bump only for package @latticexyz/network
#
0.4.2 (2022-07-29)
Note: Version bump only for package @latticexyz/network
#
0.4.1 (2022-07-29)
Note: Version bump only for package @latticexyz/network
#
0.4.0 (2022-07-29)
#
Bug Fixes
#
Features
#
0.3.2 (2022-07-26)
Note: Version bump only for package @latticexyz/network
#
0.3.1 (2022-07-26)
Note: Version bump only for package @latticexyz/network
#
0.3.0 (2022-07-26)
#
Bug Fixes
#
Features
- mudwar prototype (nyc sprint 2) (#59) (a3db20e), closes #58 #61 #64 #62 #66 #69 #72 #73 #74 #76 #75 #77 #78 #79 #80 #82 #86 #83 #81 #85 #84 #87 #91 #88 #90 #92 #93 #89 #94 #95 #98 #100 #97 #101 #105 #106
- new systems pattern (#63) (fb6197b)
#
0.2.0 (2022-07-05)
#
Features
- add webworker architecture for contract/client sync, add cache webworker (#10) (4ef9f90), closes #14
- component browser 📈 (#16) (37af75e)
- network: integrate snapshot service (#24) (a146164)
- on-chain maps (nyc sprint 1) (#38) (089c46d), closes #17 #20 #18 #25 #26 #27 #28 #29 #30 #31 #33 #32 #34 #35 #36 #37 #39 #40 #41 #42 #43 #44 #45 #46 #48 #49 #50
- recs: rewrite for performance improvements (without integrating in ri) (#22) (887564d)
#
BREAKING CHANGES
Components have to implement a getSchema() function
feat(network): make Sync worker return a stream of ECS events (prev contract events)
feat(ri-contracts): integrate solecs change (add getSchema to components)
feat(ri-client): integrate network package changes
feat(network): store ECS state in cache
feat(network): load state from cache
feat(utils): add more utils for iterables
refactor(network): clean up
feat(network): generalize component value decoder function, add tests
fix(network): make it possible to subscribe to ecsStream from sync worker multiple times
fix(network): start sync from provided initial block number
feat(network): move storing ecs to indexDB to its own Cache worker
feat(network): create separate cache for every World contract address
fix(network): fix issues discovered during live review
chore: remove unused import
Update packages/network/src/createBlockNumberStream.ts
Co-authored-by: ludens ludens@lattice.xyz
feat(network): add clock syncInterval as config parameter
feat(utils): emit values through componentToStream and observableToStream only if non-null
feat(network): add chain id to cache id, disable loading from cache on hardhat
fix(contracts): change Position and EntityType schema to int32/uint32 to fit in js number
docs(client): fix typos in comments
fix(network): fix tests
fix(scripting): integrate new network package into ri scripting
fix(network): fix sending multiple requests for component schema if many events get reduced
#
0.1.8 (2022-05-25)
Note: Version bump only for package @latticexyz/network
#
0.1.7 (2022-05-25)
Note: Version bump only for package @latticexyz/network
#
0.1.6 (2022-05-25)
Note: Version bump only for package @latticexyz/network
#
0.1.5 (2022-05-24)
Note: Version bump only for package @latticexyz/network
#
0.1.4 (2022-05-24)
Note: Version bump only for package @latticexyz/network
#
0.1.3 (2022-05-23)
Note: Version bump only for package @latticexyz/network
#
0.1.2 (2022-05-23)
Note: Version bump only for package @latticexyz/network
#
0.1.1 (2022-05-23)
Note: Version bump only for package @latticexyz/network
#
0.1.0 (2022-05-23)
#
Bug Fixes
- @mud/network: do not increase nonce for view functions (233c4b5)
- @mud/network: use component id for ecs event mapping (instead of address) (baa5f10)
- @mud/network: use component id instead of address for mapping (39b516c)
#
Features
- @mud/network: add @mud/network (9a29452)
- @mud/network: add option to ignore tx confirmation to txQueue, add ready state, add fetch log (438549a)
#
Performance Improvements
- @mud/network: add initial sync in stages (d0c026a)
- @mud/network: move sync and processing of chain events to a webworker (dad52ea)