Skip to content

Commit

Permalink
Version Packages (next)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 13, 2023
1 parent cca3b46 commit 637f510
Show file tree
Hide file tree
Showing 56 changed files with 380 additions and 31 deletions.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"fast-ears-hug",
"fifty-squids-eat",
"fluffy-moles-march",
"four-coats-pull",
"giant-masks-carry",
"great-cooks-dream",
"itchy-kids-relax",
Expand All @@ -54,6 +55,7 @@
"olive-parrots-move",
"perfect-mangos-cry",
"pink-horses-deny",
"pretty-hotels-drop",
"quick-numbers-flash",
"rare-planes-draw",
"selfish-cycles-retire",
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
# Version 2.0.0-next.2

## Major changes

**[refactor(store): remove TableId library (#1279)](https://github.com/latticexyz/mud/commit/a25881160cb3283e11d218be7b8a9fe38ee83062)** (@latticexyz/store)

Remove `TableId` library to simplify `store` package

**[feat(create-mud): infer recs components from config (#1278)](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)** (@latticexyz/cli, @latticexyz/std-client, @latticexyz/store-sync, @latticexyz/store, @latticexyz/world, create-mud)

RECS components are now dynamically created and inferred from your MUD config when using `syncToRecs`.

To migrate existing projects after upgrading to this MUD version:

1. Remove `contractComponents.ts` from `client/src/mud`
2. Remove `components` argument from `syncToRecs`
3. Update `build:mud` and `dev` scripts in `contracts/package.json` to remove tsgen

```diff
- "build:mud": "mud tablegen && mud worldgen && mud tsgen --configPath mud.config.ts --out ../client/src/mud",
+ "build:mud": "mud tablegen && mud worldgen",
```

```diff
- "dev": "pnpm mud dev-contracts --tsgenOutput ../client/src/mud",
+ "dev": "pnpm mud dev-contracts",
```

---

# Version 2.0.0-next.1

## Major changes
Expand Down
9 changes: 9 additions & 0 deletions packages/block-logs-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @latticexyz/block-logs-stream

## 2.0.0-next.2

### Patch Changes

- Updated dependencies []:
- @latticexyz/common@2.0.0-next.2
- @latticexyz/config@2.0.0-next.2
- @latticexyz/schema-type@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/block-logs-stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/block-logs-stream",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Create a stream of EVM block logs for events",
"repository": {
"type": "git",
Expand Down
36 changes: 36 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Change Log

## 2.0.0-next.2

### Major Changes

- [#1278](https://github.com/latticexyz/mud/pull/1278) [`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473) Thanks [@holic](https://github.com/holic)! - RECS components are now dynamically created and inferred from your MUD config when using `syncToRecs`.

To migrate existing projects after upgrading to this MUD version:

1. Remove `contractComponents.ts` from `client/src/mud`
2. Remove `components` argument from `syncToRecs`
3. Update `build:mud` and `dev` scripts in `contracts/package.json` to remove tsgen

```diff
- "build:mud": "mud tablegen && mud worldgen && mud tsgen --configPath mud.config.ts --out ../client/src/mud",
+ "build:mud": "mud tablegen && mud worldgen",
```

```diff
- "dev": "pnpm mud dev-contracts --tsgenOutput ../client/src/mud",
+ "dev": "pnpm mud dev-contracts",
```

### Patch Changes

- Updated dependencies [[`a2588116`](https://github.com/latticexyz/mud/commit/a25881160cb3283e11d218be7b8a9fe38ee83062), [`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)]:
- @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]

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/cli",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Command line interface for mud",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies []:
- @latticexyz/schema-type@2.0.0-next.2

## 2.0.0-next.1

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/common",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Common low level logic shared between packages",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies []:
- @latticexyz/common@2.0.0-next.2
- @latticexyz/schema-type@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/config",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Config for Store and World",
"repository": {
"type": "git",
Expand Down
22 changes: 22 additions & 0 deletions packages/create-mud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log

## 2.0.0-next.2

### Major Changes

- [#1278](https://github.com/latticexyz/mud/pull/1278) [`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473) Thanks [@holic](https://github.com/holic)! - RECS components are now dynamically created and inferred from your MUD config when using `syncToRecs`.

To migrate existing projects after upgrading to this MUD version:

1. Remove `contractComponents.ts` from `client/src/mud`
2. Remove `components` argument from `syncToRecs`
3. Update `build:mud` and `dev` scripts in `contracts/package.json` to remove tsgen

```diff
- "build:mud": "mud tablegen && mud worldgen && mud tsgen --configPath mud.config.ts --out ../client/src/mud",
+ "build:mud": "mud tablegen && mud worldgen",
```

```diff
- "dev": "pnpm mud dev-contracts --tsgenOutput ../client/src/mud",
+ "dev": "pnpm mud dev-contracts",
```

## 2.0.0-next.1

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-mud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-mud",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Create a new MUD project",
"license": "MIT",
"author": "Lattice <[email protected]>",
Expand Down
12 changes: 12 additions & 0 deletions packages/dev-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @latticexyz/dev-tools

## 2.0.0-next.2

### Patch Changes

- Updated dependencies [[`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)]:
- @latticexyz/std-client@2.0.0-next.2
- @latticexyz/world@2.0.0-next.2
- @latticexyz/network@2.0.0-next.2
- @latticexyz/react@2.0.0-next.2
- @latticexyz/common@2.0.0-next.2
- @latticexyz/utils@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/dev-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/dev-tools",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "MUD developer tools",
"repository": {
"type": "git",
Expand Down Expand Up @@ -49,10 +49,10 @@
"vitest": "0.31.4"
},
"peerDependencies": {
"@latticexyz/network": "2.0.0-next.1",
"@latticexyz/std-client": "2.0.0-next.1",
"@latticexyz/utils": "2.0.0-next.1",
"@latticexyz/world": "2.0.0-next.1"
"@latticexyz/network": "2.0.0-next.2",
"@latticexyz/std-client": "2.0.0-next.2",
"@latticexyz/utils": "2.0.0-next.2",
"@latticexyz/world": "2.0.0-next.2"
},
"publishConfig": {
"access": "public"
Expand Down
9 changes: 9 additions & 0 deletions packages/ecs-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies [[`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)]:
- @latticexyz/std-client@2.0.0-next.2
- @latticexyz/recs@2.0.0-next.2
- @latticexyz/utils@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/ecs-browser",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Component Browser for RECS",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/gas-report/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## 2.0.0-next.2

## 2.0.0-next.1

## 2.0.0-next.0
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-report/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/gas-report",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Gas reporter for specific lines within forge tests",
"repository": {
"type": "git",
Expand Down
14 changes: 14 additions & 0 deletions packages/network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies [[`a2588116`](https://github.com/latticexyz/mud/commit/a25881160cb3283e11d218be7b8a9fe38ee83062), [`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)]:
- @latticexyz/store@2.0.0-next.2
- @latticexyz/world@2.0.0-next.2
- @latticexyz/common@2.0.0-next.2
- @latticexyz/recs@2.0.0-next.2
- @latticexyz/schema-type@2.0.0-next.2
- @latticexyz/services@2.0.0-next.2
- @latticexyz/solecs@2.0.0-next.2
- @latticexyz/utils@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/network",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git",
Expand Down
2 changes: 2 additions & 0 deletions packages/noise/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## 2.0.0-next.2

## 2.0.0-next.1

## 2.0.0-next.0
Expand Down
2 changes: 1 addition & 1 deletion packages/noise/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/noise",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"license": "MIT",
"type": "module",
"exports": {
Expand Down
7 changes: 7 additions & 0 deletions packages/phaserx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies []:
- @latticexyz/utils@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/phaserx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/phaserx",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git",
Expand Down
8 changes: 8 additions & 0 deletions packages/protocol-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @latticexyz/protocol-parser

## 2.0.0-next.2

### Patch Changes

- Updated dependencies []:
- @latticexyz/common@2.0.0-next.2
- @latticexyz/schema-type@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/protocol-parser",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "Parser utilities for the MUD protocol",
"repository": {
"type": "git",
Expand Down
9 changes: 9 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 2.0.0-next.2

### Patch Changes

- Updated dependencies [[`a2588116`](https://github.com/latticexyz/mud/commit/a25881160cb3283e11d218be7b8a9fe38ee83062), [`48c51b52`](https://github.com/latticexyz/mud/commit/48c51b52acab147a2ed97903c43bafa9b6769473)]:
- @latticexyz/store@2.0.0-next.2
- @latticexyz/store-cache@2.0.0-next.2
- @latticexyz/recs@2.0.0-next.2

## 2.0.0-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/react",
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"description": "React tools for MUD client.",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 637f510

Please sign in to comment.