Skip to content

Commit

Permalink
Create metal-hounds-drum.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 14, 2023
1 parent 54e2e53 commit bb8cc29
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .changeset/metal-hounds-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
"@latticexyz/block-logs-stream": patch
"@latticexyz/store-sync": patch
"@latticexyz/store": patch
---

Renamed all occurrences of `table` where it is used as "table ID" to `tableId`.
This is only a breaking change for consumers who manually decode `Store` events, but not for consumers who use the MUD libraries.

```diff
event StoreSetRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
bytes data
);

event StoreSetField(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
uint8 fieldIndex,
bytes data
);

event StoreDeleteRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key
);

event StoreEphemeralRecord(
- bytes32 table,
+ bytes32 tableId,
bytes32[] key,
bytes data
);
```

0 comments on commit bb8cc29

Please sign in to comment.