From 149feafae87b985c163848254fd236f5cdab2f3a Mon Sep 17 00:00:00 2001 From: Nastassia Fulconis Date: Tue, 17 Feb 2026 23:20:28 +0100 Subject: [PATCH] fix: reset version to 1.1.0 and update changeset for 2.0.0 release - Reset package.json version to 1.1.0 (last published) so changesets bumps to 2.0.0 correctly - Update changeset description to accurately reflect v2 API (avoid confusion with npm version) - Add missing buyer resources: conversion events, creative sets - Add missing breaking changes: Bearer auth header, response envelope, single api_call tool - Remove stale testing claims Co-Authored-By: Claude Opus 4.6 --- .changeset/sdk-v2-rebuild.md | 13 +++++-------- package.json | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.changeset/sdk-v2-rebuild.md b/.changeset/sdk-v2-rebuild.md index a4d0031..ce7bf3e 100644 --- a/.changeset/sdk-v2-rebuild.md +++ b/.changeset/sdk-v2-rebuild.md @@ -2,7 +2,7 @@ "scope3": major --- -SDK v2.0.0: Persona-based API architecture +Persona-based API architecture for Agentic Platform v2 Complete rebuild of the Scope3 SDK with persona-based design for the Agentic Platform v2 API. @@ -10,7 +10,7 @@ Complete rebuild of the Scope3 SDK with persona-based design for the Agentic Pla - Unified `Scope3Client` with `persona` parameter: `buyer` or `partner` - Full CLI with `scope3` command for all API operations - REST and MCP adapter support -- Buyer resources: advertisers, campaigns (discovery/performance/audience), bundles, signals, reporting, sales agents +- Buyer resources: advertisers, campaigns (discovery/performance/audience), bundles, signals, reporting, sales agents, conversion events, creative sets - Partner resources: partners, agents (with OAuth flows) **CLI Highlights:** @@ -25,7 +25,9 @@ Complete rebuild of the Scope3 SDK with persona-based design for the Agentic Pla - Campaign type `bundle` renamed to `discovery` - Reporting moved from advertiser sub-resource to top-level `client.reporting` - Removed auto-generated types from OpenAPI (now manually maintained) -- New API surface matches Agentic Platform v2 +- Auth uses `Authorization: Bearer` header (was `x-scope3-api-key`) +- Response envelope: `{ data, pagination, error }` (was flat) +- MCP uses single `api_call` tool (was per-resource tools) **Migration Guide:** @@ -43,8 +45,3 @@ const buyerClient = new Scope3Client({ apiKey: '...', persona: 'buyer' }); // For partners (agent registration, OAuth): const partnerClient = new Scope3Client({ apiKey: '...', persona: 'partner' }); ``` - -**Testing:** -- 211 tests passing -- Verified with real API calls to staging environment -- CLI tested for all major workflows diff --git a/package.json b/package.json index a9a7adf..60ad514 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scope3", - "version": "2.0.0", + "version": "1.1.0", "description": "Scope3 SDK - REST and MCP client for the Agentic Platform", "engines": { "node": ">=18"