Commit Graph

2872 Commits

Author SHA1 Message Date
Matthieu Sieben 00e6dbdcea Fix method.resolveNoCheck is not a function (#4609)
* Fix `method.resolveNoCheck is not a function` error when using speciallt forged did method

* test
2026-02-06 14:03:31 +01:00
Samuel Newman 19ecf5f76a Fix avatars not being circular in OAuth flow (#4607)
* fix oauth avis not being round

* align "Another account" icon

* changeset
2026-02-04 10:06:40 -08:00
Matthieu Sieben 7b9a98a763 Improve type inference of XRPC methods (#4603)
* Improve type inference of XRPC methods

* tidy

* tidy

* tidy

* tidy
2026-02-03 14:29:22 +01:00
github-actions[bot] c1a10e1992 Version packages (#4592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 17:22:08 -03:00
Eric Bailey 4f5c400127 Update platform to deviceName on draft, add maxLength (#4591) 2026-01-30 17:14:56 -03:00
github-actions[bot] 915f9065d3 Version packages (#4584)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 14:20:33 -03:00
Eric Bailey 25cea46aaa Add deviceId and platform to draft stash object (#4590)
Co-authored-by: rafaeleyng <rafaeleyng@gmail.com>
2026-01-30 14:13:32 -03:00
Matthieu Sieben 369bb02b9f @atproto/lex-client error typing improvements (#4589) 2026-01-30 14:01:17 +01:00
kindgracekind 3ba21f9a36 Remove duplicate scope from app.bsky.authFullApp (#4588) 2026-01-29 15:38:18 -08:00
Matthieu Sieben 49b38069ed changeset 2026-01-28 16:43:16 +01:00
Matthieu Sieben 8a725a9d69 Change workspace version selector from workspace:* to workspace:^ 2026-01-28 16:42:44 +01:00
github-actions[bot] 143a5f2251 Version packages (#4578)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-28 16:31:59 +01:00
Samuel Newman 2830daeaa6 Add presentation to video embed as a hint to the client about how to display the video (#4581)
* feat: add video presentation hinting

* codegen

* hydrate presentation

* Add changeset
2026-01-27 05:07:13 -08:00
Matthieu Sieben d54d7077eb DID document validation (#4580)
* DID document validation

* relax `import/no-deprecated` lint rule
2026-01-27 08:25:13 +01:00
devin ivy 78e8ec25df lexicon-resolver: don't require at:// handle for lexicon resoltion (#4577) 2026-01-23 15:30:12 -05:00
github-actions[bot] 595dd20323 Version packages (#4561)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-23 13:29:23 -06:00
Eduardo Cuducos e6e43f3ad3 Adds GrowthBook feature flag for suggested users from Discover (#4526)
* Adds GrowthBook feature flag for suggested users from Discover

* Moves GrowthBook URL to envvar

* Reverts search feature

* Some minor fixes

* Adds GrowthBook feature flag for suggested users from Discover

* Moves GrowthBook URL to envvar

* Some minor fixes

* Keep search filtering exploration around but disable until migration

* Properly initialize GrowthBook client

* Cleans up

* Migrate flags

* Tweak context creation and types

* Add refetching and more error handling

* Rename config to be a little more clear

* Remove check validation, not needed

* Yeah ok we can do this

* Changeset

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2026-01-23 12:56:10 -06:00
rafael 5905eb94a6 Drafts implementation (#4549) 2026-01-22 18:23:56 -03:00
Matthieu Sieben ce356cde55 Fix typing mistake in suggestion endpoints (#4576)
* Use requester DID to accurately perform personalized suggestions

* tidy

* revert removal of `viewer` in `getTrendingTopics`

* tidy
2026-01-22 15:26:20 +01:00
bnewbold 2c4eb7fe20 permission-set for deleting public content (#4453)
bsky permission set for deleting public content
2026-01-21 09:40:34 -08:00
Matthieu Sieben ece2ee8533 changeset 2026-01-21 17:36:36 +01:00
Matthieu Sieben ecf59214d5 Update performances of cbor encoding/decoding (#4572)
* Update performances of cbog encoding/decoding

* pnpm-lock

* tidy

* ci
2026-01-21 17:26:24 +01:00
Matthieu Sieben 99963d002a lex SDK improvements (#4571)
* Improve code coverage of `@atproto/lex-data` tests

* Improve typing of `@atproto/syntax` type assertion utilities

* Improve performance of `@atproto/lex-schema ` string format checking

* Remove `assertX` string format assertion utilities

* tidy

* tidy

* Rename `isLanguageString` to `validateLanguage`

* add string format utils

* tidy

* Refactor uri validation to use `@atproto/syntax`

* More language validation to @atproto/syntax
2026-01-21 16:15:47 +01:00
bnewbold 9bdd35881a Experiment: wire-through germ chat declaration in bsky appview backend (#4415)
* lexicons: add germ chat declaration record, and ref from profile view

* codegen germ record for bsky pkg

* make lex-client build happy by including germ ref

* add germ chat declaration methods to dataplane .proto

* dataplane codegen

* start wiring up germ chat records

* germ lex in api package

* api codegen

* initial attempt at germ record test

* update germ lexicon

* make codegen

* updates for germ declaration NSID rename

* implement new germ hydration

* more progress on germ integration

* fix germ profile test

The main issue here was forgetting the '.associated.' bit in the data
path.

* remove unnecessary germ imports/refs

* hydrate germ metadata in basic profile view (as per schema)

* type fixes for germ appview test

* prettier

* synchronize bsky.proto with dataplane; run buf:gen

* add changeset for Germ declaration records
2026-01-20 17:15:58 -08:00
bnewbold aa22728888 rename lexicon file to match NSID (authManageFeedDeclaration) (#4568)
rename lexicon file to match NSID
2026-01-20 14:58:19 +01:00
Eduardo Cuducos cbd5837f01 Re-adds recId to suggested users (as string) (#4565) 2026-01-20 08:55:35 -05:00
Matthieu Sieben aaedafc6ba Replace tap's event validation from "zod" to "@atproto/lex" (#4532)
* Replace `tap`'s event validation from "zod" to "@atproto/lex"

* Expose `record` data as parsed atproto data (including CIDs and Uint8Arrays)

* Minor change to validation of integers in lex data

* tidy

* tidy

* test using vitest

* add missing `tap` from root `tsconfig.json`
2026-01-20 14:11:24 +01:00
Matthieu Sieben b3d1819f49 tidy 2026-01-20 13:21:47 +01:00
Matthieu Sieben 7310b9704d Fix behavior of "default" and assignment to LexValue (#4562)
* Fix inability to assign (object containing) open union results to `LexMap` type

* properly support and type default values

* strong cohesion

* changeset

* tidy

* Add validation error as cause when handling invalid records

* tidy

* Update `cborg` dependency, fixing encoding of strings with invalid surrogate pairs, and ignoring `undefined` object properties

* tidy

* Simplify encoding logic of `number`

* Improvements around usage of `noUndefinedVals`

* Memoize array schemas (without options)

* Memoize empty params schemas

* tidy

* tidy
2026-01-20 13:20:56 +01:00
Matthieu Sieben fa4ef5e815 Fix oauth response when using prompt=select_account with no sessions available (#4569)
* Fix oauth response when using `prompt=select_account` and no session are available

Fixes #4566

* allow the account to be pre-selected when `prompt=login`
2026-01-20 09:32:09 +01:00
wmjae e9dc15bd79 update copyright year to 2026 (#4542) 2026-01-19 17:05:43 -08:00
Eduardo Cuducos 538d39e19d Fixes semver bump (#4563)
* Fixes semver bump

* Update .changeset/frank-bats-hope.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 14:26:54 -05:00
David Buchanan 3fbec803ed Changeset for #4560 (#4564)
changeset for #4560
2026-01-19 17:16:45 +00:00
David Buchanan 6c7160ff7b PDS: Stop probing image dimensions on blob upload (#4560)
* pds: stop probing image dimensions

* remove width and height from BlobMetadata

* remove image dimension checks from tests

* comment out width and height in Blob schema
2026-01-19 17:02:23 +00:00
Eduardo Cuducos d8e53636c8 Drops recId from user suggestions (#4547) 2026-01-19 10:40:13 -05:00
devin ivy f51289f35b Update pds service entrypoint's node version (#4556)
* update pds service entrypoint to node v20.20

* build

* Revert "build"

This reverts commit 8b580da1d1b614f5fa91a69d09360a2bd19d1b11.
2026-01-16 17:25:01 -05:00
rafael 162aa5f82a use node 20.20 in bsky (#4551) 2026-01-15 12:28:27 -03:00
github-actions[bot] 9f06e9a31d Version packages (#4553)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-15 07:23:32 -08:00
Samuel Newman ccd8964331 Changeset for Drafts Lexicon PR (#4552)
Changeset for previous PR
2026-01-15 07:22:21 -08:00
rafael f7ae44d7f6 Drafts lexicons (#4548) 2026-01-14 18:03:53 -03:00
github-actions[bot] a6cf4b29b6 Version packages (#4545)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-13 21:18:01 -06:00
Eric Bailey f58029ba54 [APP-1767] Add liveEventPreferences to user prefs and API SDK (#4543)
* Add liveEventPreferences to user prefs and API SDK

* Format

* Return updated prefs
2026-01-13 20:59:52 -06:00
rafael 716819fb25 Statsig FF to get user sugg from discover vs topic (#4541) 2026-01-13 09:26:47 -03:00
github-actions[bot] c2615a7eee Version packages (#4530) 2026-01-12 21:13:16 +02:00
Samuel Newman 3ffebd0bf2 Add cashtag detection support to rich text parser (#4539)
Implements detection and facet generation for cashtags (stock tickers) like $AAPL
and $BTC. Cashtags are identified by a dollar sign followed by 1-5 alphanumeric
characters, with the first character being a letter. Detected cashtags are
normalized to uppercase and included as tag facets in the rich text output.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-12 10:59:28 -08:00
Matthieu Sieben 0193467463 Make sure the destroy() promise resolves, even in case of error (#4534) 2026-01-09 17:27:12 +01:00
Matthieu Sieben dfd4bee4ab Improve distinction between external Cid interface and CID implementation (#4528)
* Improve distinction between external `Cid` interface and `CID` implementation

* tests

* tidy

* tidy
2026-01-09 14:05:31 +01:00
github-actions[bot] 08db98a744 Version packages (#4525)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 15:23:15 -06:00
Eric Bailey 6752056f46 Add unregisterPush to appview (#4524)
* Add unregisterPush to appview server routes

* Changeset
2026-01-08 14:47:10 -06:00
github-actions[bot] 5a384f136a Version packages (#4521)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 12:13:47 -06:00