Skip to content

chore: release package - #3202

Merged
bokelley merged 1 commit into
mainfrom
changeset-release/main
Oct 11, 2026
Merged

bokelley merged 1 commit into
mainfrom
changeset-release/main

Conversation

@aao-ipr-bot

@aao-ipr-bot aao-ipr-bot Bot commented Oct 11, 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.

Releases

@adcp/sdk@15.8.0

Minor Changes

  • 80f984a: Sellers with their own Reliable Reporting ledger tables can now cut over to the SDK ledger without dual-writing. createReliableReportingService (and createPostgresReliableReportingProductionService) accept an optional legacyRevisionReader(request, context), also available as createReportingDeliveryHandler(store, { legacyRevisionReader }). The SDK handler always answers get_media_buy_delivery first; only when the SDK ledger has no such revision for the resolved account (the nondisclosing REFERENCE_NOT_FOUND path) does it call the reader with the same request and context. A null/undefined result yields the same REFERENCE_NOT_FOUND; an error the reader throws propagates. It is never consulted for an SDK-owned revision whose rows are expired, missing, corrupt or inconsistent with the committed binding, for an unusable cursor, or on capacity and other errors, so it cannot serve different content under an ID the SDK owns. The reader owns authorization and must scope by the resolved account. New ReportingLegacyRevisionReaderV1 and CreateReportingDeliveryHandlerOptionsV1 types. New guide: docs/guides/REPORTING-LEDGER-CUTOVER.md.
  • 925a880: Reliable Reporting: opt-in compaction of superseded snapshot revision content, as permitted by feat(reporting): define superseded snapshot content retention adcp#8100. PostgresReportingLedgerStore.compactSupersededSnapshots({ statusRetentionDays, automatedRecoveryWindowSeconds, limit?, maxFeedHoldDays?, account_id?, signal? }) drops the row content of superseded snapshots outside the protocol's content-retention rule (never the current or official revision, never the revision the current one supersedes, never inside the recovery grace of max(automatedRecoveryWindowSeconds, 3600) seconds, never a revision any caller's receipt or current received / unreadable / content_mismatch statement names while its window is open) while every revision's metadata stays listed. An exact read of a compacted revision returns the same nondisclosing REFERENCE_NOT_FOUND as an unknown ID. It reuses retirement's resumable three-phase delete, fenced object deletes, shared-chunk safety, lease, materialization and feed-consumer holds. Enable it with maintenance: { compaction: { enabled: true, limit? } } on createReliableReportingService or compaction: { enabled: true, limit? } on createPostgresReliableReportingProductionService; default off. Do not enable it in production before the next eligible AdCP minor after November 20, 2026. listRevisions now omits compacted revisions instead of failing; use listRevisionMetadata for the full chain.

Patch Changes

  • 44af0f5: Stop sending format option ids a seller never declared on the canonical creative wire. When a 3.x seller returns products with only legacy format_ids, getProducts() still mints format_option_ids for the buyer, but format_option_refs must match an entry in the seller's own format_options[]. createMediaBuy, updateMediaBuy, and syncCreatives now send a package that selects such options as the equivalent format_kind + params selector and drop creative format_option_ref pins to them after creative normalization. A selection that one direct selector cannot express, including an undeclared custom format whose schema identity requires a seller-declared option, is rejected with ADCP_CREATIVE_FORMAT_PROJECTION_FAILED before dispatch. Options the seller declared, including SDK-minted ids served by SDK-built sellers, are still sent as format_option_refs. Undeclared options are recognized from this client's getProducts() discovery, including product cache hits and conditional revalidation; seller-origin evidence remains private and fresh seller declarations replace it.

  • 7320a16: Reliable Reporting: snapshot compaction now fails closed when an object row binding's keyTemplate omits {revision_key}. With such a template two revisions with identical chunk content can name one object key, so a concurrent commit adopting that object could lose its rows to compaction deleting it. createReliableReportingService (maintenance.compaction) and createPostgresReliableReportingProductionService (compaction) throw at construction, and PostgresReportingLedgerStore.compactSupersededSnapshots throws before deleting anything; new PostgresReportingLedgerStore.assertCompactionSafeRowBindings() exposes the check. The default key template already includes {revision_key} and is unaffected; compaction remains off by default.

  • c9e62b7: Infer creative wire support from reachable local JSON Schema references in MCP tool input schemas, retaining complete schema documents through scoped discovery and shared-cache reuse. Sellers advertising AdCP 3.1 with $defs/$ref now get the same canonical or legacy creative projection as equivalent inline schemas. Unused definitions and annotations do not establish support; cyclic, missing, and external references remain bounded and never trigger network requests. Existing property-map priming and adaptive request filtering keep their API contract.

    Shared cache entries now retain full schema documents alongside property maps, so external backends should allow for larger entries. A 3.2+ buyer rediscovers once before refusing unproven creative support from an older MCP property-only entry; older SDK writers in a mixed deployment can cause this bounded invalidation and rediscovery to recur.

  • e151055: Reliable Reporting: every external row-object delete now skips an object another row set still references. A custom object keyTemplate that omits {account_key} and {revision_key} lets two obligations or accounts with identical chunk content share one object (a create-only write adopts the existing bytes), and period retirement, row pruning and the intent sweep could delete it while the other row set was still live, failing its reads with ROWS_INTEGRITY_FAILED. Retirement, compaction and the intent sweep now delete an object only when no live row set outside the operation references the same binding, key and native version and no other open write intent created it; the check and the delete run under a per-object advisory lock that a commit adopting an existing object also takes (and holds until its chunk rows commit, after re-reading the object), so a concurrent adoption can no longer lose its object. A commit whose adopted object was deleted first now fails with STATE_UNAVAILABLE instead of recording a dangling reference. A skipped object is deleted when the last row set that references it is retired. assertCompactionSafeKeyTemplates is kept as defense in depth. No schema change.

  • 44dc049: Preserve authored account IDs and natural-key identities instead of replacing them with the account captured from prior storyboard steps. This applies to product/signal discovery, media-buy creation, updates and reads, task queries, and operation-scoped test-controller directives. Steps without an authored identity continue to use the captured or harness account. Natural keys inherit context sandbox routing, falling back to the harness setting when context omits it; authored IDs identify seller-managed accounts, so sandbox runs must author IDs belonging to sandbox accounts.

    Keep unresolved authored identities visible to the runner so media-buy/task steps skip missing prerequisites instead of testing a different account. Account-free discovery retains its existing context fallback. Deliberately malformed expect-error fixtures remain unchanged.

    Custom storyboards that used literal placeholder account IDs must supply a seller ID or a context reference; those placeholders are no longer replaced with the harness account.

@aao-secretariat

Copy link
Copy Markdown

Ladon does not review bot-authored PRs.

@aao-ipr-bot
aao-ipr-bot Bot force-pushed the changeset-release/main branch 5 times, most recently from d448302 to 203ef47 Compare October 11, 2026 11:54
@aao-ipr-bot
aao-ipr-bot Bot force-pushed the changeset-release/main branch from 203ef47 to de51de3 Compare October 11, 2026 12:51
@bokelley
bokelley enabled auto-merge (squash) October 11, 2026 12:54
@bokelley
bokelley merged commit cd4f684 into main Oct 11, 2026
42 checks passed
@bokelley
bokelley deleted the changeset-release/main branch October 11, 2026 13:03
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.

1 participant