Skip to content

Releases: bluesky-social/bsky

@bsky/sdk@1.1.2

Choose a tag to compare

@github-actions github-actions released this 03 Sep 17:35
7432c9d

Patch Changes

@bsky/sdk@1.1.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 13:46
e83f361

Patch Changes

  • #40 feff3bf Thanks @estrattonbailey! - Remove the maxGraphemes and maxLength constraints from video alt text, matching image alt text validation.

@bsky/sdk@1.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 15:19
6814ff7

Minor Changes

Patch Changes

  • #39 1a154a4 Thanks @mozzius! - Support rich-text cloning in browsers without structuredClone

@bsky/sdk@1.0.1

Choose a tag to compare

@github-actions github-actions released this 14 Aug 17:24
05e5073

Patch Changes

  • #29 66ce5dd Thanks @mozzius! - Fix lab_treeViewEnabled and lab_mergeFeedEnabled preferences

@bsky/sdk@1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 15:31
ebfaf65

Major Changes

  • #1 c3f0c47 Thanks @devinivy! - The Bluesky SDK, built on @atproto/lex. The package provides:

    • Typed actions for common Bluesky operations — posts, likes, reposts, follows, profile upserts, graph mutes/blocks, notifications, and the full preferences suite — invoked via client.call(action, input) on a lex Client.
    • /lexicons — generated schemas and types for the app.bsky, com.atproto, and chat.bsky namespaces, importable by namespace root.
    • /moderation — the moderation engine (moderatePost, moderateProfile, label handling, mute words) for interpreting labels and preferences into UI decisions.
    • /richtextRichText with facet detection and handle resolution (including the one-step RichText.resolve()), sanitization, and unicode utilities.
    • /utils — age assurance helpers, ClientHandleResolver, muted-word and nux utilities.
    • api.* constants with Bluesky-operated service addresses (AppView, chat, moderation).

    Note: this package supersedes the Bluesky portions of @atproto/api (Agent classes are not carried over — a lex Client fills that role). See skills/upgrade-from-atproto-api for migration guidance.

@bsky/jetstream@1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 15:31
ebfaf65

Major Changes

  • #21 c27aa4c Thanks @devinivy! - Client library for Jetstream, a friendly way to consume data published to AT Protocol. The package provides:

    • Jetstream with three consumption modes: live() streams the network in realtime, replay() continuously streams full network history, and snapshot() streams network history up to the current moment.
    • Typed events by default: records arrive as lex data, validated against schemas when collections are given as lexicon schema filters. raw: true yields wire-faithful events instead (parsed JSON from the live stream, DAG-CBOR bytes from snapshots, with lazily computed CIDs).
    • isCreate(), isUpdate(), isDelete(), and isPut() narrow an event to a commit with that operation, and to one collection's records when given a lexicon — the same narrowing $isTypeOf() performs.
    • Filtering by collections (exact NSIDs or ns.* wildcards), dids, and kinds, applied consistently across all three modes.
    • LexIndexer — register per-collection put/delete handlers plus identity, account, and sync handlers, with record validation and per-record ordered concurrency.
    • JetstreamRunner — drive a consumer such as LexIndexer through any mode with durable cursor tracking: progress persists through a CursorStore and resumes where it left off.
    • Resilience built in: the live stream reconnects and resumes from its cursor, snapshot downloads retry with backoff and resume mid-file, and interrupted snapshots re-plan without re-delivering.
    • apiKey option for hosts that require auth — sent on snapshot downloads and the live websocket handshake alike.
    • Works in Node.js (>= 22.15) and the browser, with @atproto/lex as a peer dependency. Live streaming is fully browser-capable; snapshot and replay need decompressor and sha256 options supplied in the browser, where the platform lacks zstd and synchronous hashing.
    • JetstreamV1 — a live-only client for hosts still speaking the original Jetstream wire protocol.