Repository navigation
chore: release package - #3202
Merged
Merged
Conversation
|
Ladon does not review bot-authored PRs. |
aao-ipr-bot
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
October 11, 2026 11:54
d448302 to
203ef47
Compare
aao-ipr-bot
Bot
force-pushed
the
changeset-release/main
branch
from
October 11, 2026 12:51
203ef47 to
de51de3
Compare
bokelley
approved these changes
Oct 11, 2026
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.
Releases
@adcp/sdk@15.8.0
Minor Changes
createReliableReportingService(andcreatePostgresReliableReportingProductionService) accept an optionallegacyRevisionReader(request, context), also available ascreateReportingDeliveryHandler(store, { legacyRevisionReader }). The SDK handler always answersget_media_buy_deliveryfirst; only when the SDK ledger has no such revision for the resolved account (the nondisclosingREFERENCE_NOT_FOUNDpath) does it call the reader with the same request and context. Anull/undefinedresult yields the sameREFERENCE_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. NewReportingLegacyRevisionReaderV1andCreateReportingDeliveryHandlerOptionsV1types. New guide:docs/guides/REPORTING-LEDGER-CUTOVER.md.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 ofmax(automatedRecoveryWindowSeconds, 3600)seconds, never a revision any caller's receipt or currentreceived/unreadable/content_mismatchstatement names while its window is open) while every revision's metadata stays listed. An exact read of a compacted revision returns the same nondisclosingREFERENCE_NOT_FOUNDas 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 withmaintenance: { compaction: { enabled: true, limit? } }oncreateReliableReportingServiceorcompaction: { enabled: true, limit? }oncreatePostgresReliableReportingProductionService; default off. Do not enable it in production before the next eligible AdCP minor after November 20, 2026.listRevisionsnow omits compacted revisions instead of failing; uselistRevisionMetadatafor 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 mintsformat_option_ids for the buyer, butformat_option_refsmust match an entry in the seller's ownformat_options[].createMediaBuy,updateMediaBuy, andsyncCreativesnow send a package that selects such options as the equivalentformat_kind+paramsselector and drop creativeformat_option_refpins 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 withADCP_CREATIVE_FORMAT_PROJECTION_FAILEDbefore dispatch. Options the seller declared, including SDK-minted ids served by SDK-built sellers, are still sent asformat_option_refs. Undeclared options are recognized from this client'sgetProducts()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
keyTemplateomits{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) andcreatePostgresReliableReportingProductionService(compaction) throw at construction, andPostgresReportingLedgerStore.compactSupersededSnapshotsthrows before deleting anything; newPostgresReportingLedgerStore.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/$refnow 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
keyTemplatethat 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 withROWS_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 withSTATE_UNAVAILABLEinstead of recording a dangling reference. A skipped object is deleted when the last row set that references it is retired.assertCompactionSafeKeyTemplatesis 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.