From 54deec8645d641ea43e681e9539c651d3a6ba21d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:45:06 -0700 Subject: [PATCH] Version Packages (#3175) Co-authored-by: github-actions[bot] --- .changeset/angry-bats-drive.md | 5 -- .changeset/bright-rabbits-trade.md | 13 ---- .changeset/itchy-insects-jog.md | 25 ------- .changeset/metal-brooms-enjoy.md | 5 -- .changeset/perfect-plants-hang.md | 5 -- .changeset/smart-parents-refuse.md | 33 --------- .changeset/smooth-tigers-exist.md | 5 -- .changeset/soft-boats-protect.md | 6 -- CHANGELOG.md | 82 +++++++++++++++++++++ docs/pages/changelog.mdx | 82 +++++++++++++++++++++ packages/abi-ts/CHANGELOG.md | 2 + packages/abi-ts/package.json | 2 +- packages/block-logs-stream/CHANGELOG.md | 16 ++++ packages/block-logs-stream/package.json | 2 +- packages/cli/CHANGELOG.md | 28 +++++++ packages/cli/package.json | 2 +- packages/common/CHANGELOG.md | 25 +++++++ packages/common/package.json | 2 +- packages/config/CHANGELOG.md | 17 +++++ packages/config/package.json | 2 +- packages/create-mud/CHANGELOG.md | 12 +++ packages/create-mud/package.json | 2 +- packages/dev-tools/CHANGELOG.md | 25 +++++++ packages/dev-tools/package.json | 2 +- packages/explorer/CHANGELOG.md | 55 ++++++++++++++ packages/explorer/package.json | 2 +- packages/faucet/CHANGELOG.md | 16 ++++ packages/faucet/package.json | 2 +- packages/gas-report/CHANGELOG.md | 2 + packages/gas-report/package.json | 2 +- packages/protocol-parser/CHANGELOG.md | 19 +++++ packages/protocol-parser/package.json | 2 +- packages/react/CHANGELOG.md | 8 ++ packages/react/package.json | 2 +- packages/recs/CHANGELOG.md | 8 ++ packages/recs/package.json | 2 +- packages/schema-type/CHANGELOG.md | 12 +++ packages/schema-type/package.json | 2 +- packages/solhint-config-mud/CHANGELOG.md | 2 + packages/solhint-config-mud/package.json | 2 +- packages/solhint-plugin-mud/CHANGELOG.md | 2 + packages/solhint-plugin-mud/package.json | 2 +- packages/stash/CHANGELOG.md | 19 +++++ packages/stash/package.json | 2 +- packages/store-indexer/CHANGELOG.md | 21 ++++++ packages/store-indexer/package.json | 2 +- packages/store-sync/CHANGELOG.md | 26 +++++++ packages/store-sync/package.json | 2 +- packages/store/CHANGELOG.md | 20 +++++ packages/store/package.json | 2 +- packages/utils/CHANGELOG.md | 2 + packages/utils/package.json | 2 +- packages/world-module-metadata/CHANGELOG.md | 10 +++ packages/world-module-metadata/package.json | 2 +- packages/world-modules/CHANGELOG.md | 13 ++++ packages/world-modules/package.json | 2 +- packages/world/CHANGELOG.md | 22 ++++++ packages/world/package.json | 2 +- test/mock-game-contracts/CHANGELOG.md | 2 + test/mock-game-contracts/package.json | 2 +- test/ts-benchmarks/CHANGELOG.md | 2 + test/ts-benchmarks/package.json | 2 +- 62 files changed, 576 insertions(+), 123 deletions(-) delete mode 100644 .changeset/angry-bats-drive.md delete mode 100644 .changeset/bright-rabbits-trade.md delete mode 100644 .changeset/itchy-insects-jog.md delete mode 100644 .changeset/metal-brooms-enjoy.md delete mode 100644 .changeset/perfect-plants-hang.md delete mode 100644 .changeset/smart-parents-refuse.md delete mode 100644 .changeset/smooth-tigers-exist.md delete mode 100644 .changeset/soft-boats-protect.md diff --git a/.changeset/angry-bats-drive.md b/.changeset/angry-bats-drive.md deleted file mode 100644 index 08365d509a..0000000000 --- a/.changeset/angry-bats-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -World Explorer now supports connecting external wallets. diff --git a/.changeset/bright-rabbits-trade.md b/.changeset/bright-rabbits-trade.md deleted file mode 100644 index 9ef49fa657..0000000000 --- a/.changeset/bright-rabbits-trade.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@latticexyz/common": patch ---- - -To reset an account's nonce, the nonce manager uses the [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount) RPC method, -which returns the number of transactions sent from the account. -When using the `pending` block tag, this includes transactions in the mempool that have not been included in a block yet. -If an account submits a transaction with a nonce higher than the next valid nonce, this transaction will stay in the mempool until the nonce gap is closed and the transactions nonce is the next valid nonce. -This means if an account has gapped transactions "stuck in the mempool", the `eth_getTransactionCount` method with `pending` block tag can't be used to get the next valid nonce -(since it includes the number of transactions stuck in the mempool). -Since the nonce manager only resets the nonce on reload or in case of a nonce error, using the `latest` block tag by default is the safer choice to be able to recover from nonce gaps. - -Note that this change may reveal more "transaction underpriced" errors than before. These errors will now be retried automatically and should go through after the next block is mined. diff --git a/.changeset/itchy-insects-jog.md b/.changeset/itchy-insects-jog.md deleted file mode 100644 index b6444cd03c..0000000000 --- a/.changeset/itchy-insects-jog.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@latticexyz/block-logs-stream": patch -"@latticexyz/cli": patch -"@latticexyz/common": patch -"@latticexyz/config": patch -"@latticexyz/dev-tools": patch -"@latticexyz/explorer": patch -"@latticexyz/faucet": patch -"@latticexyz/protocol-parser": patch -"@latticexyz/schema-type": patch -"@latticexyz/stash": patch -"@latticexyz/store-indexer": patch -"@latticexyz/store-sync": patch -"@latticexyz/store": patch -"@latticexyz/world": patch -"create-mud": patch ---- - -Bumped viem, wagmi, and abitype packages to their latest release. - -MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: - -``` -pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 -``` diff --git a/.changeset/metal-brooms-enjoy.md b/.changeset/metal-brooms-enjoy.md deleted file mode 100644 index 8128206ed7..0000000000 --- a/.changeset/metal-brooms-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/cli": patch ---- - -Along with table and system labels, the MUD deployer now registers namespace labels. Additionally, labels will only be registered if they differ from the underlying resource name. diff --git a/.changeset/perfect-plants-hang.md b/.changeset/perfect-plants-hang.md deleted file mode 100644 index 1a74d6c439..0000000000 --- a/.changeset/perfect-plants-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Added ability to connect World Explorer to Redstone and Garnet chains. The active chain is now passed as a dynamic route parameter. diff --git a/.changeset/smart-parents-refuse.md b/.changeset/smart-parents-refuse.md deleted file mode 100644 index bf160770f5..0000000000 --- a/.changeset/smart-parents-refuse.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -World Explorer package now exports an `observer` Viem decorator that can be used to get visibility into contract writes initiated from your app. You can watch these writes stream in on the new "Observe" tab of the World Explorer. - -```ts -import { createClient, publicActions, walletActions } from "viem"; -import { observer } from "@latticexyz/explorer/observer"; - -const client = createClient({ ... }) - .extend(publicActions) - .extend(walletActions) - .extend(observer()); -``` - -By default, the `observer` action assumes the World Explorer is running at `http://localhost:13690`, but this can be customized with the `explorerUrl` option. - -```ts -observer({ - explorerUrl: "http://localhost:4444", -}); -``` - -If you want to measure the timing of transaction-to-state-change, you can also pass in a `waitForStateChange` function that takes a transaction hash and returns a partial [`TransactionReceipt`](https://viem.sh/docs/glossary/types#transactionreceipt) with `blockNumber`, `status`, and `transactionHash`. This mirrors the `waitForTransaction` function signature returned by `syncTo...` helper in `@latticexyz/store-sync`. - -```ts -observer({ - async waitForStateChange(hash) { - return await waitForTransaction(hash); - }, -}); -``` diff --git a/.changeset/smooth-tigers-exist.md b/.changeset/smooth-tigers-exist.md deleted file mode 100644 index 42fc2d0171..0000000000 --- a/.changeset/smooth-tigers-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/world": patch ---- - -Added a config resolver to add default values for `modules` in the world config. diff --git a/.changeset/soft-boats-protect.md b/.changeset/soft-boats-protect.md deleted file mode 100644 index ca18c04d54..0000000000 --- a/.changeset/soft-boats-protect.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@latticexyz/protocol-parser": patch -"@latticexyz/store-sync": patch ---- - -Added `store-sync` helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at [https://mud.dev/indexer/sql](https://mud.dev/indexer/sql). diff --git a/CHANGELOG.md b/CHANGELOG.md index 445ca00945..9e4357e245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,85 @@ +## Version 2.2.4 + +Release date: Wed Sep 18 2024 + +### Patch changes + +**[feat(explorer): anvil connector, connect external wallets (#3164)](https://github.com/latticexyz/mud/commit/e6147b2a9c92369d2ca26c60275c766da1a7d0d5)** (@latticexyz/explorer) + +World Explorer now supports connecting external wallets. + +**[fix(common): use latest block tag in nonce manager (#3180)](https://github.com/latticexyz/mud/commit/2f935cfd3fbc62f3c304e470751a26189523fcd2)** (@latticexyz/common) + +To reset an account's nonce, the nonce manager uses the [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount) RPC method, +which returns the number of transactions sent from the account. +When using the `pending` block tag, this includes transactions in the mempool that have not been included in a block yet. +If an account submits a transaction with a nonce higher than the next valid nonce, this transaction will stay in the mempool until the nonce gap is closed and the transactions nonce is the next valid nonce. +This means if an account has gapped transactions "stuck in the mempool", the `eth_getTransactionCount` method with `pending` block tag can't be used to get the next valid nonce +(since it includes the number of transactions stuck in the mempool). +Since the nonce manager only resets the nonce on reload or in case of a nonce error, using the `latest` block tag by default is the safer choice to be able to recover from nonce gaps. + +Note that this change may reveal more "transaction underpriced" errors than before. These errors will now be retried automatically and should go through after the next block is mined. + +**[feat: bump wevm packages (#3178)](https://github.com/latticexyz/mud/commit/50010fb9fb6d21f69ba23c1eae14f4203919183d)** (@latticexyz/block-logs-stream, @latticexyz/cli, @latticexyz/common, @latticexyz/config, @latticexyz/dev-tools, @latticexyz/explorer, @latticexyz/faucet, @latticexyz/protocol-parser, @latticexyz/schema-type, @latticexyz/stash, @latticexyz/store-indexer, @latticexyz/store-sync, @latticexyz/store, @latticexyz/world, create-mud) + +Bumped viem, wagmi, and abitype packages to their latest release. + +MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + +``` +pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 +``` + +**[feat(cli): register namespace labels (#3172)](https://github.com/latticexyz/mud/commit/d3acd9242da44d201ea99e04c1631ed687d30a80)** (@latticexyz/cli) + +Along with table and system labels, the MUD deployer now registers namespace labels. Additionally, labels will only be registered if they differ from the underlying resource name. + +**[feat(explorer): active chain as dynamic param (#3181)](https://github.com/latticexyz/mud/commit/20604952d33419f18ab93fcc048db564b56a54b4)** (@latticexyz/explorer) + +Added ability to connect World Explorer to Redstone and Garnet chains. The active chain is now passed as a dynamic route parameter. + +**[feat(explorer): write observer (#3169)](https://github.com/latticexyz/mud/commit/784e5a98e679388ad6bc941cd1bc9b6486cf276d)** (@latticexyz/explorer) + +World Explorer package now exports an `observer` Viem decorator that can be used to get visibility into contract writes initiated from your app. You can watch these writes stream in on the new "Observe" tab of the World Explorer. + +```ts +import { createClient, publicActions, walletActions } from "viem"; +import { observer } from "@latticexyz/explorer/observer"; + +const client = createClient({ ... }) + .extend(publicActions) + .extend(walletActions) + .extend(observer()); +``` + +By default, the `observer` action assumes the World Explorer is running at `http://localhost:13690`, but this can be customized with the `explorerUrl` option. + +```ts +observer({ + explorerUrl: "http://localhost:4444", +}); +``` + +If you want to measure the timing of transaction-to-state-change, you can also pass in a `waitForStateChange` function that takes a transaction hash and returns a partial [`TransactionReceipt`](https://viem.sh/docs/glossary/types#transactionreceipt) with `blockNumber`, `status`, and `transactionHash`. This mirrors the `waitForTransaction` function signature returned by `syncTo...` helper in `@latticexyz/store-sync`. + +```ts +observer({ + async waitForStateChange(hash) { + return await waitForTransaction(hash); + }, +}); +``` + +**[fix(world): resolve module config (#3193)](https://github.com/latticexyz/mud/commit/1f24978894725dca13c2adfee384e12f53f05c26)** (@latticexyz/world) + +Added a config resolver to add default values for `modules` in the world config. + +**[feat(store-sync): add util to fetch snapshot from indexer with SQL API (#2996)](https://github.com/latticexyz/mud/commit/8b4110e5d9ca2b7a6553a2c4078b7a8b82c6f211)** (@latticexyz/protocol-parser, @latticexyz/store-sync) + +Added `store-sync` helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at [https://mud.dev/indexer/sql](https://mud.dev/indexer/sql). + +--- + ## Version 2.2.3 Release date: Tue Sep 10 2024 diff --git a/docs/pages/changelog.mdx b/docs/pages/changelog.mdx index 445ca00945..9e4357e245 100644 --- a/docs/pages/changelog.mdx +++ b/docs/pages/changelog.mdx @@ -1,3 +1,85 @@ +## Version 2.2.4 + +Release date: Wed Sep 18 2024 + +### Patch changes + +**[feat(explorer): anvil connector, connect external wallets (#3164)](https://github.com/latticexyz/mud/commit/e6147b2a9c92369d2ca26c60275c766da1a7d0d5)** (@latticexyz/explorer) + +World Explorer now supports connecting external wallets. + +**[fix(common): use latest block tag in nonce manager (#3180)](https://github.com/latticexyz/mud/commit/2f935cfd3fbc62f3c304e470751a26189523fcd2)** (@latticexyz/common) + +To reset an account's nonce, the nonce manager uses the [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount) RPC method, +which returns the number of transactions sent from the account. +When using the `pending` block tag, this includes transactions in the mempool that have not been included in a block yet. +If an account submits a transaction with a nonce higher than the next valid nonce, this transaction will stay in the mempool until the nonce gap is closed and the transactions nonce is the next valid nonce. +This means if an account has gapped transactions "stuck in the mempool", the `eth_getTransactionCount` method with `pending` block tag can't be used to get the next valid nonce +(since it includes the number of transactions stuck in the mempool). +Since the nonce manager only resets the nonce on reload or in case of a nonce error, using the `latest` block tag by default is the safer choice to be able to recover from nonce gaps. + +Note that this change may reveal more "transaction underpriced" errors than before. These errors will now be retried automatically and should go through after the next block is mined. + +**[feat: bump wevm packages (#3178)](https://github.com/latticexyz/mud/commit/50010fb9fb6d21f69ba23c1eae14f4203919183d)** (@latticexyz/block-logs-stream, @latticexyz/cli, @latticexyz/common, @latticexyz/config, @latticexyz/dev-tools, @latticexyz/explorer, @latticexyz/faucet, @latticexyz/protocol-parser, @latticexyz/schema-type, @latticexyz/stash, @latticexyz/store-indexer, @latticexyz/store-sync, @latticexyz/store, @latticexyz/world, create-mud) + +Bumped viem, wagmi, and abitype packages to their latest release. + +MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + +``` +pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 +``` + +**[feat(cli): register namespace labels (#3172)](https://github.com/latticexyz/mud/commit/d3acd9242da44d201ea99e04c1631ed687d30a80)** (@latticexyz/cli) + +Along with table and system labels, the MUD deployer now registers namespace labels. Additionally, labels will only be registered if they differ from the underlying resource name. + +**[feat(explorer): active chain as dynamic param (#3181)](https://github.com/latticexyz/mud/commit/20604952d33419f18ab93fcc048db564b56a54b4)** (@latticexyz/explorer) + +Added ability to connect World Explorer to Redstone and Garnet chains. The active chain is now passed as a dynamic route parameter. + +**[feat(explorer): write observer (#3169)](https://github.com/latticexyz/mud/commit/784e5a98e679388ad6bc941cd1bc9b6486cf276d)** (@latticexyz/explorer) + +World Explorer package now exports an `observer` Viem decorator that can be used to get visibility into contract writes initiated from your app. You can watch these writes stream in on the new "Observe" tab of the World Explorer. + +```ts +import { createClient, publicActions, walletActions } from "viem"; +import { observer } from "@latticexyz/explorer/observer"; + +const client = createClient({ ... }) + .extend(publicActions) + .extend(walletActions) + .extend(observer()); +``` + +By default, the `observer` action assumes the World Explorer is running at `http://localhost:13690`, but this can be customized with the `explorerUrl` option. + +```ts +observer({ + explorerUrl: "http://localhost:4444", +}); +``` + +If you want to measure the timing of transaction-to-state-change, you can also pass in a `waitForStateChange` function that takes a transaction hash and returns a partial [`TransactionReceipt`](https://viem.sh/docs/glossary/types#transactionreceipt) with `blockNumber`, `status`, and `transactionHash`. This mirrors the `waitForTransaction` function signature returned by `syncTo...` helper in `@latticexyz/store-sync`. + +```ts +observer({ + async waitForStateChange(hash) { + return await waitForTransaction(hash); + }, +}); +``` + +**[fix(world): resolve module config (#3193)](https://github.com/latticexyz/mud/commit/1f24978894725dca13c2adfee384e12f53f05c26)** (@latticexyz/world) + +Added a config resolver to add default values for `modules` in the world config. + +**[feat(store-sync): add util to fetch snapshot from indexer with SQL API (#2996)](https://github.com/latticexyz/mud/commit/8b4110e5d9ca2b7a6553a2c4078b7a8b82c6f211)** (@latticexyz/protocol-parser, @latticexyz/store-sync) + +Added `store-sync` helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at [https://mud.dev/indexer/sql](https://mud.dev/indexer/sql). + +--- + ## Version 2.2.3 Release date: Tue Sep 10 2024 diff --git a/packages/abi-ts/CHANGELOG.md b/packages/abi-ts/CHANGELOG.md index 2f9216f22f..b633a93d2a 100644 --- a/packages/abi-ts/CHANGELOG.md +++ b/packages/abi-ts/CHANGELOG.md @@ -1,5 +1,7 @@ # @latticexyz/abi-ts +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/packages/abi-ts/package.json b/packages/abi-ts/package.json index 8a8366dbf1..4fe32afeb2 100644 --- a/packages/abi-ts/package.json +++ b/packages/abi-ts/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/abi-ts", - "version": "2.2.3", + "version": "2.2.4", "description": "Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.", "repository": { "type": "git", diff --git a/packages/block-logs-stream/CHANGELOG.md b/packages/block-logs-stream/CHANGELOG.md index 76c5a2a6da..89df57f036 100644 --- a/packages/block-logs-stream/CHANGELOG.md +++ b/packages/block-logs-stream/CHANGELOG.md @@ -1,5 +1,21 @@ # @latticexyz/block-logs-stream +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] + - @latticexyz/common@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/block-logs-stream/package.json b/packages/block-logs-stream/package.json index 49a8c6266f..6262ff86cd 100644 --- a/packages/block-logs-stream/package.json +++ b/packages/block-logs-stream/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/block-logs-stream", - "version": "2.2.3", + "version": "2.2.4", "description": "Create a stream of EVM block logs for events", "repository": { "type": "git", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 09f6a6b4aa..d1c6233b32 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,33 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- d3acd92: Along with table and system labels, the MUD deployer now registers namespace labels. Additionally, labels will only be registered if they differ from the underlying resource name. +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + - @latticexyz/world-module-metadata@2.2.4 + - @latticexyz/abi-ts@2.2.4 + - @latticexyz/gas-report@2.2.4 + - @latticexyz/utils@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 84a1941283..7bf323e005 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/cli", - "version": "2.2.3", + "version": "2.2.4", "description": "Command line interface for mud", "repository": { "type": "git", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 6088e1a017..929ed325cb 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,30 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 2f935cf: To reset an account's nonce, the nonce manager uses the [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount) RPC method, + which returns the number of transactions sent from the account. + When using the `pending` block tag, this includes transactions in the mempool that have not been included in a block yet. + If an account submits a transaction with a nonce higher than the next valid nonce, this transaction will stay in the mempool until the nonce gap is closed and the transactions nonce is the next valid nonce. + This means if an account has gapped transactions "stuck in the mempool", the `eth_getTransactionCount` method with `pending` block tag can't be used to get the next valid nonce + (since it includes the number of transactions stuck in the mempool). + Since the nonce manager only resets the nonce on reload or in case of a nonce error, using the `latest` block tag by default is the safer choice to be able to recover from nonce gaps. + + Note that this change may reveal more "transaction underpriced" errors than before. These errors will now be retried automatically and should go through after the next block is mined. + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [50010fb] + - @latticexyz/schema-type@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 3adf5cb9f9..b12d999745 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/common", - "version": "2.2.3", + "version": "2.2.4", "description": "Common low level logic shared between packages", "repository": { "type": "git", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index fc2130407d..9f4ee1afd6 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] + - @latticexyz/common@2.2.4 + - @latticexyz/schema-type@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 5cfb52a125..1cf21d6e9a 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/config", - "version": "2.2.3", + "version": "2.2.4", "description": "Config for Store and World", "repository": { "type": "git", diff --git a/packages/create-mud/CHANGELOG.md b/packages/create-mud/CHANGELOG.md index 3d043b5e96..9136d42580 100644 --- a/packages/create-mud/CHANGELOG.md +++ b/packages/create-mud/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + ## 2.2.3 ## 2.2.2 diff --git a/packages/create-mud/package.json b/packages/create-mud/package.json index e9c99e5405..053e02f1e0 100644 --- a/packages/create-mud/package.json +++ b/packages/create-mud/package.json @@ -1,6 +1,6 @@ { "name": "create-mud", - "version": "2.2.3", + "version": "2.2.4", "description": "Create a new MUD project", "license": "MIT", "author": "Lattice ", diff --git a/packages/dev-tools/CHANGELOG.md b/packages/dev-tools/CHANGELOG.md index 8b75d94354..90b0e3f81b 100644 --- a/packages/dev-tools/CHANGELOG.md +++ b/packages/dev-tools/CHANGELOG.md @@ -1,5 +1,30 @@ # @latticexyz/dev-tools +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store-sync@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + - @latticexyz/recs@2.2.4 + - @latticexyz/react@2.2.4 + - @latticexyz/utils@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.json index a334c4e906..b202083128 100644 --- a/packages/dev-tools/package.json +++ b/packages/dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/dev-tools", - "version": "2.2.3", + "version": "2.2.4", "description": "MUD developer tools", "repository": { "type": "git", diff --git a/packages/explorer/CHANGELOG.md b/packages/explorer/CHANGELOG.md index 81c090117e..1c076740c0 100644 --- a/packages/explorer/CHANGELOG.md +++ b/packages/explorer/CHANGELOG.md @@ -1,5 +1,60 @@ # @latticexyz/explorer +## 2.2.4 + +### Patch Changes + +- e6147b2: World Explorer now supports connecting external wallets. +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- 2060495: Added ability to connect World Explorer to Redstone and Garnet chains. The active chain is now passed as a dynamic route parameter. +- 784e5a9: World Explorer package now exports an `observer` Viem decorator that can be used to get visibility into contract writes initiated from your app. You can watch these writes stream in on the new "Observe" tab of the World Explorer. + + ```ts + import { createClient, publicActions, walletActions } from "viem"; + import { observer } from "@latticexyz/explorer/observer"; + + const client = createClient({ ... }) + .extend(publicActions) + .extend(walletActions) + .extend(observer()); + ``` + + By default, the `observer` action assumes the World Explorer is running at `http://localhost:13690`, but this can be customized with the `explorerUrl` option. + + ```ts + observer({ + explorerUrl: "http://localhost:4444", + }); + ``` + + If you want to measure the timing of transaction-to-state-change, you can also pass in a `waitForStateChange` function that takes a transaction hash and returns a partial [`TransactionReceipt`](https://viem.sh/docs/glossary/types#transactionreceipt) with `blockNumber`, `status`, and `transactionHash`. This mirrors the `waitForTransaction` function signature returned by `syncTo...` helper in `@latticexyz/store-sync`. + + ```ts + observer({ + async waitForStateChange(hash) { + return await waitForTransaction(hash); + }, + }); + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store-sync@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/explorer/package.json b/packages/explorer/package.json index cefbbba376..42331b4d7a 100644 --- a/packages/explorer/package.json +++ b/packages/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/explorer", - "version": "2.2.3", + "version": "2.2.4", "description": "World Explorer is a tool for visually exploring and manipulating the state of worlds", "type": "module", "exports": { diff --git a/packages/faucet/CHANGELOG.md b/packages/faucet/CHANGELOG.md index c56870f8bd..d5ab77f284 100644 --- a/packages/faucet/CHANGELOG.md +++ b/packages/faucet/CHANGELOG.md @@ -1,5 +1,21 @@ # @latticexyz/faucet +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] + - @latticexyz/common@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 515b03e918..131f97ef6d 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/faucet", - "version": "2.2.3", + "version": "2.2.4", "description": "Faucet API for Lattice testnet", "repository": { "type": "git", diff --git a/packages/gas-report/CHANGELOG.md b/packages/gas-report/CHANGELOG.md index d8ea4e4302..9dc312bdd2 100644 --- a/packages/gas-report/CHANGELOG.md +++ b/packages/gas-report/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/packages/gas-report/package.json b/packages/gas-report/package.json index 12a222a623..a52dc8aac2 100644 --- a/packages/gas-report/package.json +++ b/packages/gas-report/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/gas-report", - "version": "2.2.3", + "version": "2.2.4", "description": "Gas reporter for specific lines within forge tests", "repository": { "type": "git", diff --git a/packages/protocol-parser/CHANGELOG.md b/packages/protocol-parser/CHANGELOG.md index f7c9e1eb35..a5cdee257a 100644 --- a/packages/protocol-parser/CHANGELOG.md +++ b/packages/protocol-parser/CHANGELOG.md @@ -1,5 +1,24 @@ # @latticexyz/protocol-parser +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- 8b4110e: Added `store-sync` helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at [https://mud.dev/indexer/sql](https://mud.dev/indexer/sql). +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] + - @latticexyz/common@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/schema-type@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/protocol-parser/package.json b/packages/protocol-parser/package.json index 5dce1cab8c..013e07f5ec 100644 --- a/packages/protocol-parser/package.json +++ b/packages/protocol-parser/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/protocol-parser", - "version": "2.2.3", + "version": "2.2.4", "description": "Parser utilities for the MUD protocol", "repository": { "type": "git", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9884a77d9d..f298023b38 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- Updated dependencies [50010fb] + - @latticexyz/store@2.2.4 + - @latticexyz/recs@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index ebf61c9714..a4c4356a65 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/react", - "version": "2.2.3", + "version": "2.2.4", "description": "React tools for MUD client.", "repository": { "type": "git", diff --git a/packages/recs/CHANGELOG.md b/packages/recs/CHANGELOG.md index 77f10354f6..6adfcc6908 100644 --- a/packages/recs/CHANGELOG.md +++ b/packages/recs/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- Updated dependencies [50010fb] + - @latticexyz/schema-type@2.2.4 + - @latticexyz/utils@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/recs/package.json b/packages/recs/package.json index 38e4ad03b5..c1b8390509 100644 --- a/packages/recs/package.json +++ b/packages/recs/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/recs", - "version": "2.2.3", + "version": "2.2.4", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/schema-type/CHANGELOG.md b/packages/schema-type/CHANGELOG.md index d1ad952a85..605edcaf98 100644 --- a/packages/schema-type/CHANGELOG.md +++ b/packages/schema-type/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + ## 2.2.3 ## 2.2.2 diff --git a/packages/schema-type/package.json b/packages/schema-type/package.json index 5bf0b07c3b..f3b44a8ffd 100644 --- a/packages/schema-type/package.json +++ b/packages/schema-type/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/schema-type", - "version": "2.2.3", + "version": "2.2.4", "description": "SchemaType enum for various languages", "repository": { "type": "git", diff --git a/packages/solhint-config-mud/CHANGELOG.md b/packages/solhint-config-mud/CHANGELOG.md index 647abda44f..385d357718 100644 --- a/packages/solhint-config-mud/CHANGELOG.md +++ b/packages/solhint-config-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/packages/solhint-config-mud/package.json b/packages/solhint-config-mud/package.json index bb8da2859d..6a77be16fd 100644 --- a/packages/solhint-config-mud/package.json +++ b/packages/solhint-config-mud/package.json @@ -1,6 +1,6 @@ { "name": "solhint-config-mud", - "version": "2.2.3", + "version": "2.2.4", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/solhint-plugin-mud/CHANGELOG.md b/packages/solhint-plugin-mud/CHANGELOG.md index 647abda44f..385d357718 100644 --- a/packages/solhint-plugin-mud/CHANGELOG.md +++ b/packages/solhint-plugin-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/packages/solhint-plugin-mud/package.json b/packages/solhint-plugin-mud/package.json index cd3ad653a1..7baea246a4 100644 --- a/packages/solhint-plugin-mud/package.json +++ b/packages/solhint-plugin-mud/package.json @@ -1,6 +1,6 @@ { "name": "solhint-plugin-mud", - "version": "2.2.3", + "version": "2.2.4", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/stash/CHANGELOG.md b/packages/stash/CHANGELOG.md index 767806fe83..320ab2cf13 100644 --- a/packages/stash/CHANGELOG.md +++ b/packages/stash/CHANGELOG.md @@ -1,5 +1,24 @@ # @latticexyz/stash +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [50010fb] +- Updated dependencies [8b4110e] + - @latticexyz/config@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/stash/package.json b/packages/stash/package.json index 8aa6419486..808ee8baf9 100644 --- a/packages/stash/package.json +++ b/packages/stash/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/stash", - "version": "2.2.3", + "version": "2.2.4", "private": true, "description": "High performance client store and query engine for MUD", "repository": { diff --git a/packages/store-indexer/CHANGELOG.md b/packages/store-indexer/CHANGELOG.md index 4e69e7761a..0756114928 100644 --- a/packages/store-indexer/CHANGELOG.md +++ b/packages/store-indexer/CHANGELOG.md @@ -1,5 +1,26 @@ # @latticexyz/store-indexer +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/block-logs-stream@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/store-sync@2.2.4 + - @latticexyz/store@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index b5caf65377..a429377c66 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-indexer", - "version": "2.2.3", + "version": "2.2.4", "description": "Minimal Typescript indexer for Store", "repository": { "type": "git", diff --git a/packages/store-sync/CHANGELOG.md b/packages/store-sync/CHANGELOG.md index e70078af61..daf361f77b 100644 --- a/packages/store-sync/CHANGELOG.md +++ b/packages/store-sync/CHANGELOG.md @@ -1,5 +1,31 @@ # @latticexyz/store-sync +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- 8b4110e: Added `store-sync` helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at [https://mud.dev/indexer/sql](https://mud.dev/indexer/sql). +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/block-logs-stream@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + - @latticexyz/recs@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/store-sync/package.json b/packages/store-sync/package.json index 3cff5ad1ed..de23b3d4d3 100644 --- a/packages/store-sync/package.json +++ b/packages/store-sync/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-sync", - "version": "2.2.3", + "version": "2.2.4", "description": "Utilities to sync MUD Store events with a client or cache", "repository": { "type": "git", diff --git a/packages/store/CHANGELOG.md b/packages/store/CHANGELOG.md index dd09012b67..82109af6e9 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/store/package.json b/packages/store/package.json index d51a1d186d..25274c429e 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store", - "version": "2.2.3", + "version": "2.2.4", "description": "Store", "repository": { "type": "git", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index bb75483435..55c0318438 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/packages/utils/package.json b/packages/utils/package.json index 85f8dfe863..c307ca1ed6 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/utils", - "version": "2.2.3", + "version": "2.2.4", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/world-module-metadata/CHANGELOG.md b/packages/world-module-metadata/CHANGELOG.md index 00aeef7f76..087e3f332a 100644 --- a/packages/world-module-metadata/CHANGELOG.md +++ b/packages/world-module-metadata/CHANGELOG.md @@ -1,5 +1,15 @@ # @latticexyz/world-module-metadata +## 2.2.4 + +### Patch Changes + +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/world-module-metadata/package.json b/packages/world-module-metadata/package.json index d391fefbbc..3b14aa102e 100644 --- a/packages/world-module-metadata/package.json +++ b/packages/world-module-metadata/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world-module-metadata", - "version": "2.2.3", + "version": "2.2.4", "description": "Metadata world module", "repository": { "type": "git", diff --git a/packages/world-modules/CHANGELOG.md b/packages/world-modules/CHANGELOG.md index 74083fbe4d..0af9ca739c 100644 --- a/packages/world-modules/CHANGELOG.md +++ b/packages/world-modules/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [1f24978] + - @latticexyz/common@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + - @latticexyz/world@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/world-modules/package.json b/packages/world-modules/package.json index b34cd47536..8d4d8714e1 100644 --- a/packages/world-modules/package.json +++ b/packages/world-modules/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world-modules", - "version": "2.2.3", + "version": "2.2.4", "description": "World modules", "repository": { "type": "git", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index 50f0c710d2..1903ae314d 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## 2.2.4 + +### Patch Changes + +- 50010fb: Bumped viem, wagmi, and abitype packages to their latest release. + + MUD projects using these packages should do the same to ensure no type errors due to mismatched versions: + + ``` + pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6 + ``` + +- 1f24978: Added a config resolver to add default values for `modules` in the world config. +- Updated dependencies [2f935cf] +- Updated dependencies [50010fb] +- Updated dependencies [8b4110e] + - @latticexyz/common@2.2.4 + - @latticexyz/config@2.2.4 + - @latticexyz/protocol-parser@2.2.4 + - @latticexyz/schema-type@2.2.4 + - @latticexyz/store@2.2.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index 946faa2900..74186c4de6 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world", - "version": "2.2.3", + "version": "2.2.4", "description": "World framework", "repository": { "type": "git", diff --git a/test/mock-game-contracts/CHANGELOG.md b/test/mock-game-contracts/CHANGELOG.md index 930dad5b36..8ef05323b7 100644 --- a/test/mock-game-contracts/CHANGELOG.md +++ b/test/mock-game-contracts/CHANGELOG.md @@ -1,5 +1,7 @@ # mock-game-contracts +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/test/mock-game-contracts/package.json b/test/mock-game-contracts/package.json index 2e4a229aef..05f3c69bb8 100644 --- a/test/mock-game-contracts/package.json +++ b/test/mock-game-contracts/package.json @@ -1,6 +1,6 @@ { "name": "mock-game-contracts", - "version": "2.2.3", + "version": "2.2.4", "private": true, "license": "MIT", "scripts": { diff --git a/test/ts-benchmarks/CHANGELOG.md b/test/ts-benchmarks/CHANGELOG.md index 4cc4d030eb..5c1c5242f3 100644 --- a/test/ts-benchmarks/CHANGELOG.md +++ b/test/ts-benchmarks/CHANGELOG.md @@ -1,5 +1,7 @@ # ts-benchmarks +## 2.2.4 + ## 2.2.3 ## 2.2.2 diff --git a/test/ts-benchmarks/package.json b/test/ts-benchmarks/package.json index 5f34c8f013..10760d2ec2 100644 --- a/test/ts-benchmarks/package.json +++ b/test/ts-benchmarks/package.json @@ -1,6 +1,6 @@ { "name": "ts-benchmarks", - "version": "2.2.3", + "version": "2.2.4", "private": true, "license": "MIT", "scripts": {