diff --git a/.changeset/big-cooks-fetch.md b/.changeset/big-cooks-fetch.md deleted file mode 100644 index bf917b0921..0000000000 --- a/.changeset/big-cooks-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Improved the performance of the explorer's `Interact` tab by fetching the ABI from an indexer instead of from an Ethereum RPC if available. diff --git a/.changeset/blue-trees-invent.md b/.changeset/blue-trees-invent.md deleted file mode 100644 index eb05f585de..0000000000 --- a/.changeset/blue-trees-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -The transactions list in the explorer is now updated every 100ms instead of on every incoming transaction, to improve performance when there are many incoming transactions. diff --git a/.changeset/dirty-lemons-complain.md b/.changeset/dirty-lemons-complain.md deleted file mode 100644 index c6a8e6bbf7..0000000000 --- a/.changeset/dirty-lemons-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -The columns in the Explore tab table are now sorted correctly according to their types. diff --git a/.changeset/funny-peas-care.md b/.changeset/funny-peas-care.md deleted file mode 100644 index 1f81d5cd15..0000000000 --- a/.changeset/funny-peas-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Added support for ERC-4337 bundled transactions, monitoring them by either listening to chain blocks or using the `observer` transport wrapper. Each user operation within a bundled transaction is displayed as an individual transaction in the Observe tab. diff --git a/.changeset/hip-spies-wave.md b/.changeset/hip-spies-wave.md deleted file mode 100644 index c8e4fc8e77..0000000000 --- a/.changeset/hip-spies-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -When accessing a new table in Explore tab, the SQL editor now encloses all column names in double quotes in order to prevent invalid queries. diff --git a/.changeset/itchy-fireants-drop.md b/.changeset/itchy-fireants-drop.md deleted file mode 100644 index 27399c8e30..0000000000 --- a/.changeset/itchy-fireants-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/cli": patch ---- - -Deployer now retrieves resource tags by fetching logs to work around RPC rate limiting issues. diff --git a/.changeset/lazy-windows-sip.md b/.changeset/lazy-windows-sip.md deleted file mode 100644 index 7ec6eaa698..0000000000 --- a/.changeset/lazy-windows-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -The latest ABI changes are now consistently fetched correctly. diff --git a/.changeset/little-ligers-impress.md b/.changeset/little-ligers-impress.md deleted file mode 100644 index 405ff29909..0000000000 --- a/.changeset/little-ligers-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Fixed world ABI fetching in Rhodolite. diff --git a/.changeset/many-peaches-cry.md b/.changeset/many-peaches-cry.md deleted file mode 100644 index 3089a2cd14..0000000000 --- a/.changeset/many-peaches-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/store-sync": patch ---- - -Fixed a bug in `watchLogs` where logs from the buffer were not applied during the initial sync. diff --git a/.changeset/mighty-lions-move.md b/.changeset/mighty-lions-move.md deleted file mode 100644 index 410c17f656..0000000000 --- a/.changeset/mighty-lions-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Transactions in `Observe` tab now display decoded `callFrom` function calls. diff --git a/.changeset/nice-ligers-cough.md b/.changeset/nice-ligers-cough.md deleted file mode 100644 index 651530f9ea..0000000000 --- a/.changeset/nice-ligers-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/cli": patch ---- - -Deployer will now throw an error if it detects an already registered table with a different schema than the one you are trying to deploy. diff --git a/.changeset/nine-countries-nail.md b/.changeset/nine-countries-nail.md deleted file mode 100644 index ab3ebf579b..0000000000 --- a/.changeset/nine-countries-nail.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@latticexyz/store-consumer": patch -"@latticexyz/world-module-erc20": patch ---- - -Extracted StoreConsumer base contracts into an independent package. -Added a `registerNamespace` boolean to `WithWorld` to provide more control over namespace registration. diff --git a/.changeset/orange-houses-drop.md b/.changeset/orange-houses-drop.md deleted file mode 100644 index 26f5b01ba2..0000000000 --- a/.changeset/orange-houses-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -Observer transport now uses the `blockExplorers.worldsExplorer.url` from the chain config if no `explorerUrl` is provided. diff --git a/.changeset/perfect-zebras-rest.md b/.changeset/perfect-zebras-rest.md deleted file mode 100644 index 1916fe7731..0000000000 --- a/.changeset/perfect-zebras-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/explorer": patch ---- - -When accessing a new table in Explore tab, the SQL editor now encloses column names that are also PostgreSQL keywords in double quotes in order to prevent invalid queries. diff --git a/.changeset/shy-eels-hide.md b/.changeset/shy-eels-hide.md deleted file mode 100644 index 2b4779b786..0000000000 --- a/.changeset/shy-eels-hide.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@latticexyz/store-sync": patch -"@latticexyz/world": patch ---- - -Added a `getRecords` util to fetch table records from an indexer or RPC. - -Migrated the `getFunctions` and `getWorldAbi` utils from `@latticexyz/world` to `@latticexyz/store-sync/world` to allow `getFunctions` and `getWorldAbi` to use `getRecords` internally without circular dependencies. diff --git a/.changeset/slimy-cheetahs-vanish.md b/.changeset/slimy-cheetahs-vanish.md deleted file mode 100644 index d6e792be25..0000000000 --- a/.changeset/slimy-cheetahs-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/cli": patch ---- - -Added an `indexerUrl` option to the `mud deploy` and `mud pull` CLI commands to read table records from an indexer instead of fetching logs from an Ethereum RPC. diff --git a/.changeset/smart-suns-scream.md b/.changeset/smart-suns-scream.md deleted file mode 100644 index 1d33c9985c..0000000000 --- a/.changeset/smart-suns-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/abi-ts": patch ---- - -Using a TS extension (rather than DTS) now correctly includes `as const` in the TS output. diff --git a/.changeset/soft-rings-grab.md b/.changeset/soft-rings-grab.md deleted file mode 100644 index 0459025933..0000000000 --- a/.changeset/soft-rings-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/world": patch ---- - -`getFunctions` now internally uses `fetchLogs` for better handling of block range errors. diff --git a/.changeset/tiny-parrots-hang.md b/.changeset/tiny-parrots-hang.md deleted file mode 100644 index a2dd680013..0000000000 --- a/.changeset/tiny-parrots-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/store-sync": patch ---- - -Experimental pending logs watcher now reconnects if it loses connection or times out. diff --git a/.changeset/tough-laws-whisper.md b/.changeset/tough-laws-whisper.md deleted file mode 100644 index 07e21a9a31..0000000000 --- a/.changeset/tough-laws-whisper.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@latticexyz/store": patch -"@latticexyz/world": patch ---- - -Adds an experimental feature to automatically generate Solidity libraries from systems, making it easier to perform calls between systems. diff --git a/.changeset/yellow-spoons-mate.md b/.changeset/yellow-spoons-mate.md deleted file mode 100644 index cb1bf9e3cc..0000000000 --- a/.changeset/yellow-spoons-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/common": patch ---- - -Updated Rhodolite chain config. diff --git a/.changeset/yellow-trains-do.md b/.changeset/yellow-trains-do.md deleted file mode 100644 index a642ad1e2d..0000000000 --- a/.changeset/yellow-trains-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@latticexyz/world": patch ---- - -Add a SystemCall.staticcall function that performs a staticcall without executing hooks. diff --git a/docs/data/changelog.json b/docs/data/changelog.json index a91b210ee7..2d7ea067b2 100644 --- a/docs/data/changelog.json +++ b/docs/data/changelog.json @@ -1,4 +1,334 @@ [ + { + "version": "2.2.15", + "date": "2024-12-04T15:57:27.281Z", + "changes": { + "patch": [ + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nImproved the performance of the explorer's `Interact` tab by fetching the ABI from an indexer instead of from an Ethereum RPC if available.", + "type": 0, + "commitHash": "b819749268918559589c12451d88ec1f933182d8", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nThe transactions list in the explorer is now updated every 100ms instead of on every incoming transaction, to improve performance when there are many incoming transactions.", + "type": 0, + "commitHash": "07b6be82ace9654ce043e616e28b347f3121f415", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "feat(explorer): buffer transactions (#3365)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nThe columns in the Explore tab table are now sorted correctly according to their types.", + "type": 0, + "commitHash": "722f4b4c48b9e49509a47e5a23f1ce45dbe9999d", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "fix(explorer): type-based sorting (#3340)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nAdded support for ERC-4337 bundled transactions, monitoring them by either listening to chain blocks or using the `observer` transport wrapper. Each user operation within a bundled transaction is displayed as an individual transaction in the Observe tab.", + "type": 0, + "commitHash": "059240612a3ba74d3e16dfb3b1b2c7276a6ebe1d", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "feat(explorer): bundled transactions support (#3313)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nWhen accessing a new table in Explore tab, the SQL editor now encloses all column names in double quotes in order to prevent invalid queries.", + "type": 0, + "commitHash": "0facee02cd70b7f8cd09a7faec59972ba95453d1", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "fix(explorer): format default sql query (#3363)" + }, + { + "packages": [ + { + "package": "@latticexyz/cli", + "type": "patch" + } + ], + "description": "\nDeployer now retrieves resource tags by fetching logs to work around RPC rate limiting issues.", + "type": 0, + "commitHash": "3168f1f56abce047a639582b50bf1aa2c7906c90", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "chore: add changeset for cli PR #3350 (#3353)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nThe latest ABI changes are now consistently fetched correctly.", + "type": 0, + "commitHash": "3258a6d66251aa87514e5e63456f989a34bd1b8b", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "fix(explorer): fetch latest abi (#3370)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nFixed world ABI fetching in Rhodolite.", + "type": 0, + "commitHash": "2be543f7f0936f5dc94c13613da679d8634dfc27", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "fix(explorer): switch to fetchBlockLogs (#3352)" + }, + { + "packages": [ + { + "package": "@latticexyz/store-sync", + "type": "patch" + } + ], + "description": "\nFixed a bug in `watchLogs` where logs from the buffer were not applied during the initial sync.", + "type": 0, + "commitHash": "cd9fd0abd859f1d83baafc93a91e238d81726928", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "fix(store-sync): apply logs from buffer in watchLogs (#3346)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nTransactions in `Observe` tab now display decoded `callFrom` function calls.", + "type": 0, + "commitHash": "d542357350b85654bc65f3befad22a3509c4ddb6", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "feat(explorer): decoded callFrom transactions (#3364)" + }, + { + "packages": [ + { + "package": "@latticexyz/cli", + "type": "patch" + } + ], + "description": "\nDeployer will now throw an error if it detects an already registered table with a different schema than the one you are trying to deploy.", + "type": 0, + "commitHash": "ee388ed599b051400a6f1fc5d4c5d369e466ad92", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "fix(cli): throw error on schema changes (#3336)" + }, + { + "packages": [ + { + "package": "@latticexyz/store-consumer", + "type": "patch" + }, + { + "package": "@latticexyz/world-module-erc20", + "type": "patch" + } + ], + "description": "\nExtracted StoreConsumer base contracts into an independent package.\nAdded a `registerNamespace` boolean to `WithWorld` to provide more control over namespace registration.", + "type": 0, + "commitHash": "d17a9be933cf4dbf869e26e6f9ee070444048312", + "authorName": "V", + "authorEmail": "vdrg@protonmail.ch", + "title": "feat(store-consumer): extract store consumer contracts (#3345)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nObserver transport now uses the `blockExplorers.worldsExplorer.url` from the chain config if no `explorerUrl` is provided.", + "type": 0, + "commitHash": "88b9daf1e01bd8675e31c455155759a3ef2af4f8", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "feat(explorer): get observer url from chain config (#3366)" + }, + { + "packages": [ + { + "package": "@latticexyz/explorer", + "type": "patch" + } + ], + "description": "\nWhen accessing a new table in Explore tab, the SQL editor now encloses column names that are also PostgreSQL keywords in double quotes in order to prevent invalid queries.", + "type": 0, + "commitHash": "9c1ca41560e2b3b319976794a73807f391e78b1b", + "authorName": "Karolis Ramanauskas", + "authorEmail": "hello@karolisram.com", + "title": "fix(explorer): format default sql query (#3307)" + }, + { + "packages": [ + { + "package": "@latticexyz/store-sync", + "type": "patch" + }, + { + "package": "@latticexyz/world", + "type": "patch" + } + ], + "description": "\nAdded a `getRecords` util to fetch table records from an indexer or RPC.\n\nMigrated the `getFunctions` and `getWorldAbi` utils from `@latticexyz/world` to `@latticexyz/store-sync/world` to allow `getFunctions` and `getWorldAbi` to use `getRecords` internally without circular dependencies.", + "type": 0, + "commitHash": "b819749268918559589c12451d88ec1f933182d8", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)" + }, + { + "packages": [ + { + "package": "@latticexyz/cli", + "type": "patch" + } + ], + "description": "\nAdded an `indexerUrl` option to the `mud deploy` and `mud pull` CLI commands to read table records from an indexer instead of fetching logs from an Ethereum RPC.", + "type": 0, + "commitHash": "b819749268918559589c12451d88ec1f933182d8", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)" + }, + { + "packages": [ + { + "package": "@latticexyz/abi-ts", + "type": "patch" + } + ], + "description": "\nUsing a TS extension (rather than DTS) now correctly includes `as const` in the TS output.", + "type": 0, + "commitHash": "534039428496bcededc62d2e450d29d7bac42475", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "fix(abi-ts): ts output should use as const (#3348)" + }, + { + "packages": [ + { + "package": "@latticexyz/world", + "type": "patch" + } + ], + "description": "\n`getFunctions` now internally uses `fetchLogs` for better handling of block range errors.", + "type": 0, + "commitHash": "22674ad244f59afd6bd364a3dd44df36992dd35f", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "fix(world): use fetchLogs in getFunctions (#3338)" + }, + { + "packages": [ + { + "package": "@latticexyz/store-sync", + "type": "patch" + } + ], + "description": "\nExperimental pending logs watcher now reconnects if it loses connection or times out.", + "type": 0, + "commitHash": "9ddc874ecbe8671c197619a23bdeac2bee57174e", + "authorName": "alvarius", + "authorEmail": "alvarius@lattice.xyz", + "title": "fix(store-sync): reconnect unresponsive watchLogs socket (#3301)" + }, + { + "packages": [ + { + "package": "@latticexyz/store", + "type": "patch" + }, + { + "package": "@latticexyz/world", + "type": "patch" + } + ], + "description": "\nAdds an experimental feature to automatically generate Solidity libraries from systems, making it easier to perform calls between systems.", + "type": 0, + "commitHash": "09536b0614a03478fa0f53ec8beefef80455387d", + "authorName": "V", + "authorEmail": "3252614+vdrg@users.noreply.github.com", + "title": "feat: system libraries (#3374)" + }, + { + "packages": [ + { + "package": "@latticexyz/common", + "type": "patch" + } + ], + "description": "\nUpdated Rhodolite chain config.", + "type": 0, + "commitHash": "88b9daf1e01bd8675e31c455155759a3ef2af4f8", + "authorName": "Kevin Ingersoll", + "authorEmail": "kingersoll@gmail.com", + "title": "feat(explorer): get observer url from chain config (#3366)" + }, + { + "packages": [ + { + "package": "@latticexyz/world", + "type": "patch" + } + ], + "description": "\nAdd a SystemCall.staticcall function that performs a staticcall without executing hooks.", + "type": 0, + "commitHash": "275c867182df9f1e22a6d4f0901a494c40e29f9a", + "authorName": "V", + "authorEmail": "3252614+vdrg@users.noreply.github.com", + "title": "feat(world): add SystemCall.staticcall (#3381)" + } + ], + "minor": [], + "major": [] + } + }, { "version": "2.2.14", "date": "2024-10-24T00:00:00.000Z", @@ -6196,4 +6526,4 @@ ] } } -] +] \ No newline at end of file diff --git a/docs/pages/changelog.mdx b/docs/pages/changelog.mdx index 4b41ffa6fc..8a89d3a34d 100644 --- a/docs/pages/changelog.mdx +++ b/docs/pages/changelog.mdx @@ -1,3 +1,102 @@ +## Version 2.2.15 + +Release date: Wed Dec 04 2024 + +### Patch changes + +**[feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)](https://github.com/latticexyz/mud/commit/b819749268918559589c12451d88ec1f933182d8)** (@latticexyz/explorer) + +Improved the performance of the explorer's `Interact` tab by fetching the ABI from an indexer instead of from an Ethereum RPC if available. + +**[feat(explorer): buffer transactions (#3365)](https://github.com/latticexyz/mud/commit/07b6be82ace9654ce043e616e28b347f3121f415)** (@latticexyz/explorer) + +The transactions list in the explorer is now updated every 100ms instead of on every incoming transaction, to improve performance when there are many incoming transactions. + +**[fix(explorer): type-based sorting (#3340)](https://github.com/latticexyz/mud/commit/722f4b4c48b9e49509a47e5a23f1ce45dbe9999d)** (@latticexyz/explorer) + +The columns in the Explore tab table are now sorted correctly according to their types. + +**[feat(explorer): bundled transactions support (#3313)](https://github.com/latticexyz/mud/commit/059240612a3ba74d3e16dfb3b1b2c7276a6ebe1d)** (@latticexyz/explorer) + +Added support for ERC-4337 bundled transactions, monitoring them by either listening to chain blocks or using the `observer` transport wrapper. Each user operation within a bundled transaction is displayed as an individual transaction in the Observe tab. + +**[fix(explorer): format default sql query (#3363)](https://github.com/latticexyz/mud/commit/0facee02cd70b7f8cd09a7faec59972ba95453d1)** (@latticexyz/explorer) + +When accessing a new table in Explore tab, the SQL editor now encloses all column names in double quotes in order to prevent invalid queries. + +**[chore: add changeset for cli PR #3350 (#3353)](https://github.com/latticexyz/mud/commit/3168f1f56abce047a639582b50bf1aa2c7906c90)** (@latticexyz/cli) + +Deployer now retrieves resource tags by fetching logs to work around RPC rate limiting issues. + +**[fix(explorer): fetch latest abi (#3370)](https://github.com/latticexyz/mud/commit/3258a6d66251aa87514e5e63456f989a34bd1b8b)** (@latticexyz/explorer) + +The latest ABI changes are now consistently fetched correctly. + +**[fix(explorer): switch to fetchBlockLogs (#3352)](https://github.com/latticexyz/mud/commit/2be543f7f0936f5dc94c13613da679d8634dfc27)** (@latticexyz/explorer) + +Fixed world ABI fetching in Rhodolite. + +**[fix(store-sync): apply logs from buffer in watchLogs (#3346)](https://github.com/latticexyz/mud/commit/cd9fd0abd859f1d83baafc93a91e238d81726928)** (@latticexyz/store-sync) + +Fixed a bug in `watchLogs` where logs from the buffer were not applied during the initial sync. + +**[feat(explorer): decoded callFrom transactions (#3364)](https://github.com/latticexyz/mud/commit/d542357350b85654bc65f3befad22a3509c4ddb6)** (@latticexyz/explorer) + +Transactions in `Observe` tab now display decoded `callFrom` function calls. + +**[fix(cli): throw error on schema changes (#3336)](https://github.com/latticexyz/mud/commit/ee388ed599b051400a6f1fc5d4c5d369e466ad92)** (@latticexyz/cli) + +Deployer will now throw an error if it detects an already registered table with a different schema than the one you are trying to deploy. + +**[feat(store-consumer): extract store consumer contracts (#3345)](https://github.com/latticexyz/mud/commit/d17a9be933cf4dbf869e26e6f9ee070444048312)** (@latticexyz/store-consumer, @latticexyz/world-module-erc20) + +Extracted StoreConsumer base contracts into an independent package. +Added a `registerNamespace` boolean to `WithWorld` to provide more control over namespace registration. + +**[feat(explorer): get observer url from chain config (#3366)](https://github.com/latticexyz/mud/commit/88b9daf1e01bd8675e31c455155759a3ef2af4f8)** (@latticexyz/explorer) + +Observer transport now uses the `blockExplorers.worldsExplorer.url` from the chain config if no `explorerUrl` is provided. + +**[fix(explorer): format default sql query (#3307)](https://github.com/latticexyz/mud/commit/9c1ca41560e2b3b319976794a73807f391e78b1b)** (@latticexyz/explorer) + +When accessing a new table in Explore tab, the SQL editor now encloses column names that are also PostgreSQL keywords in double quotes in order to prevent invalid queries. + +**[feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)](https://github.com/latticexyz/mud/commit/b819749268918559589c12451d88ec1f933182d8)** (@latticexyz/store-sync, @latticexyz/world) + +Added a `getRecords` util to fetch table records from an indexer or RPC. + +Migrated the `getFunctions` and `getWorldAbi` utils from `@latticexyz/world` to `@latticexyz/store-sync/world` to allow `getFunctions` and `getWorldAbi` to use `getRecords` internally without circular dependencies. + +**[feat: add `getRecords` util to fetch records from indexer, update deployer and explorer to use indexer (#3385)](https://github.com/latticexyz/mud/commit/b819749268918559589c12451d88ec1f933182d8)** (@latticexyz/cli) + +Added an `indexerUrl` option to the `mud deploy` and `mud pull` CLI commands to read table records from an indexer instead of fetching logs from an Ethereum RPC. + +**[fix(abi-ts): ts output should use as const (#3348)](https://github.com/latticexyz/mud/commit/534039428496bcededc62d2e450d29d7bac42475)** (@latticexyz/abi-ts) + +Using a TS extension (rather than DTS) now correctly includes `as const` in the TS output. + +**[fix(world): use fetchLogs in getFunctions (#3338)](https://github.com/latticexyz/mud/commit/22674ad244f59afd6bd364a3dd44df36992dd35f)** (@latticexyz/world) + +`getFunctions` now internally uses `fetchLogs` for better handling of block range errors. + +**[fix(store-sync): reconnect unresponsive watchLogs socket (#3301)](https://github.com/latticexyz/mud/commit/9ddc874ecbe8671c197619a23bdeac2bee57174e)** (@latticexyz/store-sync) + +Experimental pending logs watcher now reconnects if it loses connection or times out. + +**[feat: system libraries (#3374)](https://github.com/latticexyz/mud/commit/09536b0614a03478fa0f53ec8beefef80455387d)** (@latticexyz/store, @latticexyz/world) + +Adds an experimental feature to automatically generate Solidity libraries from systems, making it easier to perform calls between systems. + +**[feat(explorer): get observer url from chain config (#3366)](https://github.com/latticexyz/mud/commit/88b9daf1e01bd8675e31c455155759a3ef2af4f8)** (@latticexyz/common) + +Updated Rhodolite chain config. + +**[feat(world): add SystemCall.staticcall (#3381)](https://github.com/latticexyz/mud/commit/275c867182df9f1e22a6d4f0901a494c40e29f9a)** (@latticexyz/world) + +Add a SystemCall.staticcall function that performs a staticcall without executing hooks. + +--- + ## Version 2.2.14 Release date: Thu Oct 24 2024 diff --git a/packages/abi-ts/CHANGELOG.md b/packages/abi-ts/CHANGELOG.md index bd1ec7bd7d..f851c40b78 100644 --- a/packages/abi-ts/CHANGELOG.md +++ b/packages/abi-ts/CHANGELOG.md @@ -1,5 +1,11 @@ # @latticexyz/abi-ts +## 2.2.15 + +### Patch Changes + +- 5340394: Using a TS extension (rather than DTS) now correctly includes `as const` in the TS output. + ## 2.2.14 ## 2.2.13 diff --git a/packages/abi-ts/package.json b/packages/abi-ts/package.json index 23dec12075..8e7037e4b6 100644 --- a/packages/abi-ts/package.json +++ b/packages/abi-ts/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/abi-ts", - "version": "2.2.14", + "version": "2.2.15", "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 263dfe1ad2..70adcc4a38 100644 --- a/packages/block-logs-stream/CHANGELOG.md +++ b/packages/block-logs-stream/CHANGELOG.md @@ -1,5 +1,12 @@ # @latticexyz/block-logs-stream +## 2.2.15 + +### Patch Changes + +- Updated dependencies [88b9daf] + - @latticexyz/common@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/block-logs-stream/package.json b/packages/block-logs-stream/package.json index fe13680686..606b90d237 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.14", + "version": "2.2.15", "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 9baf244b6a..eaa53bd7fb 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,33 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- 3168f1f: Deployer now retrieves resource tags by fetching logs to work around RPC rate limiting issues. +- ee388ed: Deployer will now throw an error if it detects an already registered table with a different schema than the one you are trying to deploy. +- b819749: Added an `indexerUrl` option to the `mud deploy` and `mud pull` CLI commands to read table records from an indexer instead of fetching logs from an Ethereum RPC. +- Updated dependencies [cd9fd0a] +- Updated dependencies [b819749] +- Updated dependencies [5340394] +- Updated dependencies [22674ad] +- Updated dependencies [9ddc874] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] +- Updated dependencies [275c867] + - @latticexyz/store-sync@2.2.15 + - @latticexyz/world@2.2.15 + - @latticexyz/abi-ts@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/world-module-metadata@2.2.15 + - @latticexyz/block-logs-stream@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/gas-report@2.2.15 + - @latticexyz/schema-type@2.2.15 + - @latticexyz/utils@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 30e4a107e5..9f421fa2d1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/cli", - "version": "2.2.14", + "version": "2.2.15", "description": "Command line interface for mud", "repository": { "type": "git", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index c82e52a558..43cfa1af5e 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- 88b9daf: Updated Rhodolite chain config. + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 71e2673bf5..ac30b84300 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/common", - "version": "2.2.14", + "version": "2.2.15", "description": "Common low level logic shared between packages", "repository": { "type": "git", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 9027726912..b54412b012 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- Updated dependencies [88b9daf] + - @latticexyz/common@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 18277dd872..6616c1ef67 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/config", - "version": "2.2.14", + "version": "2.2.15", "description": "Config for Store and World", "repository": { "type": "git", diff --git a/packages/create-mud/CHANGELOG.md b/packages/create-mud/CHANGELOG.md index 584bcaa396..61c11f77b4 100644 --- a/packages/create-mud/CHANGELOG.md +++ b/packages/create-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/create-mud/package.json b/packages/create-mud/package.json index 18734f2160..4d7f73a39c 100644 --- a/packages/create-mud/package.json +++ b/packages/create-mud/package.json @@ -1,6 +1,6 @@ { "name": "create-mud", - "version": "2.2.14", + "version": "2.2.15", "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 40ee36d761..8f1154612c 100644 --- a/packages/dev-tools/CHANGELOG.md +++ b/packages/dev-tools/CHANGELOG.md @@ -1,5 +1,25 @@ # @latticexyz/dev-tools +## 2.2.15 + +### Patch Changes + +- Updated dependencies [cd9fd0a] +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [9ddc874] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] +- Updated dependencies [275c867] + - @latticexyz/store-sync@2.2.15 + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/react@2.2.15 + - @latticexyz/recs@2.2.15 + - @latticexyz/schema-type@2.2.15 + - @latticexyz/utils@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.json index 30ca1bcf13..58d3c62be2 100644 --- a/packages/dev-tools/package.json +++ b/packages/dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/dev-tools", - "version": "2.2.14", + "version": "2.2.15", "description": "MUD developer tools", "repository": { "type": "git", diff --git a/packages/explorer/CHANGELOG.md b/packages/explorer/CHANGELOG.md index d14b013a09..b4af10b556 100644 --- a/packages/explorer/CHANGELOG.md +++ b/packages/explorer/CHANGELOG.md @@ -1,5 +1,36 @@ # @latticexyz/explorer +## 2.2.15 + +### Patch Changes + +- b819749: Improved the performance of the explorer's `Interact` tab by fetching the ABI from an indexer instead of from an Ethereum RPC if available. +- 07b6be8: The transactions list in the explorer is now updated every 100ms instead of on every incoming transaction, to improve performance when there are many incoming transactions. +- 722f4b4: The columns in the Explore tab table are now sorted correctly according to their types. +- 0592406: Added support for ERC-4337 bundled transactions, monitoring them by either listening to chain blocks or using the `observer` transport wrapper. Each user operation within a bundled transaction is displayed as an individual transaction in the Observe tab. +- 0facee0: When accessing a new table in Explore tab, the SQL editor now encloses all column names in double quotes in order to prevent invalid queries. +- 3258a6d: The latest ABI changes are now consistently fetched correctly. +- 2be543f: Fixed world ABI fetching in Rhodolite. +- d542357: Transactions in `Observe` tab now display decoded `callFrom` function calls. +- 88b9daf: Observer transport now uses the `blockExplorers.worldsExplorer.url` from the chain config if no `explorerUrl` is provided. +- 9c1ca41: When accessing a new table in Explore tab, the SQL editor now encloses column names that are also PostgreSQL keywords in double quotes in order to prevent invalid queries. +- Updated dependencies [cd9fd0a] +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [9ddc874] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] +- Updated dependencies [275c867] + - @latticexyz/store-sync@2.2.15 + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/store-indexer@2.2.15 + - @latticexyz/block-logs-stream@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/explorer/package.json b/packages/explorer/package.json index d92e80c83d..0303a5ca42 100644 --- a/packages/explorer/package.json +++ b/packages/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/explorer", - "version": "2.2.14", + "version": "2.2.15", "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 98e8be3d8e..cd5de4058d 100644 --- a/packages/faucet/CHANGELOG.md +++ b/packages/faucet/CHANGELOG.md @@ -1,5 +1,12 @@ # @latticexyz/faucet +## 2.2.15 + +### Patch Changes + +- Updated dependencies [88b9daf] + - @latticexyz/common@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 9363249acb..67fd7746e6 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/faucet", - "version": "2.2.14", + "version": "2.2.15", "description": "Faucet API for Lattice testnet", "repository": { "type": "git", diff --git a/packages/gas-report/CHANGELOG.md b/packages/gas-report/CHANGELOG.md index c8e8c190ad..320df8c4da 100644 --- a/packages/gas-report/CHANGELOG.md +++ b/packages/gas-report/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/gas-report/package.json b/packages/gas-report/package.json index ec7ecdbbd0..d9dc2a8edf 100644 --- a/packages/gas-report/package.json +++ b/packages/gas-report/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/gas-report", - "version": "2.2.14", + "version": "2.2.15", "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 7b30ad8eb4..10178d4dbe 100644 --- a/packages/protocol-parser/CHANGELOG.md +++ b/packages/protocol-parser/CHANGELOG.md @@ -1,5 +1,14 @@ # @latticexyz/protocol-parser +## 2.2.15 + +### Patch Changes + +- Updated dependencies [88b9daf] + - @latticexyz/common@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/protocol-parser/package.json b/packages/protocol-parser/package.json index 7e6a1b8ff9..658effb1e7 100644 --- a/packages/protocol-parser/package.json +++ b/packages/protocol-parser/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/protocol-parser", - "version": "2.2.14", + "version": "2.2.15", "description": "Parser utilities for the MUD protocol", "repository": { "type": "git", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 8c23fdba45..46165e7944 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- Updated dependencies [09536b0] + - @latticexyz/store@2.2.15 + - @latticexyz/recs@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 7ef5ffe597..ca5aa7ae76 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/react", - "version": "2.2.14", + "version": "2.2.15", "description": "React tools for MUD client.", "repository": { "type": "git", diff --git a/packages/recs/CHANGELOG.md b/packages/recs/CHANGELOG.md index 762140fcae..e0c4be8edd 100644 --- a/packages/recs/CHANGELOG.md +++ b/packages/recs/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- @latticexyz/schema-type@2.2.15 +- @latticexyz/utils@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/recs/package.json b/packages/recs/package.json index b592eb9568..06ec2968e0 100644 --- a/packages/recs/package.json +++ b/packages/recs/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/recs", - "version": "2.2.14", + "version": "2.2.15", "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 56f8190f34..95cc187519 100644 --- a/packages/schema-type/CHANGELOG.md +++ b/packages/schema-type/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/schema-type/package.json b/packages/schema-type/package.json index 6191115626..6d9520d7c9 100644 --- a/packages/schema-type/package.json +++ b/packages/schema-type/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/schema-type", - "version": "2.2.14", + "version": "2.2.15", "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 39c2740f84..f53999a0d9 100644 --- a/packages/solhint-config-mud/CHANGELOG.md +++ b/packages/solhint-config-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/solhint-config-mud/package.json b/packages/solhint-config-mud/package.json index 522f16ae35..7f802183cb 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.14", + "version": "2.2.15", "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 39c2740f84..f53999a0d9 100644 --- a/packages/solhint-plugin-mud/CHANGELOG.md +++ b/packages/solhint-plugin-mud/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/solhint-plugin-mud/package.json b/packages/solhint-plugin-mud/package.json index eac28b2ce4..45388236ac 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.14", + "version": "2.2.15", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/stash/CHANGELOG.md b/packages/stash/CHANGELOG.md index f4bef51ee7..eb19433683 100644 --- a/packages/stash/CHANGELOG.md +++ b/packages/stash/CHANGELOG.md @@ -1,5 +1,17 @@ # @latticexyz/stash +## 2.2.15 + +### Patch Changes + +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/stash/package.json b/packages/stash/package.json index 4df9785283..443e06f908 100644 --- a/packages/stash/package.json +++ b/packages/stash/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/stash", - "version": "2.2.14", + "version": "2.2.15", "description": "High performance client store and query engine for MUD", "repository": { "type": "git", diff --git a/packages/store-consumer/CHANGELOG.md b/packages/store-consumer/CHANGELOG.md index 2c56039cb9..6c27f51aa2 100644 --- a/packages/store-consumer/CHANGELOG.md +++ b/packages/store-consumer/CHANGELOG.md @@ -1 +1,15 @@ # @latticexyz/store-consumer + +## 2.2.15 + +### Patch Changes + +- d17a9be: Extracted StoreConsumer base contracts into an independent package. + Added a `registerNamespace` boolean to `WithWorld` to provide more control over namespace registration. +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [09536b0] +- Updated dependencies [275c867] + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/schema-type@2.2.15 diff --git a/packages/store-consumer/package.json b/packages/store-consumer/package.json index 769659da0c..aac398192d 100644 --- a/packages/store-consumer/package.json +++ b/packages/store-consumer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-consumer", - "version": "2.2.14", + "version": "2.2.15", "description": "Store Consumer Contracts", "repository": { "type": "git", diff --git a/packages/store-indexer/CHANGELOG.md b/packages/store-indexer/CHANGELOG.md index 7da7c4e9cd..c3d1b00c0f 100644 --- a/packages/store-indexer/CHANGELOG.md +++ b/packages/store-indexer/CHANGELOG.md @@ -1,5 +1,20 @@ # @latticexyz/store-indexer +## 2.2.15 + +### Patch Changes + +- Updated dependencies [cd9fd0a] +- Updated dependencies [b819749] +- Updated dependencies [9ddc874] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] + - @latticexyz/store-sync@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/block-logs-stream@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index 7636bc7557..0580062cf5 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-indexer", - "version": "2.2.14", + "version": "2.2.15", "description": "Minimal Typescript indexer for Store", "repository": { "type": "git", diff --git a/packages/store-sync/CHANGELOG.md b/packages/store-sync/CHANGELOG.md index 0855b88bb5..496ae36958 100644 --- a/packages/store-sync/CHANGELOG.md +++ b/packages/store-sync/CHANGELOG.md @@ -1,5 +1,30 @@ # @latticexyz/store-sync +## 2.2.15 + +### Patch Changes + +- cd9fd0a: Fixed a bug in `watchLogs` where logs from the buffer were not applied during the initial sync. +- b819749: Added a `getRecords` util to fetch table records from an indexer or RPC. + + Migrated the `getFunctions` and `getWorldAbi` utils from `@latticexyz/world` to `@latticexyz/store-sync/world` to allow `getFunctions` and `getWorldAbi` to use `getRecords` internally without circular dependencies. + +- 9ddc874: Experimental pending logs watcher now reconnects if it loses connection or times out. +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] +- Updated dependencies [275c867] + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/stash@2.2.15 + - @latticexyz/block-logs-stream@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/recs@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/store-sync/package.json b/packages/store-sync/package.json index bcc243ae2f..ed74133e51 100644 --- a/packages/store-sync/package.json +++ b/packages/store-sync/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store-sync", - "version": "2.2.14", + "version": "2.2.15", "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 febd2addca..16b4cb6066 100644 --- a/packages/store/CHANGELOG.md +++ b/packages/store/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- 09536b0: Adds an experimental feature to automatically generate Solidity libraries from systems, making it easier to perform calls between systems. +- Updated dependencies [88b9daf] + - @latticexyz/common@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/store/package.json b/packages/store/package.json index 17b1518b34..30838c6a40 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/store", - "version": "2.2.14", + "version": "2.2.15", "description": "Store", "repository": { "type": "git", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index ce9c3444e3..37eff93705 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 2.2.15 + ## 2.2.14 ## 2.2.13 diff --git a/packages/utils/package.json b/packages/utils/package.json index 73ea915d21..0e52e5063d 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/utils", - "version": "2.2.14", + "version": "2.2.15", "repository": { "type": "git", "url": "https://github.com/latticexyz/mud.git", diff --git a/packages/world-module-erc20/CHANGELOG.md b/packages/world-module-erc20/CHANGELOG.md index d86539c0df..5b72eb529a 100644 --- a/packages/world-module-erc20/CHANGELOG.md +++ b/packages/world-module-erc20/CHANGELOG.md @@ -1,5 +1,21 @@ # @latticexyz/world-module-erc20 +## 2.2.15 + +### Patch Changes + +- d17a9be: Extracted StoreConsumer base contracts into an independent package. + Added a `registerNamespace` boolean to `WithWorld` to provide more control over namespace registration. +- Updated dependencies [d17a9be] +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [09536b0] +- Updated dependencies [275c867] + - @latticexyz/store-consumer@2.2.15 + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/world-module-erc20/package.json b/packages/world-module-erc20/package.json index 47b74eb7fd..25dbe152a3 100644 --- a/packages/world-module-erc20/package.json +++ b/packages/world-module-erc20/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world-module-erc20", - "version": "2.2.14", + "version": "2.2.15", "description": "ERC20 world module", "repository": { "type": "git", diff --git a/packages/world-module-metadata/CHANGELOG.md b/packages/world-module-metadata/CHANGELOG.md index 2dbdd1d7ab..402d12b316 100644 --- a/packages/world-module-metadata/CHANGELOG.md +++ b/packages/world-module-metadata/CHANGELOG.md @@ -1,5 +1,17 @@ # @latticexyz/world-module-metadata +## 2.2.15 + +### Patch Changes + +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [09536b0] +- Updated dependencies [275c867] + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/world-module-metadata/package.json b/packages/world-module-metadata/package.json index bba356c77a..bd86a7b1a7 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.14", + "version": "2.2.15", "description": "Metadata world module", "repository": { "type": "git", diff --git a/packages/world-modules/CHANGELOG.md b/packages/world-modules/CHANGELOG.md index dcc252a1ac..a7ff7f646f 100644 --- a/packages/world-modules/CHANGELOG.md +++ b/packages/world-modules/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- Updated dependencies [b819749] +- Updated dependencies [22674ad] +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] +- Updated dependencies [275c867] + - @latticexyz/world@2.2.15 + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/world-modules/package.json b/packages/world-modules/package.json index fadfa1252a..92e631d7c7 100644 --- a/packages/world-modules/package.json +++ b/packages/world-modules/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world-modules", - "version": "2.2.14", + "version": "2.2.15", "description": "World modules", "repository": { "type": "git", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index 84c010ef77..ab6e17a5e4 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 2.2.15 + +### Patch Changes + +- b819749: Added a `getRecords` util to fetch table records from an indexer or RPC. + + Migrated the `getFunctions` and `getWorldAbi` utils from `@latticexyz/world` to `@latticexyz/store-sync/world` to allow `getFunctions` and `getWorldAbi` to use `getRecords` internally without circular dependencies. + +- 22674ad: `getFunctions` now internally uses `fetchLogs` for better handling of block range errors. +- 09536b0: Adds an experimental feature to automatically generate Solidity libraries from systems, making it easier to perform calls between systems. +- 275c867: Add a SystemCall.staticcall function that performs a staticcall without executing hooks. +- Updated dependencies [09536b0] +- Updated dependencies [88b9daf] + - @latticexyz/store@2.2.15 + - @latticexyz/common@2.2.15 + - @latticexyz/block-logs-stream@2.2.15 + - @latticexyz/config@2.2.15 + - @latticexyz/protocol-parser@2.2.15 + - @latticexyz/schema-type@2.2.15 + ## 2.2.14 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index 32e808297c..215dd12047 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@latticexyz/world", - "version": "2.2.14", + "version": "2.2.15", "description": "World framework", "repository": { "type": "git",