diff --git a/.changeset/tsup-conditional-node-shim-banner.md b/.changeset/tsup-conditional-node-shim-banner.md deleted file mode 100644 index 7adde22d9..000000000 --- a/.changeset/tsup-conditional-node-shim-banner.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@adcp/sdk": patch ---- - -Fix: the ESM build no longer injects the `node:url`/`node:path`/`node:module` shim banner into every `.mjs` file. Only the (11) files that actually reference `__dirname`, `__filename`, or `require` in their body get it now; pure-data and pure-logic modules — including `enums.generated.mjs`, `inline-enums.generated.mjs`, and everything reachable from the zod-free `./enums` entry point — no longer carry dead Node-only imports that broke strict browser bundlers (Vite, `esbuild --platform=browser`). diff --git a/CHANGELOG.md b/CHANGELOG.md index 218da7b8f..e79ebbc69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 12.0.1 + +### Patch Changes + +- bdfb075: Fix: the ESM build no longer injects the `node:url`/`node:path`/`node:module` shim banner into every `.mjs` file. Only the (11) files that actually reference `__dirname`, `__filename`, or `require` in their body get it now; pure-data and pure-logic modules — including `enums.generated.mjs`, `inline-enums.generated.mjs`, and everything reachable from the zod-free `./enums` entry point — no longer carry dead Node-only imports that broke strict browser bundlers (Vite, `esbuild --platform=browser`). + ## 12.0.0 ### Major Changes diff --git a/package-lock.json b/package-lock.json index 4d0909925..c4881d1a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adcp/sdk", - "version": "12.0.0", + "version": "12.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@adcp/sdk", - "version": "12.0.0", + "version": "12.0.1", "license": "Apache-2.0", "workspaces": [ ".", @@ -9316,7 +9316,7 @@ "version": "6.0.0", "license": "Apache-2.0", "dependencies": { - "@adcp/sdk": "^12.0.0" + "@adcp/sdk": "^12.0.1" }, "bin": { "adcp": "bin/adcp.js" diff --git a/package.json b/package.json index be2dc2b8c..049266c03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adcp/sdk", - "version": "12.0.0", + "version": "12.0.1", "description": "AdCP SDK — client, server, and compliance harnesses for the AdContext Protocol (MCP + A2A)", "workspaces": [ ".", diff --git a/packages/client-shim/package.json b/packages/client-shim/package.json index 0e36bce61..721a4ab2d 100644 --- a/packages/client-shim/package.json +++ b/packages/client-shim/package.json @@ -106,7 +106,7 @@ "LICENSE" ], "dependencies": { - "@adcp/sdk": "^12.0.0" + "@adcp/sdk": "^12.0.1" }, "keywords": [ "adcp", diff --git a/src/lib/version.ts b/src/lib/version.ts index ad2568b2b..da7d5759a 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -4,7 +4,7 @@ /** * AdCP SDK library version */ -export const LIBRARY_VERSION = '12.0.0'; +export const LIBRARY_VERSION = '12.0.1'; /** * AdCP specification version this library is built for @@ -68,10 +68,10 @@ export type AdcpVersion = (typeof COMPATIBLE_ADCP_VERSIONS)[number]; * Full version information */ export const VERSION_INFO = { - library: '12.0.0', + library: '12.0.1', adcp: '3.1.2', compatibleVersions: COMPATIBLE_ADCP_VERSIONS, - generatedAt: '2026-07-14T19:32:13.460Z', + generatedAt: '2026-07-17T15:43:08.232Z', } as const; /**