Skip to content

Add putRecord overload taking a RecordSwap - #65

Merged
germ-mark merged 2 commits into
mainfrom
llm/put-record-swap-null
Oct 13, 2026
Merged

germ-mark merged 2 commits into
mainfrom
llm/put-record-swap-null

Conversation

@germ-mark

Copy link
Copy Markdown
Contributor

Adds AuthCallable.putRecord(_:validate:swapCommit:swap:) taking an Atproto.RecordSwap?, so a record can be written only if none exists (.absent sends swapRecord: null) or only over a specific CID.

Draft until the AtprotoTypes release with RecordSwap is tagged; Package.swift then bumps to it. Tests: PutRecordSwapTests over a recording callable. Changeset: minor.

🤖 Generated with Claude Code

germ-mark and others added 2 commits October 12, 2026 16:17
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 106e212

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@germ-network/atprotoclient Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@germ-mark
germ-mark marked this pull request as ready for review October 13, 2026 05:48
@germ-mark
germ-mark merged commit bb6e455 into main Oct 13, 2026
22 checks passed
@germ-mark
germ-mark deleted the llm/put-record-swap-null branch October 13, 2026 05:52
@github-actions github-actions Bot mentioned this pull request Oct 13, 2026
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