Skip to content

Commit 111950f

Browse files
authored
Merge pull request #4 from ModernRelay/release/0.4.0
Release 0.4.0
2 parents 892758c + 93388c8 commit 111950f

5 files changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ TypeScript packages for the [Omnigraph](https://github.com/ModernRelay/omnigraph
2525

2626
The SDK is built against a specific `omnigraph-server` release. The pin lives in **`package.json#omnigraph.serverVersion`** at the repo root and is the single source of truth — `scripts/sync-spec.ts` reads it to fetch the matching OpenAPI spec, and `scripts/gen-version.ts` writes it into `packages/sdk/src/version.gen.ts` so consumers can `import { SERVER_VERSION } from '@modernrelay/omnigraph'`.
2727

28-
`@modernrelay/omnigraph@X.Y.Z` is generated from `omnigraph-server@X.Y.Z` and is expected to work against any `>=X.Y.0, <X.(Y+1).0`. CI enforces drift in two ways: a structural check that the bundled spec matches the upstream tag exactly, and an end-to-end suite that runs against a live `omnigraph-server` of the pinned release.
28+
CI enforces drift in two ways: a structural check that the bundled spec matches the upstream tag exactly, and an end-to-end suite that runs against a live `omnigraph-server` of the pinned release.
29+
30+
### Versioning policy
31+
32+
`@modernrelay/omnigraph` matches `omnigraph-server` on **major.minor**; the **patch** is independent. A published `@modernrelay/omnigraph@X.Y.*` is built against `omnigraph-server@X.Y.*` and is expected to work against any `>=X.Y.0, <X.(Y+1).0`. The exact server version the SDK was generated from is always available at runtime as `import { SERVER_VERSION } from '@modernrelay/omnigraph'`.
33+
34+
In practice: server cuts `0.4.2`, SDK ships `0.4.0` (and `0.4.1`, `0.4.2`, … as SDK-side fixes land independently). When server cuts `0.5.0`, the SDK jumps to `0.5.0` regardless of where the `0.4.x` patch line ended. This keeps SDK release cadence decoupled from the server while still making major.minor compatibility self-documenting.
2935

3036
## Workflow when omnigraph cuts a new release
3137

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modernrelay/omnigraph-mcp",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "MCP server exposing an Omnigraph database to LLM clients (Tools + Resources, stdio transport).",
55
"license": "MIT",
66
"type": "module",

packages/mcp/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function createOmnigraphMcpServer(opts: CreateServerOptions): McpServer {
4444

4545
const server = new McpServer({
4646
name: 'omnigraph-mcp',
47-
version: '0.3.0',
47+
version: '0.4.0',
4848
});
4949

5050
// ---------- Tools: read-only -------------------------------------------

packages/mcp/test/server.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('omnigraph-mcp server', () => {
7474
const { client } = await setup();
7575
const info = client.getServerVersion();
7676
expect(info?.name).toBe('omnigraph-mcp');
77-
expect(info?.version).toBe('0.3.0');
77+
expect(info?.version).toBe('0.4.0');
7878
});
7979

8080
it('lists every expected tool', async () => {

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modernrelay/omnigraph",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "TypeScript SDK for the Omnigraph HTTP API.",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)