Skip to content

Commit 3d58450

Browse files
chore: release v2.2.18 (#3540)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3189247 commit 3d58450

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+705
-120
lines changed

.changeset/clean-crabs-pump.md

-5
This file was deleted.

.changeset/cold-clocks-shout.md

-5
This file was deleted.

.changeset/early-onions-decide.md

-5
This file was deleted.

.changeset/eight-starfishes-tell.md

-6
This file was deleted.

.changeset/itchy-toys-smile.md

-5
This file was deleted.

.changeset/lemon-rivers-run.md

-5
This file was deleted.

.changeset/long-dolls-jam.md

-21
This file was deleted.

.changeset/loud-moons-tell.md

-8
This file was deleted.

.changeset/ninety-beers-behave.md

-5
This file was deleted.

.changeset/orange-toes-cheer.md

-5
This file was deleted.

.changeset/plenty-carpets-collect.md

-5
This file was deleted.

.changeset/serious-rules-whisper.md

-5
This file was deleted.

.changeset/shy-adults-train.md

-5
This file was deleted.

.changeset/tall-days-doubt.md

-5
This file was deleted.

CHANGELOG.md

+80
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
## Version 2.2.18
2+
3+
Release date: Wed Feb 05 2025
4+
5+
### Patch changes
6+
7+
**[fix(explorer): enable editing internal namespace tables (#3553)](https://github.com/latticexyz/mud/commit/6bd1695fe986f90478cfb8fe7fcc00a7a7df3e04)** (@latticexyz/explorer)
8+
9+
Tables under internal namespace are now editable.
10+
11+
**[chore(explorer): handle tuples in interact form (#3464)](https://github.com/latticexyz/mud/commit/c44207f620a38653497b78db0b71f5de7bc1a940)** (@latticexyz/explorer)
12+
13+
In the Interact tab, functions with tuple arguments can now be submitted. Additionally, function input fields display the tuple name when available and indicate tuple argument types.
14+
15+
**[feat: bump to node 20 (#3456)](https://github.com/latticexyz/mud/commit/491a5acc8ab6d5e1a65a9845160860199b5173fc)** (create-mud)
16+
17+
Updated templates to Node v20.
18+
19+
**[fix(vite-plugin-mud): start block as number (#3555)](https://github.com/latticexyz/mud/commit/7106953abc5baa13ac87123cc58796f788dab05a)** (create-mud, vite-plugin-mud)
20+
21+
Fixed an issue with providing world deploy's start block to Vite app's env.
22+
23+
**[fix(explorer): use table name helper from sqlite package (#3542)](https://github.com/latticexyz/mud/commit/4565714f5e9421cc7b2de56fe51db4434c55f5d1)** (@latticexyz/explorer)
24+
25+
Fixed an issue with how MUD table names were translated SQLite table names when querying.
26+
27+
**[chore(store-indexer): start frontend with decoded backend (#3572)](https://github.com/latticexyz/mud/commit/16710f177b60880b7fa1b2d0be350297a16e2c8c)** (@latticexyz/store-indexer)
28+
29+
`pnpm start:postgres-decoded` now starts both the indexer backend and frontend.
30+
31+
**[fix(entrykit): require bundler (#3570)](https://github.com/latticexyz/mud/commit/10ce339665bbc3cc175b109a51d216ec1b1bb739)** (@latticexyz/entrykit)
32+
33+
Using EntryKit without a configured bundler will now throw an error.
34+
35+
Redstone, Garnet, Rhodolite, and Anvil chains come preconfigured. For other chains, you can a bundler RPC URL to your chain config via
36+
37+
```ts
38+
import type { Chain } from "viem";
39+
40+
const chain = {
41+
...
42+
rpcUrls: {
43+
...
44+
bundler: {
45+
http: ["https://..."],
46+
},
47+
},
48+
} as const satisfies Chain;
49+
```
50+
51+
**[refactor(store-consumer): adapt WithWorld to be a System (#3546)](https://github.com/latticexyz/mud/commit/5d6fb1b51da1545b911c55e0cd79bc16ed2cd8f5)** (@latticexyz/store-consumer, @latticexyz/store, @latticexyz/world-module-erc20, @latticexyz/world)
52+
53+
Updates `WithWorld` to be a `System`, so that functions in child contracts that use the `onlyWorld` or `onlyNamespace` modifiers must be called through the world in order to safely support calls from systems.
54+
55+
**[refactor(world-module-erc20): change erc20 module table names to pascal case (#3544)](https://github.com/latticexyz/mud/commit/88949aaf197da3a62782ffd0c29b7dd677425fac)** (@latticexyz/world-module-erc20)
56+
57+
Updated table names to pascal case for consistency.
58+
59+
**[feat(explorer): loading indicator for refetched query (#3552)](https://github.com/latticexyz/mud/commit/860224870f7eb070cccbb33b505ee42ba6e7092c)** (@latticexyz/explorer)
60+
61+
Display a loading indicator on the query execution button while refetching a non-live query.
62+
63+
**[refactor(entrykit): improve error handling (#3574)](https://github.com/latticexyz/mud/commit/88af9325733387259f29dfdafd2fdbc23f2ab499)** (@latticexyz/entrykit)
64+
65+
Improved error handling.
66+
67+
**[fix(entrykit): session client uses smart account (#3547)](https://github.com/latticexyz/mud/commit/e1db80ad5648a9c77b757cda3930aa134e0f1c97)** (@latticexyz/entrykit)
68+
69+
Clarified `SessionClient` type as using a `SmartAccount` under the hood so that it can be used with smart account-related Viem actions.
70+
71+
**[fix(entrykit): require bundler (#3570)](https://github.com/latticexyz/mud/commit/10ce339665bbc3cc175b109a51d216ec1b1bb739)** (@latticexyz/common)
72+
73+
Added bundler RPC URL to Garnet chain config.
74+
75+
**[fix(store-sync): skip invalid utf-8 characters in strings before inserting into postgres (#3562)](https://github.com/latticexyz/mud/commit/df5d3937706cb9465b0539af8f4725be3d84f858)** (@latticexyz/store-sync)
76+
77+
Since Postgres doesn't support `\x00` bytes in strings, the decoded postgres indexer now removes `\x00` bytes from decoded strings.
78+
79+
---
80+
181
## Version 2.2.17
282

383
Release date: Thu Jan 30 2025

0 commit comments

Comments
 (0)