Releases: latticexyz/mud
Releases · latticexyz/mud
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
Major Changes
-
#1278
48c51b52
Thanks @holic! - RECS components are now dynamically created and inferred from your MUD config when usingsyncToRecs
.To migrate existing projects after upgrading to this MUD version:
-
Remove
contractComponents.ts
fromclient/src/mud
-
Remove
components
argument fromsyncToRecs
-
Update
build:mud
anddev
scripts incontracts/package.json
to remove tsgen- "build:mud": "mud tablegen && mud worldgen && mud tsgen --configPath mud.config.ts --out ../client/src/mud", + "build:mud": "mud tablegen && mud worldgen",
- "dev": "pnpm mud dev-contracts --tsgenOutput ../client/src/mud", + "dev": "pnpm mud dev-contracts",
-
Patch Changes
-
Updated dependencies [
a2588116
,939916bc
,b8a6158d
,48c51b52
,b8a6158d
]:- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
Patch Changes
- Updated dependencies [
b8a6158d
]:- @latticexyz/[email protected]
- @latticexyz/[email protected]
@latticexyz/[email protected]
Minor Changes
-
#1284
939916bc
Thanks @holic! - Adds ausePromise
hook that returns a nativePromiseSettledResult
object.const promise = fetch(url); const result = usePromise(promise); if (result.status === "idle" || result.status === "pending") { return <>fetching</>; } if (result.status === "rejected") { return <>error fetching: {String(result.reason)}</>; } if (result.status === "fulfilled") { return <>fetch status: {result.value.status}</>; }
Patch Changes
- Updated dependencies [
a2588116
,48c51b52
]:- @latticexyz/[email protected]
- @latticexyz/[email protected]
- @latticexyz/[email protected]
@latticexyz/[email protected]
Patch Changes
-
Updated dependencies [
939916bc
,b8a6158d
,b8a6158d
]:- @latticexyz/[email protected]
- @latticexyz/[email protected]
@latticexyz/[email protected]
Patch Changes
- Updated dependencies []:
- @latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]