Skip to content

Releases: latticexyz/mud

@latticexyz/protocol-parser@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare

Minor Changes

  • #1100 b98e5180 Thanks @alvrs! - feat: add abiTypesToSchema, a util to turn a list of abi types into a Schema by separating static and dynamic types

  • #1111 ca50fef8 Thanks @alvrs! - feat: add encodeKeyTuple, a util to encode key tuples in Typescript (equivalent to key tuple encoding in Solidity and inverse of decodeKeyTuple).
    Example:

    encodeKeyTuple({ staticFields: ["uint256", "int32", "bytes16", "address", "bool", "int8"], dynamicFields: [] }, [
      42n,
      -42,
      "0x12340000000000000000000000000000",
      "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF",
      true,
      3,
    ]);
    // [
    //  "0x000000000000000000000000000000000000000000000000000000000000002a",
    //  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6",
    //  "0x1234000000000000000000000000000000000000000000000000000000000000",
    //  "0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff",
    //  "0x0000000000000000000000000000000000000000000000000000000000000001",
    //  "0x0000000000000000000000000000000000000000000000000000000000000003",
    // ]

Patch Changes

@latticexyz/phaserx@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Updated dependencies [4e4a3415]:
    • @latticexyz/utils@2.0.0-next.0

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Features

1.41.0 (2023-03-09)

Note: Version bump only for package @latticexyz/phaserx

1.40.0 (2023-03-03)

Features

  • phaserx: tag native phaser game objects with object pool id (#453) (27ac5d3)

1.39.0 (2023-02-22)

Note: Version bump only for package @latticexyz/phaserx

1.38.0 (2023-02-22)

Note: Version bump only for package @latticexyz/phaserx

@latticexyz/noise@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Features

1.41.0 (2023-03-09)

Note: Version bump only for package @latticexyz/noise

1.40.0 (2023-03-03)

Note: Version bump only for package @latticexyz/noise

1.39.0 (2023-02-22)

Note: Version bump only for package @latticexyz/noise

1.38.0 (2023-02-22)

Note: Version bump only for package @latticexyz/noise

@latticexyz/network@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • #1179 53522998 Thanks @holic! - - bump to viem 1.3.0 and abitype 0.9.3

    • move @wagmi/chains imports to viem/chains
    • refine a few types
  • #1109 e019c776 Thanks @Kooshaba! - Remove devEmit function when sending network events from SyncWorker because they can't be serialized across the web worker boundary.

  • Updated dependencies [904fd7d4, 8d51a034, 1e2ad78e, 48909d15, 66cc35a8, f03531d9, a7b30c79, 4e4a3415, 53522998, 086be4ef, 0c4f9fea]:

    • @latticexyz/store@2.0.0-next.0
    • @latticexyz/common@2.0.0-next.0
    • @latticexyz/world@2.0.0-next.0
    • @latticexyz/recs@2.0.0-next.0
    • @latticexyz/schema-type@2.0.0-next.0
    • @latticexyz/solecs@2.0.0-next.0
    • @latticexyz/utils@2.0.0-next.0
    • @latticexyz/services@2.0.0-next.0

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Bug Fixes

  • network: fall back to RPC sync if MODE is not available (#555) (4de4b6d)
  • network: fix mode decoding (#562) (fb82313)
  • network: handle singleton/empty keys (#541) (1e0ddb9)
  • network: skip sync from cache in dev mode (#521) (818c1e2)

Features

  • create-mud: use pnpm in templates, move to root so they can be installed/run (#599) (010740d)
  • network,recs,std-client: support StoreSetField before StoreSetRecord (#581) (f259f90), closes #479 #523
  • network: add fastTxExecute util (#543) (f05a70a)
  • network: add option to sync in main thread instead of worker (#522) (4e8e7d7)
  • network: integrate initial sync from MODE (#493) (7d06c1b)
  • use viem when creating burner wallet (#576) (d5d22e0)
  • v2 event decoding (#415) (374ed54)

1.41.0 (2023-03-09)

Note: Version bump only for package @latticexyz/network

1.40.0 (2023-03-03)

Note: Version bump only for package @latticexyz/network

1.39.0 (2023-02-22)

Note: Version bump only for package @latticexyz/network

1.38.0 (2023-02-22)

Note: Version bump only for package @latticexyz/network

@latticexyz/gas-report@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • #1147 66cc35a8 Thanks @dk1a! - Create gas-report package, move gas-report cli command and GasReporter contract to it

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

@latticexyz/ecs-browser@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Updated dependencies [1e2ad78e, 4e4a3415, 53522998]:
    • @latticexyz/recs@2.0.0-next.0
    • @latticexyz/utils@2.0.0-next.0
    • @latticexyz/std-client@2.0.0-next.0

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Features

1.41.0 (2023-03-09)

Note: Version bump only for package @latticexyz/ecs-browser

1.40.0 (2023-03-03)

Bug Fixes

  • ecs-browser: fix some errors in ecs-browser (#420) (2a7ce21)

1.39.0 (2023-02-22)

Note: Version bump only for package @latticexyz/ecs-browser

1.38.0 (2023-02-22)

Note: Version bump only for package @latticexyz/ecs-browser

@latticexyz/dev-tools@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • #1179 53522998 Thanks @holic! - - bump to viem 1.3.0 and abitype 0.9.3
    • move @wagmi/chains imports to viem/chains
    • refine a few types
  • Updated dependencies [8d51a034, 48909d15, a7b30c79, 4e4a3415, 53522998, 0c4f9fea, e019c776]:
    • @latticexyz/common@2.0.0-next.0
    • @latticexyz/world@2.0.0-next.0
    • @latticexyz/utils@2.0.0-next.0
    • @latticexyz/network@2.0.0-next.0
    • @latticexyz/std-client@2.0.0-next.0
    • @latticexyz/react@2.0.0-next.0

@latticexyz/config@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Features

@latticexyz/common@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • #1173 0c4f9fea Thanks @holic! - TableId.toHex() now truncates name/namespace to 16 bytes each, to properly fit into a bytes32 hex string.

    Also adds a few utils we'll need in the indexer:

    • bigIntMin is similar to Math.min but for bigints
    • bigIntMax is similar to Math.max but for bigints
    • bigIntSort for sorting an array of bigints
    • chunk to split an array into chunks
    • wait returns a Promise that resolves after specified number of milliseconds

Patch Changes

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

@latticexyz/cli@2.0.0-next.0

21 Jul 14:48
f0dfff7
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • #1147 66cc35a8 Thanks @dk1a! - Create gas-report package, move gas-report cli command and GasReporter contract to it

  • #1157 c36ffd13 Thanks @alvrs! - - update the set-version cli command to work with the new release process by adding two new options:

    • --tag: install the latest version of the given tag. For snapshot releases tags correspond to the branch name, commits to main result in an automatic snapshot release, so --tag main is equivalent to what used to be -v canary
    • --commit: install a version based on a given commit hash. Since commits from main result in an automatic snapshot release it works for all commits on main, and it works for manual snapshot releases from branches other than main
    • set-version now updates all package.json nested below the current working directory (expect node_modules), so no need for running it each workspace of a monorepo separately.

    Example:

    pnpm mud set-version --tag main && pnpm install
    pnpm mud set-version --commit db19ea39 && pnpm install

Patch Changes

  • #1153 8d51a034 Thanks @dk1a! - Clean up Memory.sol, make mcopy pure

  • #1168 48909d15 Thanks @dk1a! - bump forge-std and ds-test dependencies

  • #1165 4e4a3415 Thanks @holic! - bump to latest TS version (5.1.6)

  • #1179 53522998 Thanks @holic! - - bump to viem 1.3.0 and abitype 0.9.3

    • move @wagmi/chains imports to viem/chains
    • refine a few types
  • Updated dependencies [904fd7d4, 8d51a034, 48909d15, 66cc35a8, f03531d9, a7b30c79, 4e4a3415, 53522998, 086be4ef, 0c4f9fea]:

    • @latticexyz/store@2.0.0-next.0
    • @latticexyz/common@2.0.0-next.0
    • @latticexyz/world@2.0.0-next.0
    • @latticexyz/gas-report@2.0.0-next.0
    • @latticexyz/schema-type@2.0.0-next.0
    • @latticexyz/solecs@2.0.0-next.0
    • @latticexyz/std-contracts@2.0.0-next.0
    • @latticexyz/utils@2.0.0-next.0
    • @latticexyz/services@2.0.0-next.0
    • @latticexyz/config@2.0.0-next.0

All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.

1.42.0 (2023-04-13)

Bug Fixes

  • cli: account for getRecord's trimming (#574) (9c5317a)
  • cli: add back in resolveTableId export for use with mudConfig (#518) (4906d77)
  • cli: handle static arrays in worldgen (#566) (b6a09f2)
  • cli: remove node-dependent exports from base module (#517) (abb34a6)
  • cli: use esbuild to load mud config (#565) (18a8c42)
  • cli: use fileSelector in worldgen (#502) (fa021ed)
  • cli: wait for tx confirmation on deploy txs (#606) (b92be71)
  • recs,cli: fix bigint in recs and tsgen (#563) (29fefae)

Features

  • add support for key schemas (#480) (37aec2e)
  • align git dep versions (#577) (2b5fb5e)
  • cli/recs/std-client: add ts definitions generator (#536) (dd1efa6)
  • cli: add mud test-v2 command (#554) (d6be8b0)
  • cli: add set-version to upgrade all MUD dependencies in a project (#527) (89731a6)
  • cli: add encode function to all tables (#498) (564604c)
  • cli: add module config to CLI (#494) (263c828)
  • cli: add mud2 cli entrypoint with only v2 commands (#567) (785a324)
  • cli: add registerFunctionSelectors to deploy cli (#501) (de3d459)
  • cli: add worldgen (#496) (e84c0c8)
  • cli: allow customization of IWorld interface name via mud config, change world/IWorld to world/IBaseWorld (#545) (38b355c)
  • cli: allow passing world address and src dir to deploy cli (#586) (4b532be)
  • cli: allow static arrays as abi types in store config and tablegen (#509) (588d037)
  • cli: improve store config typehints, prepare for static array support (#508) (abb5eb2)
  • cli: improve storeArgument, refactor cli (#500) (bb68670)
  • cli: include stateMutability in worldgen (#571) (3a91292)
  • cli: namespace deploy output by chain id (#516) (7687349)
  • cli: rename deploymentInfoDirectory to deploysDirectory, default to ./deploys (#519) (1dba0d3)
  • cli: set storeArgument to true by default (#553) (cb1ecbc)
  • cli: use a central codegen dir for tablegen and worldgen (#585) (7500b11)
  • cli: use abi types in store config (#507) ([1...
Read more