Skip to content

Commit

Permalink
Version Packages (#3202)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Sep 19, 2024
1 parent 652c9aa commit 512ddc4
Show file tree
Hide file tree
Showing 57 changed files with 324 additions and 66 deletions.
11 changes: 0 additions & 11 deletions .changeset/chatty-pigs-shake.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/few-olives-judge.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/lucky-cows-fail.md

This file was deleted.

45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
## Version 2.2.6

Release date: Thu Sep 19 2024

### Patch changes

**[feat(stash): release package to npm (#3184)](https://github.com/latticexyz/mud/commit/20fac30f2fb1e026f195ffe42c014cfaf9877376)** (@latticexyz/stash)

Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model.
It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates.
It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys.

You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md).

This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable.

**[fix(cli): improve performance of linked library resolution during deployment (#3197)](https://github.com/latticexyz/mud/commit/22c37c3dbec5726f52055ed61c4e5f0e52ed30c1)** (@latticexyz/cli)

Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment.
The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds.

**[feat(store-sync): add syncToStash util (#3192)](https://github.com/latticexyz/mud/commit/8dc588918c488f98603cbb7e183c88129942debe)** (@latticexyz/store-sync)

Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental.

```ts
import { createClient, http } from "viem";
import { anvil } from "viem/chains";
import { createStash } from "@latticexyz/stash/internal";
import { syncToStash } from "@latticexyz/store-sync/internal";
import config from "../mud.config";

const client = createClient({
chain: anvil,
transport: http(),
});

const address = "0x...";

const stash = createStash(config);
const sync = await syncToStash({ stash, client, address });
```

---

## Version 2.2.5

Release date: Thu Sep 19 2024
Expand Down
45 changes: 45 additions & 0 deletions docs/pages/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
## Version 2.2.6

Release date: Thu Sep 19 2024

### Patch changes

**[feat(stash): release package to npm (#3184)](https://github.com/latticexyz/mud/commit/20fac30f2fb1e026f195ffe42c014cfaf9877376)** (@latticexyz/stash)

Added `@latticexyz/stash` package, a TypeScript client state library optimized for the MUD Store data model.
It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates.
It comes with a query engine optimized for "ECS-style" queries (similar to `@latticexyz/recs`) but with native support for composite keys.

You can find usage examples in the [`@latticexyz/stash` README.md](https://github.com/latticexyz/mud/blob/main/packages/stash/README.md).

This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under `@latticexyz/stash/internal` until we consider it stable.

**[fix(cli): improve performance of linked library resolution during deployment (#3197)](https://github.com/latticexyz/mud/commit/22c37c3dbec5726f52055ed61c4e5f0e52ed30c1)** (@latticexyz/cli)

Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment.
The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds.

**[feat(store-sync): add syncToStash util (#3192)](https://github.com/latticexyz/mud/commit/8dc588918c488f98603cbb7e183c88129942debe)** (@latticexyz/store-sync)

Added a `syncToStash` util to hydrate a `stash` client store from MUD contract state. This is currently exported from `@latticexyz/store-sync/internal` while Stash package is unstable/experimental.

```ts
import { createClient, http } from "viem";
import { anvil } from "viem/chains";
import { createStash } from "@latticexyz/stash/internal";
import { syncToStash } from "@latticexyz/store-sync/internal";
import config from "../mud.config";

const client = createClient({
chain: anvil,
transport: http(),
});

const address = "0x...";

const stash = createStash(config);
const sync = await syncToStash({ stash, client, address });
```

---

## Version 2.2.5

Release date: Thu Sep 19 2024
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.2.6

## 2.2.5

## 2.2.4
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.2.5",
"version": "2.2.6",
"description": "Create TypeScript type declaration files (`.d.ts`) for your ABI JSON files.",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions packages/block-logs-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @latticexyz/block-logs-stream

## 2.2.6

### Patch Changes

- @latticexyz/common@2.2.6

## 2.2.5

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

## 2.2.6

### Patch Changes

- 22c37c3: Significantly improved the deployment performance for large projects with public libraries by implementing a more efficient algorithm to resolve public libraries during deployment.
The local deployment time on a large reference project was reduced from over 10 minutes to 4 seconds.
- @latticexyz/abi-ts@2.2.6
- @latticexyz/common@2.2.6
- @latticexyz/config@2.2.6
- @latticexyz/gas-report@2.2.6
- @latticexyz/protocol-parser@2.2.6
- @latticexyz/schema-type@2.2.6
- @latticexyz/store@2.2.6
- @latticexyz/utils@2.2.6
- @latticexyz/world@2.2.6
- @latticexyz/world-module-metadata@2.2.6

## 2.2.5

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

## 2.2.6

### Patch Changes

- @latticexyz/schema-type@2.2.6

## 2.2.5

### Patch 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.2.5",
"version": "2.2.6",
"description": "Common low level logic shared between packages",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.2.6

### Patch Changes

- @latticexyz/common@2.2.6
- @latticexyz/schema-type@2.2.6

## 2.2.5

### 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.2.5",
"version": "2.2.6",
"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.2.6

## 2.2.5

## 2.2.4
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.2.5",
"version": "2.2.6",
"description": "Create a new MUD project",
"license": "MIT",
"author": "Lattice <mud@lattice.xyz>",
Expand Down
14 changes: 14 additions & 0 deletions packages/dev-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @latticexyz/dev-tools

## 2.2.6

### Patch Changes

- Updated dependencies [8dc5889]
- @latticexyz/store-sync@2.2.6
- @latticexyz/common@2.2.6
- @latticexyz/react@2.2.6
- @latticexyz/recs@2.2.6
- @latticexyz/schema-type@2.2.6
- @latticexyz/store@2.2.6
- @latticexyz/utils@2.2.6
- @latticexyz/world@2.2.6

## 2.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion 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.2.5",
"version": "2.2.6",
"description": "MUD developer tools",
"repository": {
"type": "git",
Expand Down
12 changes: 12 additions & 0 deletions packages/explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @latticexyz/explorer

## 2.2.6

### Patch Changes

- Updated dependencies [8dc5889]
- @latticexyz/store-sync@2.2.6
- @latticexyz/common@2.2.6
- @latticexyz/protocol-parser@2.2.6
- @latticexyz/schema-type@2.2.6
- @latticexyz/store@2.2.6
- @latticexyz/world@2.2.6

## 2.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@latticexyz/explorer",
"version": "2.2.5",
"version": "2.2.6",
"description": "World Explorer is a tool for visually exploring and manipulating the state of worlds",
"type": "module",
"exports": {
Expand Down
6 changes: 6 additions & 0 deletions packages/faucet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @latticexyz/faucet

## 2.2.6

### Patch Changes

- @latticexyz/common@2.2.6

## 2.2.5

### 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.2.5",
"version": "2.2.6",
"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.2.6

## 2.2.5

## 2.2.4
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.2.5",
"version": "2.2.6",
"description": "Gas reporter for specific lines within forge tests",
"repository": {
"type": "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.2.6

### Patch Changes

- @latticexyz/common@2.2.6
- @latticexyz/config@2.2.6
- @latticexyz/schema-type@2.2.6

## 2.2.5

### 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.2.5",
"version": "2.2.6",
"description": "Parser utilities for the MUD protocol",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2.2.6

### Patch Changes

- @latticexyz/recs@2.2.6
- @latticexyz/store@2.2.6

## 2.2.5

### 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.2.5",
"version": "2.2.6",
"description": "React tools for MUD client.",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 512ddc4

Please sign in to comment.