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 10, 2023
1 parent 63ea7c3 commit 37ed809
Show file tree
Hide file tree
Showing 63 changed files with 336 additions and 36 deletions.
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"fast-ears-hug",
"fast-zebras-drum",
"fast-zebras-promise",
"few-brooms-accept",
"few-jars-turn",
"few-mirrors-reflect",
"few-papayas-leave",
Expand Down Expand Up @@ -191,6 +192,8 @@
"thin-chairs-compare",
"thin-rice-trade",
"thin-terms-lay",
"thirty-cups-provide",
"three-lizards-shave",
"tough-flowers-breathe",
"tricky-beds-kiss",
"tricky-carrots-talk",
Expand All @@ -210,6 +213,7 @@
"wicked-tigers-return",
"wild-gorillas-care",
"wild-nails-wonder",
"wild-squids-bathe",
"witty-jokes-serve",
"witty-tigers-rest"
]
Expand Down
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## Version 2.0.0-next.12

### Minor changes

**[feat(common): add sendTransaction, add mempool queue to nonce manager (#1717)](https://github.com/latticexyz/mud/commit/0660561545910b03f8358e5ed7698f74e64f955b)** (@latticexyz/common)

- Added a `sendTransaction` helper to mirror viem's `sendTransaction`, but with our nonce manager
- Added an internal mempool queue to `sendTransaction` and `writeContract` for better nonce handling
- Defaults block tag to `pending` for transaction simulation and transaction count (when initializing the nonce manager)

**[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).

**[feat(cli): remove .mudtest file in favor of env var (#1722)](https://github.com/latticexyz/mud/commit/25086be5f34d7289f21395595ac8a6aeabfe9b7c)** (@latticexyz/cli, @latticexyz/common, @latticexyz/world)

Replaced temporary `.mudtest` file in favor of `WORLD_ADDRESS` environment variable when running tests with `MudTest` contract

### 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
40 changes: 40 additions & 0 deletions docs/pages/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## Version 2.0.0-next.12

### Minor changes

**[feat(common): add sendTransaction, add mempool queue to nonce manager (#1717)](https://github.com/latticexyz/mud/commit/0660561545910b03f8358e5ed7698f74e64f955b)** (@latticexyz/common)

- Added a `sendTransaction` helper to mirror viem's `sendTransaction`, but with our nonce manager
- Added an internal mempool queue to `sendTransaction` and `writeContract` for better nonce handling
- Defaults block tag to `pending` for transaction simulation and transaction count (when initializing the nonce manager)

**[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).

**[feat(cli): remove .mudtest file in favor of env var (#1722)](https://github.com/latticexyz/mud/commit/25086be5f34d7289f21395595ac8a6aeabfe9b7c)** (@latticexyz/cli, @latticexyz/common, @latticexyz/world)

Replaced temporary `.mudtest` file in favor of `WORLD_ADDRESS` environment variable when running tests with `MudTest` contract

### 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
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.12

### Patch Changes

- Updated dependencies [06605615]
- Updated dependencies [d2f8e940]
- Updated dependencies [25086be5]
- @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
21 changes: 21 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## 2.0.0-next.12

### Patch Changes

- 25086be5: Replaced temporary `.mudtest` file in favor of `WORLD_ADDRESS` environment variable when running tests with `MudTest` contract
- d2f8e940: Moved to new resource ID utils.
- Updated dependencies [06605615]
- Updated dependencies [d2f8e940]
- Updated dependencies [25086be5]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/world@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-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
28 changes: 28 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Change Log

## 2.0.0-next.12

### Minor Changes

- 06605615: - Added a `sendTransaction` helper to mirror viem's `sendTransaction`, but with our nonce manager
- Added an internal mempool queue to `sendTransaction` and `writeContract` for better nonce handling
- Defaults block tag to `pending` for transaction simulation and transaction count (when initializing the nonce manager)
- 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

- 25086be5: Replaced temporary `.mudtest` file in favor of `WORLD_ADDRESS` environment variable when running tests with `MudTest` contract
- @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
10 changes: 10 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 2.0.0-next.12

### Patch Changes

- Updated dependencies [06605615]
- Updated dependencies [d2f8e940]
- Updated dependencies [25086be5]
- @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
17 changes: 17 additions & 0 deletions packages/dev-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @latticexyz/dev-tools

## 2.0.0-next.12

### Patch Changes

- d2f8e940: Moved to new resource ID utils.
- Updated dependencies [06605615]
- Updated dependencies [d2f8e940]
- Updated dependencies [25086be5]
- Updated dependencies [d2f8e940]
- @latticexyz/common@2.0.0-next.12
- @latticexyz/world@2.0.0-next.12
- @latticexyz/store-sync@2.0.0-next.12
- @latticexyz/store@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
Loading

0 comments on commit 37ed809

Please sign in to comment.