Skip to content

Commit

Permalink
Create cold-years-itch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs authored Sep 14, 2023
1 parent 70880a7 commit b479643
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .changeset/cold-years-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
"@latticexyz/cli": major
"@latticexyz/protocol-parser": major
"@latticexyz/store-sync": major
"@latticexyz/store": major
---

Renamed all occurrences of `schema` where it is used as "value schema" to `valueSchema` to clearly distinguish it from "key schema".
The only breaking change for users is the change from `schema` to `valueSchema` in `mud.config.ts`.

```diff
// mud.config.ts
export default mudConfig({
tables: {
CounterTable: {
keySchema: {},
- schema: {
+ valueSchema: {
value: "uint32",
},
},
}
}
```

0 comments on commit b479643

Please sign in to comment.