Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/protocol-version-13-lockstep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@objectstack/spec': patch
---

fix(spec): bump PROTOCOL_VERSION 12.0.0 → 13.0.0 to match the spec major

The version-packages roll (#2720) took `@objectstack/spec` to major `13.0.0`
but left `PROTOCOL_VERSION` at `12.0.0`, so `protocol-version.test.ts` (the
lockstep guard that asserts the protocol major equals the package major) failed
on `main` — reddening Test Core for every PR. Restore the lockstep so the
loader/installer handshake advertises the major the package actually ships.
2 changes: 1 addition & 1 deletion .objectui-sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b0aa25129542504b81589ee95bb81a5d6003f998
7a68d78f2a0c3c1f99dafd39b75b4f117a24917b
2 changes: 1 addition & 1 deletion packages/spec/src/kernel/protocol-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Kept in lockstep with the package's own major; `protocol-version.test.ts`
* asserts it against `package.json` so the two cannot drift.
*/
export const PROTOCOL_VERSION = '12.0.0';
export const PROTOCOL_VERSION = '13.0.0';

/** The protocol major as an integer — the value the handshake compares. */
export const PROTOCOL_MAJOR: number = Number.parseInt(PROTOCOL_VERSION.split('.')[0]!, 10);