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 Oct 9, 2023
1 parent d2f8e94 commit 830829b
Show file tree
Hide file tree
Showing 63 changed files with 285 additions and 36 deletions.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"thin-chairs-compare",
"thin-rice-trade",
"thin-terms-lay",
"thirty-cups-provide",
"tough-flowers-breathe",
"tricky-beds-kiss",
"tricky-carrots-talk",
Expand All @@ -210,6 +211,7 @@
"wicked-tigers-return",
"wild-gorillas-care",
"wild-nails-wonder",
"wild-squids-bathe",
"witty-jokes-serve",
"witty-tigers-rest"
]
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.12

### Minor changes

**[feat(common): clarify resourceId (hex) from resource (object) (#1706)](https://github.com/latticexyz/mud/commit/d2f8e940048e56d9be204bf5b2cbcf8d29cc1dee)** (@latticexyz/common)

Renames `resourceIdToHex` to `resourceToHex` and `hexToResourceId` to `hexToResource`, to better distinguish between a resource ID (hex value) and a resource reference (type, namespace, name).

```diff
- resourceIdToHex({ type: 'table', namespace: '', name: 'Position' });
+ resourceToHex({ type: 'table', namespace: '', name: 'Position' });
```

```diff
- hexToResourceId('0x...');
+ hexToResource('0x...');
```

Previous methods still exist but are now deprecated to ease migration and reduce breaking changes. These will be removed in a future version.

Also removes the previously deprecated and unused table ID utils (replaced by these resource ID utils).

### Patch changes

**[feat(common): clarify resourceId (hex) from resource (object) (#1706)](https://github.com/latticexyz/mud/commit/d2f8e940048e56d9be204bf5b2cbcf8d29cc1dee)** (@latticexyz/cli, @latticexyz/dev-tools, @latticexyz/store-sync)

Moved to new resource ID utils.

---

## Version 2.0.0-next.11

### Major changes
Expand Down
30 changes: 30 additions & 0 deletions docs/pages/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## Version 2.0.0-next.12

### Minor changes

**[feat(common): clarify resourceId (hex) from resource (object) (#1706)](https://github.com/latticexyz/mud/commit/d2f8e940048e56d9be204bf5b2cbcf8d29cc1dee)** (@latticexyz/common)

Renames `resourceIdToHex` to `resourceToHex` and `hexToResourceId` to `hexToResource`, to better distinguish between a resource ID (hex value) and a resource reference (type, namespace, name).

```diff
- resourceIdToHex({ type: 'table', namespace: '', name: 'Position' });
+ resourceToHex({ type: 'table', namespace: '', name: 'Position' });
```

```diff
- hexToResourceId('0x...');
+ hexToResource('0x...');
```

Previous methods still exist but are now deprecated to ease migration and reduce breaking changes. These will be removed in a future version.

Also removes the previously deprecated and unused table ID utils (replaced by these resource ID utils).

### Patch changes

**[feat(common): clarify resourceId (hex) from resource (object) (#1706)](https://github.com/latticexyz/mud/commit/d2f8e940048e56d9be204bf5b2cbcf8d29cc1dee)** (@latticexyz/cli, @latticexyz/dev-tools, @latticexyz/store-sync)

Moved to new resource ID utils.

---

## Version 2.0.0-next.11

### Major changes
Expand Down
2 changes: 2 additions & 0 deletions packages/abi-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @latticexyz/abi-ts

## 2.0.0-next.12

## 2.0.0-next.11

## 2.0.0-next.10
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/abi-ts",
"version": "2.0.0-next.11",
"version": "2.0.0-next.12",
"description": "Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/block-logs-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @latticexyz/block-logs-stream

## 2.0.0-next.12

### Patch Changes

- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12

## 2.0.0-next.11

### 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.11",
"version": "2.0.0-next.12",
"description": "Create a stream of EVM block logs for events",
"repository": {
"type": "git",
Expand Down
18 changes: 18 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 2.0.0-next.12

### Patch Changes

- d2f8e940: Moved to new resource ID utils.
- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/config@2.0.0-next.12
- @latticexyz/protocol-parser@2.0.0-next.12
- @latticexyz/store@2.0.0-next.12
- @latticexyz/world@2.0.0-next.12
- @latticexyz/world-modules@2.0.0-next.12
- @latticexyz/abi-ts@2.0.0-next.12
- @latticexyz/gas-report@2.0.0-next.12
- @latticexyz/schema-type@2.0.0-next.12
- @latticexyz/services@2.0.0-next.12
- @latticexyz/utils@2.0.0-next.12

## 2.0.0-next.11

### Major 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.11",
"version": "2.0.0-next.12",
"description": "Command line interface for mud",
"repository": {
"type": "git",
Expand Down
24 changes: 24 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Change Log

## 2.0.0-next.12

### Minor Changes

- d2f8e940: Renames `resourceIdToHex` to `resourceToHex` and `hexToResourceId` to `hexToResource`, to better distinguish between a resource ID (hex value) and a resource reference (type, namespace, name).

```diff
- resourceIdToHex({ type: 'table', namespace: '', name: 'Position' });
+ resourceToHex({ type: 'table', namespace: '', name: 'Position' });
```

```diff
- hexToResourceId('0x...');
+ hexToResource('0x...');
```

Previous methods still exist but are now deprecated to ease migration and reduce breaking changes. These will be removed in a future version.

Also removes the previously deprecated and unused table ID utils (replaced by these resource ID utils).

### Patch Changes

- @latticexyz/[email protected]

## 2.0.0-next.11

### Minor 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.11",
"version": "2.0.0-next.12",
"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.12

### Patch Changes

- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/schema-type@2.0.0-next.12

## 2.0.0-next.11

### 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.11",
"version": "2.0.0-next.12",
"description": "Config for Store and World",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-mud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change Log

## 2.0.0-next.12

## 2.0.0-next.11

### Patch 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.11",
"version": "2.0.0-next.12",
"description": "Create a new MUD project",
"license": "MIT",
"author": "Lattice <[email protected]>",
Expand Down
15 changes: 15 additions & 0 deletions packages/dev-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @latticexyz/dev-tools

## 2.0.0-next.12

### Patch Changes

- d2f8e940: Moved to new resource ID utils.
- Updated dependencies [d2f8e940]
- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/store-sync@2.0.0-next.12
- @latticexyz/store@2.0.0-next.12
- @latticexyz/world@2.0.0-next.12
- @latticexyz/react@2.0.0-next.12
- @latticexyz/recs@2.0.0-next.12
- @latticexyz/utils@2.0.0-next.12

## 2.0.0-next.11

### Patch Changes
Expand Down
14 changes: 7 additions & 7 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.11",
"version": "2.0.0-next.12",
"description": "MUD developer tools",
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,12 +50,12 @@
"vitest": "0.31.4"
},
"peerDependencies": {
"@latticexyz/common": "2.0.0-next.11",
"@latticexyz/recs": "2.0.0-next.11",
"@latticexyz/store": "2.0.0-next.11",
"@latticexyz/store-sync": "2.0.0-next.11",
"@latticexyz/utils": "2.0.0-next.11",
"@latticexyz/world": "2.0.0-next.11"
"@latticexyz/common": "2.0.0-next.12",
"@latticexyz/recs": "2.0.0-next.12",
"@latticexyz/store": "2.0.0-next.12",
"@latticexyz/store-sync": "2.0.0-next.12",
"@latticexyz/utils": "2.0.0-next.12",
"@latticexyz/world": "2.0.0-next.12"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 2 additions & 0 deletions packages/ecs-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @latticexyz/ecs-browser

## 2.0.0-next.12

## 2.0.0-next.11

## 2.0.0-next.10
Expand Down
2 changes: 1 addition & 1 deletion packages/ecs-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@latticexyz/ecs-browser",
"version": "2.0.0-next.11",
"version": "2.0.0-next.12",
"private": true
}
2 changes: 2 additions & 0 deletions packages/faucet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @latticexyz/faucet

## 2.0.0-next.12

## 2.0.0-next.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/faucet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/faucet",
"version": "2.0.0-next.11",
"version": "2.0.0-next.12",
"description": "Faucet API for Lattice testnet",
"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.12

## 2.0.0-next.11

### Minor Changes
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.11",
"version": "2.0.0-next.12",
"description": "Gas reporter for specific lines within forge tests",
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @latticexyz/network

## 2.0.0-next.12

## 2.0.0-next.11

## 2.0.0-next.10
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@latticexyz/network",
"version": "2.0.0-next.11",
"version": "2.0.0-next.12",
"private": true
}
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.12

## 2.0.0-next.11

## 2.0.0-next.10
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.11",
"version": "2.0.0-next.12",
"license": "MIT",
"type": "module",
"exports": {
Expand Down
6 changes: 6 additions & 0 deletions packages/phaserx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.0.0-next.12

### Patch Changes

- @latticexyz/utils@2.0.0-next.12

## 2.0.0-next.11

### 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.11",
"version": "2.0.0-next.12",
"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.12

### Patch Changes

- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/schema-type@2.0.0-next.12

## 2.0.0-next.11

### 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.11",
"version": "2.0.0-next.12",
"description": "Parser utilities for the MUD protocol",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 830829b

Please sign in to comment.