Commit Graph

2335 Commits

Author SHA1 Message Date
Matthieu Sieben 138f0a0b37 Fix @atproto/sync test flakyness (#4705) 2026-03-03 13:57:02 +01:00
Matthieu Sieben e8969b6b3d Add Lex SDK support to @atproto/xrpc-server (#4691)
* Lex SDK error handling improvements

* Add support for method defined through `@atproto/lex` in addition to `@atproto/lexicon` "codegen"

* review comments

* tidy
2026-03-03 11:28:09 +01:00
DS Boyce 137065b333 Add feed to sendInteractions input (#4704) 2026-03-02 11:27:09 -08:00
Matthieu Sieben 52834aba18 Lex SDK error handling improvements (#4688)
* Lex SDK error handling improvements

* Allow `WWWAuthenticate` to have multiple challenges for the same scheme

* tidy

* add tests

* tests

* review comments

* tidy

* tidy

* tidy

* tidy
2026-03-02 15:37:00 +01:00
rafaeleyng 1b83d841cf Fix README typo 2026-02-23 10:31:09 -03:00
rafael d69c81e335 Fix invalid handle showing verification (#4634) 2026-02-23 10:22:14 -03:00
github-actions[bot] cb5f9bfc0c Version packages (#4674)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-23 09:37:01 +01:00
Lotharie 450f085663 docs: Updating app password based session example (#4631)
* docs: Updating app password based session example

Updating atproto app password based session example in README

* refactor: prettier lint + changeset
2026-02-23 09:30:05 +01:00
Matthieu Sieben 38852f0ddf QoL improvements for lex SDK (#4672)
* Allow calling `xrpc` and `xrpcSafe` functions with a service URL

* tidy

* tidy

* fix test

* Improve app password based session management

* lex lex jsdoc

* Add easy login for app password based bots

* Shorten readme intro
2026-02-20 20:26:43 +01:00
Matthieu Sieben c4b04899c8 Attempt at fixing flaky BSKY test (#4673)
Attempt at fixin CI
2026-02-20 20:26:27 +01:00
github-actions[bot] 8603be629a Version packages (#4668)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-20 10:50:49 +01:00
Matthieu Sieben dc9644bbeb Fix lint warning in @atproto/identity (#4669) 2026-02-20 10:35:45 +01:00
Matthieu Sieben 66b72950e8 Fix lex-cbor warnin: import with (#4667)
Use import `with` instead of deprecated import `assert` (fixing build warning)
2026-02-20 09:30:43 +01:00
github-actions[bot] caad88223f Version packages (#4653)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-20 09:05:35 +01:00
Eric Bailey 7cf7d9062d [APP-1796] Add identifier fallbacks (#4664)
* Add identifier fallbacks

* Cleanup

* No await
2026-02-19 16:30:05 -06:00
Matthieu Sieben a23d13268c OAuth client improvements (#4642)
* Delete any pre-existing OAuth session when a new one is created (for a given `sub`)

* OAuth client improvements

* tidy

* tidy

* tdy

* remove event-target-polyfill dep

* Update .changeset/neat-humans-fix.md

Co-authored-by: devin ivy <devinivy@gmail.com>

* tidy

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2026-02-19 15:21:00 +01:00
Matthieu Sieben ea5df64db9 Various Lex SDK improvements (#4660)
* Various Lex SDK improvements

* changeset

* Improve typeing of `string()` schemas

* fix tests

* improve backwards compatibility
2026-02-19 13:52:24 +01:00
Matthieu Sieben 39dea03c41 Lex SDK fixes and improvements (#4654)
* minor tests fix

* Properly support "enum" and "const" schemas in params

* tidy

* Add support for `knownValues` in string schemas

* tidy

* tests

* tidy

* tidy

* tidy

* fix types

* fix tests

* add suggested tests

* merge conflicts
2026-02-19 13:17:54 +01:00
Matthieu Sieben cd9deb6f21 Fix conflicting identifier for generated type utilities (#4659)
Add a `$` in front of the method type utilities to prevent name conflicts with local definitions
2026-02-19 13:04:40 +01:00
Matthieu Sieben 0e8d4bb62b Skip puppeteer download in build and verify steps (#4652)
* Skip puppeteer download in build and verify steps

* tidy

* tidy

* fix deps

* install puppeteer as pretest step

* cleanup
2026-02-18 17:43:38 +01:00
Matthieu Sieben 009c4afd36 Add test cases for knownValues strings (#4639) 2026-02-18 13:05:59 +01:00
rafael 39cf199df5 move feature gates to analytics folder (#4640)
* move feature gates to analytics folder

* implement scoped feature gate evals

* Add separate config for metrics trackingHost

* Add source param

* Pare down metadata sent to event proxy

* Just build metrics within feature gate client

* Refactor a bit to streamline usage

* Further pare down API to be super clear

* Add readme

* Cleanup

* Use new env vars

* Stop metrics if we stop feature-gates

* Add metrics client test

* Adjust imports for lint

* Try catch for safety, revert logger change

* Structure log metadata to match proxy needs

* Nah use stableId

* Revert "Nah use stableId"

This reverts commit 5c6d39a2420f32efa43955b85d0cf19f20bf2c16.

* Align on deviceId

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2026-02-17 16:59:29 -06:00
github-actions[bot] 2335075a20 Version packages (#4648)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-16 21:53:46 -06:00
Eric Bailey 978a99efad [ALG-58] Use existing getOnboardingSuggestedUsersSkeleton method name (#4647)
* Use existing method name

* Fix import

* Wait no, still wrong

* Changeset
2026-02-16 21:48:32 -06:00
DS Boyce 48aee6c92c Add recIdStr to suggested follows by actor (#4644)
* Add recIdStr to suggested follows by actor

* Add recIdStr to get suggestions skeleton
2026-02-16 13:37:25 -08:00
devin ivy ae220d593b PDS: compare lexicon methods case-insensitively (#4643)
* pds: lxm checks case-insensitive

* tidy
2026-02-16 14:00:50 -05:00
github-actions[bot] 6ae3cf6131 Version packages (#4637)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-13 15:11:24 +01:00
dan 619068fb81 Expose LexDefBuilder and allow passing moduleSpecifier (#4610)
* Expose LexDefBuilder and allow passing moduleSpecifier

* Changeset
2026-02-13 15:07:10 +01:00
Geoff Cramer 95e377504a Create index for fetching mod events by creator (#4630)
* db: create index for moderation_event.createdBy

* tests: add queryEvents by creator test case

* refactor: add additional columns to createdBy index to match runtime query

* refactor: remove id since including both createdAt and id provide little incremental efficiency

* refactor: adding id back since it could matter in some cases
2026-02-11 14:52:46 -05:00
github-actions[bot] 379cae6986 Version packages (#4625)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-10 19:39:18 -03:00
rafael 60f84ebe47 increase draft char limit (#4633) 2026-02-10 19:35:11 -03:00
rafael 50dfbec512 Add separate onboarding suggested users endpoint (#4632) 2026-02-10 19:18:59 -03:00
bnewbold f8c84ebd3d update germ lexicon (#4594)
* update germ lexicon (from published)

* make codegen

* add changeset

* Add `none` to germ declaration showButtonTo field (#4627)

add `none` to germ declaration showButtonTo field

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2026-02-09 12:57:37 -06:00
Matthieu Sieben b619ae87a8 Avoid using invalid scope in oauth example app (#4586)
* Avoid using invalid scope in oauth example app

* tidy
2026-02-09 15:57:14 +01:00
Matthieu Sieben 8711f6e1b8 Force getBlob to trigger a browser download (#4616) 2026-02-09 15:30:57 +01:00
github-actions[bot] 23a13d7dde Version packages (#4621)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-06 19:09:51 +01:00
Matthieu Sieben fdbbff8543 Fix validation of oauth /authorize params (#4620) 2026-02-06 19:00:34 +01:00
github-actions[bot] 27cdeb4e86 Version packages (#4604)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-06 15:12:15 +01:00
Matthieu Sieben a2e4e95847 Use fixed version in oauth-provider UI packages (#4619)
* Use fixed version in oauth-provider UI packages

* pnpm-lock
2026-02-06 15:02:12 +01:00
Matthieu Sieben ed61c62f31 Add docs in lex SDK packages (#4601)
* Fix `exports` field in package.json

* tidy

* AT Protocol
2026-02-06 14:40:54 +01:00
Emelia Smith 9fdfb8a3ad Prevent verification of handle.invalid (#4608) 2026-02-06 14:21:29 +01:00
Matthieu Sieben 78fee144ff Throw more detailed error upon CSRF login issue (#4606)
* Throw more detailed error upon CSRF login issue

* Add cookie support detection mechanism

* lint

* tidy

* Update packages/oauth/oauth-provider-ui/cookie-error-page.html

Co-authored-by: devin ivy <devinivy@gmail.com>

* review comments

* tidy

---------

Co-authored-by: devin ivy <devinivy@gmail.com>
2026-02-06 14:20:41 +01:00
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