Skip to content

chore: release package (beta)#2246

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: release package (beta)#2246
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@adcp/sdk@9.0.0-beta.31

Minor Changes

  • 1e57767: feat: strip AdCP 3.1-only request fields when the negotiated target is pre-3.1

    BrandReference is a closed object (additionalProperties: false) in every AdCP version. The 3.1 inline override brand_kit_override was added in AdCP 3.1 and does not exist in the 3.0 schema — 3.0 sellers reject requests carrying it. industries and data_subject_contestation are declared in AdCP 3.0 GA and are accepted by 3.0 sellers; they are left on the wire. Separately, the get_products discovery webhook (push_notification_config, a 3.1 feature) caused the SDK to throw for pre-3.1 clients.

    The client now omits 3.1-only fields when the negotiated target is pre-3.1 (the client is pinned below 3.1, or the seller does not advertise 3.1 via get_adcp_capabilities), degrading gracefully:

    • brand_kit_override is stripped from outbound brand references on create_media_buy, sync_accounts, and get_products; identity fields (domain, brand_id) and 3.0 fields (industries, data_subject_contestation) are preserved.
    • The auto-injected get_products discovery webhook is skipped (results are polled via tasks/get) instead of throwing. An explicit caller-supplied push_notification_config on a pre-3.1 client still throws (unchanged).
    • Both are surfaced as debug_logs drift entries (pre31_brand_fields_stripped, pre31_webhook_degraded) so the drops are visible and not silent.

    The brand strip is keyed on shouldOmit31Fields(clientVersion, sellerCapabilities) — correct for 3.0-pinned callers today and per-seller when a caller pins to 3.1. The webhook suppression is keyed on the client pin only (isPre31AdcpVersion), since suppression runs before detectServerVersion populates seller caps.

Patch Changes

  • eeaa641: fix(conformance): skip proposal storyboards when supports_proposals is absent

    Treat omitted media_buy.supports_proposals as unsupported for proposal lifecycle
    requires_capability gates, including profiles without raw capabilities.

  • 68b8f38: Bump ws to 8.21.0 to resolve high-severity memory exhaustion DoS vulnerability (GHSA-96hv-2xvq-fx4p).

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 7b361df to d9eaab2 Compare June 17, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants