Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(release): npm leaves the distribution story — the editor is the single channel

esengine1728c1261c99
diff --git a/.github/workflows/publish-sdk.yml b/.github/workflows/publish-sdk.yml
deleted file mode 100644
index 01c0b7368..000000000
--- a/.github/workflows/publish-sdk.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: Publish SDK
-
-on:
- push:
- tags:
- - 'sdk-v*'
- workflow_dispatch:
- inputs:
- version:
- description: 'Version to publish (e.g., 0.2.0)'
- required: false
-
-jobs:
- publish:
- name: Publish to npm
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v4
-
- - name: Setup Node.js
- uses: actions/setup-node@v4
- with:
- node-version: '24'
- registry-url: 'https://registry.npmjs.org'
-
- - name: Setup pnpm
- uses: pnpm/action-setup@v4
- with:
- version: 10
-
- - name: Install dependencies
- run: pnpm install
-
- - name: Type-check SDK
- working-directory: sdk
- run: pnpm exec tsc --noEmit
-
- - name: Run SDK tests
- working-directory: sdk
- run: pnpm run test
-
- - name: Build SDK
- working-directory: sdk
- run: pnpm run build
-
- - name: Publish to npm
- working-directory: sdk
- run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bfdb3b5a3..d288b5f8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,12 +9,22 @@ like Estella (the SDK API, the editor project/asset formats, and the WASM ABI) a
what we treat as a breaking change.
Version numbers here track the **Estella release** — the engine + editor + SDK
-shipped together, matching the Git tags and GitHub Releases. The `esengine` SDK npm
-package carries its own version line; npm consumers should read the **SDK** notes in
-each entry.
+shipped together, matching the Git tags and GitHub Releases. The SDK is not
+published separately; it ships inside the editor.
## [Unreleased]
+### Added
+- API surface governance: every public SDK export is snapshotted with its
+ signature and stability tag in `sdk/etc/*.api.md`, enforced by CI. Networking,
+ the material graph, and the headless/node entry are tagged `@beta`
+ (no compatibility promise yet); everything untagged is stable.
+
+### Removed
+- The `esengine` SDK is no longer published to npm (the editor is the single
+ distribution channel). The npm publish workflow and the broken `./factory`
+ package entry are gone.
+
## [0.17.0] - 2026-07-08
The multiplayer and WebGPU release. Estella gains a complete server-authoritative
diff --git a/VERSIONING.md b/VERSIONING.md
index 6426adab7..7225a99f8 100644
--- a/VERSIONING.md
+++ b/VERSIONING.md
@@ -64,7 +64,10 @@ to promise full MAJOR-line compatibility. From 1.0.0 onward, standard SemVer app
- Releases are Git tags of the form `vMAJOR.MINOR.PATCH` (e.g. `v0.14.0`) and appear
on [GitHub Releases](https://github.com/esengine/estella/releases).
-- The `esengine` SDK is published to npm with its **own** version number; consult the
- SDK notes in each CHANGELOG entry to map an Estella release to an SDK version.
+- The `esengine` SDK is **not published to npm**. It ships inside the editor (every
+ project created by the editor builds against the bundled SDK), so the Estella
+ release version is the single product version. The SDK's public API surface is
+ snapshotted in `sdk/etc/*.api.md` and governed by release tags (`@beta`,
+ `@internal`) — see `tools/api-surface.mjs`.
- Pre-releases use SemVer pre-release suffixes (e.g. `v0.15.0-rc.1`) and are not
covered by the compatibility promises above.
diff --git a/sdk/package.json b/sdk/package.json
index 794f213e2..05a9e9df7 100644
--- a/sdk/package.json
+++ b/sdk/package.json
@@ -1,6 +1,7 @@
{
"name": "esengine",
"version": "0.6.0",
+ "private": true,
"type": "module",
"description": "Estella SDK - A fast 2D game engine for Web and WeChat MiniGames",
"sideEffects": [
@@ -43,7 +44,6 @@
"build": "rollup -c",
"watch": "rollup -c -w",
"clean": "rimraf dist",
- "prepublishOnly": "npm run clean && npm run build",
"api:check": "node ../tools/api-surface.mjs --check",
"api:update": "node ../tools/api-surface.mjs --update",
"test": "vitest run",