@latticexyz/cli@2.0.0-next.0
Pre-releaseMinor Changes
-
#1147
66cc35a8
Thanks @dk1a! - Create gas-report package, move gas-report cli command and GasReporter contract to it -
#1157
c36ffd13
Thanks @alvrs! - - update theset-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 tomain
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 frommain
result in an automatic snapshot release it works for all commits on main, and it works for manual snapshot releases from branches other than mainset-version
now updates allpackage.json
nested below the current working directory (expectnode_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 toviem/chains
- refine a few types
- move
-
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
toworld/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) (12a739f)
- cli: use json for gas report output (#607) (bea12ca)
- config: separate config from cli (#600) (cd224a5)
- v2 event decoding (#415) (374ed54)
- world,store: add updateInField (#525) (0ac76fd)
- world: add naive ReverseMappingHook/Module (#487) (36aaaef)
- world: add support for modules, add RegistrationModule, add CoreModule (#482) (624cbbc)
- world: add UniqueEntityModule (#552) (983e26a)
- world: allow registration of function selectors in the World, split out RegisterSystem from World (#481) (ba0166f)
- world: simplify access control to namespaces instead of routes (#467) (945f2ef)
1.41.0 (2023-03-09)
Bug Fixes
- cli: add missing await (#475) (efb5d76)
- cli: add missing await to tablegen, fix formatting (#472) (4313c27)
- cli: avoid fs usage in utils, create deployment output directory if it doesn't exist (#471) (cc8aa13)
- services: fix protobuf imports (#477) (3eda547)
Features
- cli: add setMetadata to autogen of table libraries (#466) (1e129fe)
- cli: add v2 deployment script (#450) (1db37a5)
- cli: user types and route/path separation (#454) (758bf03)
1.40.0 (2023-03-03)
Features
- cli: reorganize internal structure and add exports for all utilities (#451) (e683904)
- v2 - add store, world and schema-type, cli table code generation (#422) (cb731e0)
BREAKING CHANGES
- This commit removes the deprecated
mud deploy
CLI command. Usemud deploy-contracts
instead.
1.39.0 (2023-02-22)
Note: Version bump only for package @latticexyz/cli