-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3dc9c36
commit 4d32866
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@atproto/xrpc-server": minor | ||
--- | ||
|
||
Allow upload of payload of zero bytes (e.g. empty txt file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@atproto/lexicon": patch | ||
--- | ||
|
||
Add the ability to instantiate a Lexicon from an iterable, and to use a Lexicon as iterable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
"@atproto/lex-cli": minor | ||
"@atproto/xrpc": minor | ||
"@atproto/api": minor | ||
"@atproto/xrpc-server": patch | ||
"@atproto/dev-env": patch | ||
"@atproto/lexicon": patch | ||
"@atproto/ozone": patch | ||
"@atproto/bsky": patch | ||
"@atproto/pds": patch | ||
--- | ||
|
||
**New Features**: | ||
|
||
1) Improved Separation of Concerns: We've restructured the XRPC HTTP call dispatcher into a distinct class. This means cleaner code organization and better clarity on responsibilities. | ||
2) Enhanced Evolutivity: With this refactor, the XRPC client is now more adaptable to various use cases. You can easily extend and customize the dispatcher perform session management, retries, and more. | ||
|
||
**Compatibility**: | ||
|
||
Most of the changes introduced in this version are backward-compatible. However, there are a couple of breaking changes you should be aware of: | ||
|
||
- Customizing `fetchHandler`: The ability to customize the fetchHandler on the XRPC Client and AtpAgent classes has been modified. Please review your code if you rely on custom fetch handlers. | ||
- Managing Sessions: Previously, you had the ability to manage sessions directly through AtpAgent instances. Now, session management must be handled through a dedicated `SessionDispatcher` class. If you were using session management directly, you'll need to update your code accordingly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@atproto/xrpc": minor | ||
"@atproto/api": minor | ||
--- | ||
|
||
Add the ability to use `fetch()` compatible `BodyInit` body when making XRPC calls. |