Commit Graph

2335 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
Eric Bailey d2ed7311a2 [APP-1758] Improve status takedowns (#4520)
* Refactor includeTakedowns overrides, add one for statuses specifically

* Add view carve-out

* Add isDisabled to statusView

* Handle filtering of takendown statuses

* Changeset

* Only add isDisabled for owner

* Revert unneeded changes

* Update tests

* Format
2026-01-08 11:55:55 -06:00
github-actions[bot] 0b03086d35 Version packages (#4518)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 18:12:54 +01:00
Matthieu Sieben d78484f94d @atproto/lex improvements (bis) (#4512)
* `@atproto/lex` improvements (bis)

* tidy

* tidy
2026-01-08 15:31:49 +01:00
Matthieu Sieben 5b19d390b3 Rename lex-password-agent to lex-password-session (#4519)
* Rename `lex-password-agent` to `lex-password-session`

* tidy

* tidy

* tidy

* improve 2fa

* tests

* tidy

* tidy

* tidy

* tidy

* tidy
2026-01-08 15:02:44 +01:00
mary b329266853 fix: properly convert did:web to service endpoint (#4502)
* fix: properly convert did:web to service endpoint

* add changeset
2026-01-08 11:56:50 +01:00
github-actions[bot] 1a87be24d6 Version packages (#4517)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-07 20:42:38 -06:00
Eric Bailey 7750b91500 [APP-1750] Add uri and cid to statusView on profile responses (#4516)
* Codegen

* Add uri and cid to status view

* Changeset

* Snapshotty

* Snapshots again

* Oh duh it's the uris
2026-01-07 20:39:57 -06:00
github-actions[bot] e3baf89412 Version packages (#4515)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-07 17:46:10 -06:00
Eric Bailey 7ef893563b [AAv2] Add minAccessAge to Age Assurance regional configs (#4513) 2026-01-07 18:38:40 -03:00
rafael d5414b0b14 Rewire takedowns inclusion for getActors (#4514)
Co-authored-by: Eric Bailey <git@esb.lol>
2026-01-07 18:38:29 -03:00
github-actions[bot] 8ffbaccc68 Version packages (#4507)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-06 10:32:13 -08:00
Ian Wesley-Smith 63f97ae9c1 add recId to SuggestedUserSkeleton (#4440)
* add recId field to getSuggestedUsersSkeleton

* Revert "add recId field to getSuggestedUsersSkeleton"

This reverts commit 6b936265cd7efd1fc5ec0e05404122feec97e397.

* Adds recId to SuggestedUsersSkeleton

* Do some codegen

* What if more codegen?

* Adds `recId` in `getSuggestUsers` presentation fn

---------

Co-authored-by: Eduardo Cuducos <4732915+cuducos@users.noreply.github.com>
2026-01-06 12:26:14 -05:00
github-actions[bot] 0093727fc4 Version packages (#4505)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-06 15:59:52 +01:00
Matthieu Sieben 2f78893ace Small @atproto/lex improvements (#4501)
* Avoid escaping export identifier when it is a known global

* Use a record type instead of a record schema type as the generic parameter for `ListRecord`

* Export everything from `@atproto/lex-data` and `@atproto/lex-json`

* Add lex-json and lex-data to lex readme

* lock

* Apply defaults when running `schema.$build()` on objects and records.

* changeset

* simplify $Typed and $TypedMaybe

* tidy

* tidy

* Add `enumBlobRefs` utility function

* Add an `indexFile` option that allows generating an "index.ts" file that re-exports every tld namespaces.

* readme

* Add `base64ToUtf8` and `utf8ToBase64` utilities

* Add service auth authentication method
2026-01-06 15:47:13 +01:00
github-actions[bot] 141f91b2fa Version packages (#4504)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-05 18:26:41 -06:00
Daniel Holmgren e3357e9c78 Tap: Lex Indexer (#4483)
* initial pass

* tidying stuff up

* tidy types

* tests

* readme

* app.bsky -> com.exmaple

* changeset

* readme tweak

* pr feedback

* use new Main type

* simplify types a bit
2026-01-05 18:23:30 -06:00
github-actions[bot] e60af07248 Version packages (#4499)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-02 17:40:49 +01:00
Matthieu Sieben e9f065fce8 Add AbortSignal to lex-server handler context (#4498)
* Add AbortSignal to lex-server handler context

* tidy

* lint
2026-01-02 17:36:49 +01:00
Matthieu Sieben e1ca2ff2a4 lint 2026-01-02 14:15:44 +01:00
github-actions[bot] 8e759970af Version packages (#4497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-02 09:48:32 +01:00