From 68493e18ef02a1dc7f98cd96557b3ebf97c8d9eb Mon Sep 17 00:00:00 2001 From: amitbardos Date: Thu, 15 Oct 2026 10:26:08 +0300 Subject: [PATCH 1/2] chore(platform): set the version back to 0.1.0 so the publish workflow bumps it manual-publish.yml runs npm version itself and commits the bump, so it needs package.json at the published 0.1.0; run it with version: minor to publish 0.2.0. CHANGELOG.md keeps its 0.2.0 section. Co-Authored-By: Claude Opus 5.5 --- package-lock.json | 2 +- packages/platform/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab90231..fd934da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5978,7 +5978,7 @@ }, "packages/platform": { "name": "@base44/platform", - "version": "0.2.0", + "version": "0.1.0", "license": "MIT", "dependencies": { "socket.io-client": "^4.8.3" diff --git a/packages/platform/package.json b/packages/platform/package.json index 175dc18..91ef1b7 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@base44/platform", - "version": "0.2.0", + "version": "0.1.0", "description": "Client and server SDK for building on the Base44 platform", "main": "dist/client/index.js", "types": "dist/client/index.d.ts", From cea62073b344a3f54d3a896dabcffeb597807815 Mon Sep 17 00:00:00 2001 From: amitbardos Date: Thu, 15 Oct 2026 12:23:41 +0300 Subject: [PATCH 2/2] docs(platform): changelog for the server entrypoint in 0.2.0 #316 added @base44/platform/server with createPlatformServer and moved the client build to dist/client/. Both ship in 0.2.0. Co-Authored-By: Claude Opus 5.5 --- packages/platform/CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/platform/CHANGELOG.md b/packages/platform/CHANGELOG.md index da66809..ae1f67d 100644 --- a/packages/platform/CHANGELOG.md +++ b/packages/platform/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.2.0 **Breaking.** The client, its options and the event type names change, and events the SDK doesn't -know now reach `onEvent`. +know now reach `onEvent`. A server entrypoint, `@base44/platform/server`, is new. ### Client and session @@ -35,6 +35,14 @@ const client = createPlatformClient(); const builder = client.builder.init({ getSession: fetchSession, onError }); ``` +### Server entrypoint + +- New: `@base44/platform/server` exports `createPlatformServer({ serverUrl, apiKey })` for your + server, authenticated with a workspace API key. It has no modules yet. Keep the key on your + server; the browser client never takes it. +- The browser client moves to `dist/client/`. Import paths don't change: `@base44/platform` is + still the client. + ### Event types The event types are generated from the service's AsyncAPI document and take the backend's model