Repository navigation
chore: release package (beta) - #3538
Merged
Merged
Conversation
|
Ladon does not review bot-authored PRs. |
aao-ipr-bot
Bot
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
October 30, 2026 18:34
b6ffeb1 to
94bc4dc
Compare
aao-ipr-bot
Bot
force-pushed
the
changeset-release/main
branch
from
October 30, 2026 20:11
94bc4dc to
a3767ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@adcp/[email protected]
Minor Changes
a66b6b6: Beta-channel break: this SDK advertises and negotiates only the AdCP
3.3-beta.2preview and no longer packages or advertises3.3-beta.1. A buyer or seller still on beta.1 (SDK 17.0.0-beta.5 through beta.9) will not select the 3.3 preview with this release; the pair negotiates a shared stable release (3.2.7, 3.1.31 or 3.0.25) instead. Upgrade both sides together to keep exercising 3.3 preview features. An explicitadcpVersion: '3.3.0-beta.1'pin now fails with a configuration error.Adopt the signed AdCP 3.3.0-beta.2 bundle, replacing 3.3.0-beta.1. Public types, Zod schemas, tool metadata and the packaged compliance corpus are regenerated from the beta.2 release.
Removed from 3.3 (adcp#8537): definition pins (
commercial_terms.definition_pins[],DefinitionPin,DefinitionPinReferenceKind, theREFERENCE_DEFINITION_CHANGEDerror code, thedefinition_changedrefinement reason anddrifted_pins[]), purchase rights (purchases[].rights[]and thepaid_amplification/content_reuseright uses) and installment selection (purchases[].installments[],installment_changes,unsatisfied_installment_changes). Code that builds or reads these no longer type-checks; remove it. The standalone commercial-terms verifier reads the selected schema, so against beta.2 it no longer fails closed on publisher format references or placement, collection and signal targeting, and rejectsdefinition_pinsand purchaseinstallments[]as unknown commercial terms. It still fails closed on business-calendar SLA windows.New in beta.2:
request_accountchange requests acceptallow_separate_account, and may resolve ascreated(a separate account, only with the opt-in) ormatched(an account the caller already holds). The new correctable error codeACCOUNT_CHANGE_REQUIRES_NEW_ACCOUNTreports a change the seller would take only on a new account.proposal_initiator,offer_reason, theproposal.offerednotification type) and measurement provenance (CollectionMechanism,counting_mechanisms,vendor_metric_provenance).standard_dimensions/unmapped_dimensions, per-offeringoffering_idon coverage exceptions, gaps and timezone cutovers,previous_timezone,prior_versions[].configurationandinactive_intervals.principal_kind/expected_principal_kindare deprecated in the generated types.Fix (ESM envelope-status-compat uses the CommonJS schema loader, missing ESM-registered schema roots #3529): the ESM build's envelope-status check for
list_productsanddecline_proposalsused the CommonJS schema loader, so a schema root registered through the ESM loader (registerExternalSchemaRoot,withExternalSchemaRoot) was invisible to it. A release served from such a root then keptstatuson a response whose schema forbids it. The check now uses the loader of its own module format, and an unresolved release is no longer cached. The artifact-webhook validator inSingleAgentClienthad the same hazard and now uses the statically imported loader.89f451c: Throw a typed
RequestValidationErrorwhen the client rejects a request against the request schema before sending it (Throw a typed error when the client rejects a request before sending it #3378). It extendsValidationError(exported from the root asADCPValidationError) and carriescode: 'VALIDATION_ERROR',task, andfields(JSON Pointers to the invalid fields). It never carries the submitted values. The message text is unchanged on both validation paths, so existing message matchers keep working. The generated-schema path used to throw a plainError; it now throws anADCPErrorsubclass, soisADCPError()returnstruefor it.Refusals the SDK decides locally, before any of the task's request is sent, now carry
dispatched: false. A caller can tell them apart from agent failures withoutinstanceofor message matching. The marked refusals are:FeatureUnsupportedErrorandProtocolFeatureUnsupportedError(feature and release gates);VersionUnsupportedErrorwhere the client refuses a task based on capabilities it already holds.VersionUnsupportedErrortakes a new options argument,{ dispatched: false }, so the marker is set per throw site.Failures that involve contacting the agent are not marked:
get_adcp_capabilitiesfetch, including its rejection of a v2 seller.A refused connection, a 5xx or a 429 still counts as an agent failure. Refusing to resume a deferred task is not marked either, because the original task was sent.
The new
isPreDispatchError(error)checks the marker. The storyboard runner now uses the marker to detect local schema refusals and falls back to the message match.ValidationErrortakes an optional fourthmessageargument.Patch Changes
55d7c7c: Reduce cold MCP output-schema compilation and validation memory by factoring large remote schemas into small referenced validators. Preserve seller constraints, reference scopes, formats, and protocol dialects. Add required regression checks for generated function size and repeated output validation, and reduce discovery's peak-memory budget to 512 MiB.
e2f04a1: Fix a 17.0.0-beta.5 regression in legacy-wire
sync_creativesprojection: a creative assigned to several packages is no longer refused when the packages' legacy refs differ only because some leave width/height or duration unstated. The SDK now reconciles the per-package refs by constraint satisfaction. A package that leaves a constraint open accepts the value another package states, the sharedformat_idomits size when no package states one, and projection refuses only when packages state different values, naming the conflicting constraint and packages in the message and inCreativeFormatProjectionError.details.conflicts. Canonical-wire delivery is unchanged.When some ref states a size or duration, every package must accept it: a package accepts its own resolved ref and, where its ref is silent, whatever any of its declarations accepts (exact or width-only sizes,
sizesentries, min/max bounds,orientation,aspect_ratio, exact durations,duration_ms_range). Size and duration constraints the SDK does not understand fail closed. So a package declaring 640x360 and 940x529, ormax_width: 640, refuses a 300x250 or 940x529 another package states. The sharedformat_idtakes size and duration from the resolved refs only, matching what each package resolves to on its own; when no ref states a value it is omitted, and declarations that disagree only among themselves do not refuse.unknownwire mode sends the legacy projection and reconciles the same way.creativeFormatProjection.playerSizedRefsis deprecated and will be removed in 18.0.0; setting it logs a one-time runtime deprecation warning. Until then it is still accepted and keeps its beta.5 meaning only for VAST packages that state different player sizes; mixed sized and unsized packages now project the stated size with or without it. Whether a stated VAST size is a hard requirement or a player hint belongs in the seller's format definition or the AdCP format params, not in host policy (Format declarations: say when stated video dimensions are player hints, not requirements adcp#8583).c649a4d: Reuse compiled MCP output-schema validators across tool listings and connections with a content-keyed LRU capped at 256 entries and 64 MiB of serialized schemas per MCP era. Preserve legacy and modern JSON Schema validation behavior, isolate schemas with conflicting
$idvalues, and release compiler caches on eviction. Schemas exceeding the byte budget still validate but are not cached; generated validator code contributes additional memory beyond the schema-byte allowance.Add reproducible performance comparisons using real AdCP schemas, with CI guards for repeated compilation, event-loop stalls, peak RSS, retained heap, and compiler retention after LRU eviction. Reports include an uncached reproduction and a hidden-cache memory-leak negative control.