diff --git a/.changeset/cold-years-itch.md b/.changeset/cold-years-itch.md new file mode 100644 index 0000000000..55540911db --- /dev/null +++ b/.changeset/cold-years-itch.md @@ -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", + }, + }, + } +} +```