From 512ddc4187670f9da1fa8a11db05e00be8a45901 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 05:59:37 -0700 Subject: [PATCH] Version Packages (#3202) Co-authored-by: github-actions[bot] --- .changeset/chatty-pigs-shake.md | 11 ----- .changeset/few-olives-judge.md | 6 --- .changeset/lucky-cows-fail.md | 23 ----------- CHANGELOG.md | 45 +++++++++++++++++++++ docs/pages/changelog.mdx | 45 +++++++++++++++++++++ packages/abi-ts/CHANGELOG.md | 2 + packages/abi-ts/package.json | 2 +- packages/block-logs-stream/CHANGELOG.md | 6 +++ packages/block-logs-stream/package.json | 2 +- packages/cli/CHANGELOG.md | 17 ++++++++ packages/cli/package.json | 2 +- packages/common/CHANGELOG.md | 6 +++ packages/common/package.json | 2 +- packages/config/CHANGELOG.md | 7 ++++ packages/config/package.json | 2 +- packages/create-mud/CHANGELOG.md | 2 + packages/create-mud/package.json | 2 +- packages/dev-tools/CHANGELOG.md | 14 +++++++ packages/dev-tools/package.json | 2 +- packages/explorer/CHANGELOG.md | 12 ++++++ packages/explorer/package.json | 2 +- packages/faucet/CHANGELOG.md | 6 +++ packages/faucet/package.json | 2 +- packages/gas-report/CHANGELOG.md | 2 + packages/gas-report/package.json | 2 +- packages/protocol-parser/CHANGELOG.md | 8 ++++ packages/protocol-parser/package.json | 2 +- packages/react/CHANGELOG.md | 7 ++++ packages/react/package.json | 2 +- packages/recs/CHANGELOG.md | 7 ++++ packages/recs/package.json | 2 +- packages/schema-type/CHANGELOG.md | 2 + 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 | 17 ++++++++ packages/stash/package.json | 2 +- packages/store-indexer/CHANGELOG.md | 11 +++++ packages/store-indexer/package.json | 2 +- packages/store-sync/CHANGELOG.md | 35 ++++++++++++++++ packages/store-sync/package.json | 2 +- packages/store/CHANGELOG.md | 9 +++++ packages/store/package.json | 2 +- packages/utils/CHANGELOG.md | 2 + packages/utils/package.json | 2 +- packages/world-module-metadata/CHANGELOG.md | 8 ++++ packages/world-module-metadata/package.json | 2 +- packages/world-modules/CHANGELOG.md | 10 +++++ packages/world-modules/package.json | 2 +- packages/world/CHANGELOG.md | 10 +++++ 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 +- 57 files changed, 324 insertions(+), 66 deletions(-) delete mode 100644 .changeset/chatty-pigs-shake.md delete mode 100644 .changeset/few-olives-judge.md delete mode 100644 .changeset/lucky-cows-fail.md diff --git a/.changeset/chatty-pigs-shake.md b/.changeset/chatty-pigs-shake.md deleted file mode 100644 index aa672452bd..0000000000 --- a/.changeset/chatty-pigs-shake.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@latticexyz/stash": patch ---- - -Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model. -It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates. -It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys. - -You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md). - -This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable. diff --git a/.changeset/few-olives-judge.md b/.changeset/few-olives-judge.md deleted file mode 100644 index 09489132e6..0000000000 --- a/.changeset/few-olives-judge.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@latticexyz/cli": patch ---- - -Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment. -The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds. diff --git a/.changeset/lucky-cows-fail.md b/.changeset/lucky-cows-fail.md deleted file mode 100644 index 98aa41d8b4..0000000000 --- a/.changeset/lucky-cows-fail.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@latticexyz/store-sync": patch ---- - -Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental. - -```ts -import { createClient, http } from "viem"; -import { anvil } from "viem/chains"; -import { createStash } from "@latticexyz/stash/internal"; -import { syncToStash } from "@latticexyz/store-sync/internal"; -import config from "../mud.config"; - -const client = createClient({ - chain: anvil, - transport: http(), -}); - -const address = "0x..."; - -const stash = createStash(config); -const sync = await syncToStash({ stash, client, address }); -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 44003bcff0..f863666d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ +## Version 2.2.6 + +Release date: Thu Sep 19 2024 + +### Patch changes + +**[feat(stash): release package to npm (#3184)](https://github.com/latticexyz/mud/commit/20fac30f2fb1e026f195ffe42c014cfaf9877376)** (@latticexyz/stash) + +Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model. +It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates. +It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys. + +You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md). + +This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable. + +**[fix(cli): improve performance of linked library resolution during deployment (#3197)](https://github.com/latticexyz/mud/commit/22c37c3dbec5726f52055ed61c4e5f0e52ed30c1)** (@latticexyz/cli) + +Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment. +The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds. + +**[feat(store-sync): add syncToStash util (#3192)](https://github.com/latticexyz/mud/commit/8dc588918c488f98603cbb7e183c88129942debe)** (@latticexyz/store-sync) + +Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental. + +```ts +import { createClient, http } from "viem"; +import { anvil } from "viem/chains"; +import { createStash } from "@latticexyz/stash/internal"; +import { syncToStash } from "@latticexyz/store-sync/internal"; +import config from "../mud.config"; + +const client = createClient({ + chain: anvil, + transport: http(), +}); + +const address = "0x..."; + +const stash = createStash(config); +const sync = await syncToStash({ stash, client, address }); +``` + +--- + ## Version 2.2.5 Release date: Thu Sep 19 2024 diff --git a/docs/pages/changelog.mdx b/docs/pages/changelog.mdx index 44003bcff0..f863666d5a 100644 --- a/docs/pages/changelog.mdx +++ b/docs/pages/changelog.mdx @@ -1,3 +1,48 @@ +## Version 2.2.6 + +Release date: Thu Sep 19 2024 + +### Patch changes + +**[feat(stash): release package to npm (#3184)](https://github.com/latticexyz/mud/commit/20fac30f2fb1e026f195ffe42c014cfaf9877376)** (@latticexyz/stash) + +Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model. +It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates. +It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys. + +You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md). + +This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable. + +**[fix(cli): improve performance of linked library resolution during deployment (#3197)](https://github.com/latticexyz/mud/commit/22c37c3dbec5726f52055ed61c4e5f0e52ed30c1)** (@latticexyz/cli) + +Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment. +The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds. + +**[feat(store-sync): add syncToStash util (#3192)](https://github.com/latticexyz/mud/commit/8dc588918c488f98603cbb7e183c88129942debe)** (@latticexyz/store-sync) + +Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental. + +```ts +import { createClient, http } from "viem"; +import { anvil } from "viem/chains"; +import { createStash } from "@latticexyz/stash/internal"; +import { syncToStash } from "@latticexyz/store-sync/internal"; +import config from "../mud.config"; + +const client = createClient({ + chain: anvil, + transport: http(), +}); + +const address = "0x..."; + +const stash = createStash(config); +const sync = await syncToStash({ stash, client, address }); +``` + +--- + ## Version 2.2.5 Release date: Thu Sep 19 2024 diff --git a/packages/abi-ts/CHANGELOG.md b/packages/abi-ts/CHANGELOG.md index a3851fe6d0..4dbf27e0e3 100644 --- a/packages/abi-ts/CHANGELOG.md +++ b/packages/abi-ts/CHANGELOG.md @@ -1,5 +1,7 @@ # @latticexyz/abi-ts +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/abi-ts/package.json b/packages/abi-ts/package.json index 3ba3f2c330..e84732278f 100644 --- a/packages/abi-ts/package.json +++ b/packages/abi-ts/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/abi-ts", - "version": "2.2.5", + "version": "2.2.6", "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 64ab518357..8daed638f3 100644 --- a/packages/block-logs-stream/CHANGELOG.md +++ b/packages/block-logs-stream/CHANGELOG.md @@ -1,5 +1,11 @@ # @latticexyz/block-logs-stream +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/block-logs-stream/package.json b/packages/block-logs-stream/package.json index 0d1bbee307..bc03249b26 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.5", + "version": "2.2.6", "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 b494475b3d..f0a19b267d 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- 22c37c3: Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment. + The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds. + - @latticexyz/abi-ts@2.2.6 + - @latticexyz/common@2.2.6 + - @latticexyz/config@2.2.6 + - @latticexyz/gas-report@2.2.6 + - @latticexyz/protocol-parser@2.2.6 + - @latticexyz/schema-type@2.2.6 + - @latticexyz/store@2.2.6 + - @latticexyz/utils@2.2.6 + - @latticexyz/world@2.2.6 + - @latticexyz/world-module-metadata@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 256c4b382e..65257c49ae 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/cli", - "version": "2.2.5", + "version": "2.2.6", "description": "Command line interface for mud", "repository": { "type": "git", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 70b6bc3d93..f455cc149c 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/schema-type@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 1a20973f79..119a9b191a 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/common", - "version": "2.2.5", + "version": "2.2.6", "description": "Common low level logic shared between packages", "repository": { "type": "git", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 801df2dca7..793610efed 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 +- @latticexyz/schema-type@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index a50da049e1..8aa6547b4c 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/config", - "version": "2.2.5", + "version": "2.2.6", "description": "Config for Store and World", "repository": { "type": "git", diff --git a/packages/create-mud/CHANGELOG.md b/packages/create-mud/CHANGELOG.md index eba6bbfcd1..1742bc44ff 100644 --- a/packages/create-mud/CHANGELOG.md +++ b/packages/create-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/create-mud/package.json b/packages/create-mud/package.json index 373b922ca2..74e4cdd23d 100644 --- a/packages/create-mud/package.json +++ b/packages/create-mud/package.json @@ -1,6 +1,6 @@ { "name": "create-mud", - "version": "2.2.5", + "version": "2.2.6", "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 2e36d7aa5f..3c957f39ee 100644 --- a/packages/dev-tools/CHANGELOG.md +++ b/packages/dev-tools/CHANGELOG.md @@ -1,5 +1,19 @@ # @latticexyz/dev-tools +## 2.2.6 + +### Patch Changes + +- Updated dependencies [8dc5889] + - @latticexyz/store-sync@2.2.6 + - @latticexyz/common@2.2.6 + - @latticexyz/react@2.2.6 + - @latticexyz/recs@2.2.6 + - @latticexyz/schema-type@2.2.6 + - @latticexyz/store@2.2.6 + - @latticexyz/utils@2.2.6 + - @latticexyz/world@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.json index 9696567721..11e3fb417e 100644 --- a/packages/dev-tools/package.json +++ b/packages/dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/dev-tools", - "version": "2.2.5", + "version": "2.2.6", "description": "MUD developer tools", "repository": { "type": "git", diff --git a/packages/explorer/CHANGELOG.md b/packages/explorer/CHANGELOG.md index 7605d8e2d3..8a5162c91e 100644 --- a/packages/explorer/CHANGELOG.md +++ b/packages/explorer/CHANGELOG.md @@ -1,5 +1,17 @@ # @latticexyz/explorer +## 2.2.6 + +### Patch Changes + +- Updated dependencies [8dc5889] + - @latticexyz/store-sync@2.2.6 + - @latticexyz/common@2.2.6 + - @latticexyz/protocol-parser@2.2.6 + - @latticexyz/schema-type@2.2.6 + - @latticexyz/store@2.2.6 + - @latticexyz/world@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/explorer/package.json b/packages/explorer/package.json index 61ce89f9f9..9d5e42579e 100644 --- a/packages/explorer/package.json +++ b/packages/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/explorer", - "version": "2.2.5", + "version": "2.2.6", "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 0e76ff480e..ffe8b65c7e 100644 --- a/packages/faucet/CHANGELOG.md +++ b/packages/faucet/CHANGELOG.md @@ -1,5 +1,11 @@ # @latticexyz/faucet +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 33f38a9670..182de35682 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/faucet", - "version": "2.2.5", + "version": "2.2.6", "description": "Faucet API for Lattice testnet", "repository": { "type": "git", diff --git a/packages/gas-report/CHANGELOG.md b/packages/gas-report/CHANGELOG.md index eb16bb0fd9..45a33b7eff 100644 --- a/packages/gas-report/CHANGELOG.md +++ b/packages/gas-report/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/gas-report/package.json b/packages/gas-report/package.json index e7de6b2e26..91049e647d 100644 --- a/packages/gas-report/package.json +++ b/packages/gas-report/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/gas-report", - "version": "2.2.5", + "version": "2.2.6", "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 a9e21d594a..750bccb1aa 100644 --- a/packages/protocol-parser/CHANGELOG.md +++ b/packages/protocol-parser/CHANGELOG.md @@ -1,5 +1,13 @@ # @latticexyz/protocol-parser +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 +- @latticexyz/config@2.2.6 +- @latticexyz/schema-type@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/protocol-parser/package.json b/packages/protocol-parser/package.json index f7d50ec213..37b4d79fd8 100644 --- a/packages/protocol-parser/package.json +++ b/packages/protocol-parser/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/protocol-parser", - "version": "2.2.5", + "version": "2.2.6", "description": "Parser utilities for the MUD protocol", "repository": { "type": "git", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index e9a1b88b75..e526a162a3 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/recs@2.2.6 +- @latticexyz/store@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 299a796317..d0cf063472 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/react", - "version": "2.2.5", + "version": "2.2.6", "description": "React tools for MUD client.", "repository": { "type": "git", diff --git a/packages/recs/CHANGELOG.md b/packages/recs/CHANGELOG.md index 813fa07d3f..686de78952 100644 --- a/packages/recs/CHANGELOG.md +++ b/packages/recs/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/schema-type@2.2.6 +- @latticexyz/utils@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/recs/package.json b/packages/recs/package.json index 2a4aef46f9..b7fbad7737 100644 --- a/packages/recs/package.json +++ b/packages/recs/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/recs", - "version": "2.2.5", + "version": "2.2.6", "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 0bd96fcb11..0e5394f9f8 100644 --- a/packages/schema-type/CHANGELOG.md +++ b/packages/schema-type/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/schema-type/package.json b/packages/schema-type/package.json index 8d3265214d..950cfc029c 100644 --- a/packages/schema-type/package.json +++ b/packages/schema-type/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/schema-type", - "version": "2.2.5", + "version": "2.2.6", "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 b729f0ef11..20aab8307d 100644 --- a/packages/solhint-config-mud/CHANGELOG.md +++ b/packages/solhint-config-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/solhint-config-mud/package.json b/packages/solhint-config-mud/package.json index 95d36ae4bc..0680fd294e 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.5", + "version": "2.2.6", "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 b729f0ef11..20aab8307d 100644 --- a/packages/solhint-plugin-mud/CHANGELOG.md +++ b/packages/solhint-plugin-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/solhint-plugin-mud/package.json b/packages/solhint-plugin-mud/package.json index f9fdb190b4..fc87a4bd48 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.5", + "version": "2.2.6", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/stash/CHANGELOG.md b/packages/stash/CHANGELOG.md index 5ac6aff728..bc91118329 100644 --- a/packages/stash/CHANGELOG.md +++ b/packages/stash/CHANGELOG.md @@ -1,5 +1,22 @@ # @latticexyz/stash +## 2.2.6 + +### Patch Changes + +- 20fac30: Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model. + It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates. + It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys. + + You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md). + + This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable. + + - @latticexyz/config@2.2.6 + - @latticexyz/protocol-parser@2.2.6 + - @latticexyz/schema-type@2.2.6 + - @latticexyz/store@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/stash/package.json b/packages/stash/package.json index 20805bd286..fd6c9ed90d 100644 --- a/packages/stash/package.json +++ b/packages/stash/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/stash", - "version": "2.2.5", + "version": "2.2.6", "description": "High performance client store and query engine for MUD", "repository": { "type": "git", diff --git a/packages/store-indexer/CHANGELOG.md b/packages/store-indexer/CHANGELOG.md index cd533d239d..b2e96e168f 100644 --- a/packages/store-indexer/CHANGELOG.md +++ b/packages/store-indexer/CHANGELOG.md @@ -1,5 +1,16 @@ # @latticexyz/store-indexer +## 2.2.6 + +### Patch Changes + +- Updated dependencies [8dc5889] + - @latticexyz/store-sync@2.2.6 + - @latticexyz/block-logs-stream@2.2.6 + - @latticexyz/common@2.2.6 + - @latticexyz/protocol-parser@2.2.6 + - @latticexyz/store@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index 754d204a08..12eebf8c1c 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-indexer", - "version": "2.2.5", + "version": "2.2.6", "description": "Minimal Typescript indexer for Store", "repository": { "type": "git", diff --git a/packages/store-sync/CHANGELOG.md b/packages/store-sync/CHANGELOG.md index ba3b691c04..080d1e6f81 100644 --- a/packages/store-sync/CHANGELOG.md +++ b/packages/store-sync/CHANGELOG.md @@ -1,5 +1,40 @@ # @latticexyz/store-sync +## 2.2.6 + +### Patch Changes + +- 8dc5889: Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental. + + ```ts + import { createClient, http } from "viem"; + import { anvil } from "viem/chains"; + import { createStash } from "@latticexyz/stash/internal"; + import { syncToStash } from "@latticexyz/store-sync/internal"; + import config from "../mud.config"; + + const client = createClient({ + chain: anvil, + transport: http(), + }); + + const address = "0x..."; + + const stash = createStash(config); + const sync = await syncToStash({ stash, client, address }); + ``` + +- Updated dependencies [20fac30] + - @latticexyz/stash@2.2.6 + - @latticexyz/block-logs-stream@2.2.6 + - @latticexyz/common@2.2.6 + - @latticexyz/config@2.2.6 + - @latticexyz/protocol-parser@2.2.6 + - @latticexyz/recs@2.2.6 + - @latticexyz/schema-type@2.2.6 + - @latticexyz/store@2.2.6 + - @latticexyz/world@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/store-sync/package.json b/packages/store-sync/package.json index bf589cce43..750e7c7071 100644 --- a/packages/store-sync/package.json +++ b/packages/store-sync/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-sync", - "version": "2.2.5", + "version": "2.2.6", "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 25231578bc..f025a9418c 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 +- @latticexyz/config@2.2.6 +- @latticexyz/protocol-parser@2.2.6 +- @latticexyz/schema-type@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/store/package.json b/packages/store/package.json index 60c319cd6e..9d87b40ab9 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store", - "version": "2.2.5", + "version": "2.2.6", "description": "Store", "repository": { "type": "git", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 23a31f6d7e..fb37b04e3f 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/packages/utils/package.json b/packages/utils/package.json index 3048e4b150..d55a0da8ac 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/utils", - "version": "2.2.5", + "version": "2.2.6", "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 090b4a3d05..925253e412 100644 --- a/packages/world-module-metadata/CHANGELOG.md +++ b/packages/world-module-metadata/CHANGELOG.md @@ -1,5 +1,13 @@ # @latticexyz/world-module-metadata +## 2.2.6 + +### Patch Changes + +- @latticexyz/schema-type@2.2.6 +- @latticexyz/store@2.2.6 +- @latticexyz/world@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/world-module-metadata/package.json b/packages/world-module-metadata/package.json index 82d4647da6..c676bb2c0a 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.5", + "version": "2.2.6", "description": "Metadata world module", "repository": { "type": "git", diff --git a/packages/world-modules/CHANGELOG.md b/packages/world-modules/CHANGELOG.md index 83c6336112..00c2d6e0ba 100644 --- a/packages/world-modules/CHANGELOG.md +++ b/packages/world-modules/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 +- @latticexyz/config@2.2.6 +- @latticexyz/schema-type@2.2.6 +- @latticexyz/store@2.2.6 +- @latticexyz/world@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/world-modules/package.json b/packages/world-modules/package.json index b9f0eec9bf..5c9ec3dc22 100644 --- a/packages/world-modules/package.json +++ b/packages/world-modules/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world-modules", - "version": "2.2.5", + "version": "2.2.6", "description": "World modules", "repository": { "type": "git", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index 48d318c3b3..b864000799 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 2.2.6 + +### Patch Changes + +- @latticexyz/common@2.2.6 +- @latticexyz/config@2.2.6 +- @latticexyz/protocol-parser@2.2.6 +- @latticexyz/schema-type@2.2.6 +- @latticexyz/store@2.2.6 + ## 2.2.5 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index 49c87b4adf..00a1e98b4a 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world", - "version": "2.2.5", + "version": "2.2.6", "description": "World framework", "repository": { "type": "git", diff --git a/test/mock-game-contracts/CHANGELOG.md b/test/mock-game-contracts/CHANGELOG.md index 4738bab2bb..2f81044100 100644 --- a/test/mock-game-contracts/CHANGELOG.md +++ b/test/mock-game-contracts/CHANGELOG.md @@ -1,5 +1,7 @@ # mock-game-contracts +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/test/mock-game-contracts/package.json b/test/mock-game-contracts/package.json index 0a2b0ea9ff..da0ffa1af3 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.5", + "version": "2.2.6", "private": true, "license": "MIT", "scripts": { diff --git a/test/ts-benchmarks/CHANGELOG.md b/test/ts-benchmarks/CHANGELOG.md index 77568c2313..75154d20ae 100644 --- a/test/ts-benchmarks/CHANGELOG.md +++ b/test/ts-benchmarks/CHANGELOG.md @@ -1,5 +1,7 @@ # ts-benchmarks +## 2.2.6 + ## 2.2.5 ## 2.2.4 diff --git a/test/ts-benchmarks/package.json b/test/ts-benchmarks/package.json index 3463572a86..3db23565aa 100644 --- a/test/ts-benchmarks/package.json +++ b/test/ts-benchmarks/package.json @@ -1,6 +1,6 @@ { "name": "ts-benchmarks", - "version": "2.2.5", + "version": "2.2.6", "private": true, "license": "MIT", "scripts": {