@atproto/lexicon
Advanced tools
Comparing version 0.4.1-rc.0 to 0.4.1
# @atproto/lexicon | ||
## 0.4.1-rc.0 | ||
## 0.4.1 | ||
### Patch Changes | ||
- [#2483](https://github.com/bluesky-social/atproto/pull/2483) [`2ded0156b`](https://github.com/bluesky-social/atproto/commit/2ded0156b9adf33b9cce66583a375bff922d383b) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Add the ability to instantiate a Lexicon from an iterable, and to use a Lexicon as iterable. | ||
- [#2483](https://github.com/bluesky-social/atproto/pull/2483) [`b934b396b`](https://github.com/bluesky-social/atproto/commit/b934b396b13ba32bf2bf7e75ecdf6871e5f310dd) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Add the ability to instantiate a Lexicon from an iterable, and to use a Lexicon as iterable. | ||
- [#2483](https://github.com/bluesky-social/atproto/pull/2483) [`2ded0156b`](https://github.com/bluesky-social/atproto/commit/2ded0156b9adf33b9cce66583a375bff922d383b) Thanks [@matthieusieben](https://github.com/matthieusieben)! - **New Features**: | ||
- [#2707](https://github.com/bluesky-social/atproto/pull/2707) [`2bdf75d7a`](https://github.com/bluesky-social/atproto/commit/2bdf75d7a63924c10e7a311f16cb447d595b933e) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Remove internal circular dependency. | ||
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 `SessionManager` instance. If you were making authenticated | ||
requests, you'll need to update your code to use explicit session management. | ||
- The `fetch()` method, as well as WhatWG compliant `Request` and `Headers` | ||
constructors, must be globally available in your environment. | ||
## 0.4.0 | ||
@@ -34,0 +12,0 @@ |
{ | ||
"name": "@atproto/lexicon", | ||
"version": "0.4.1-rc.0", | ||
"version": "0.4.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "atproto Lexicon schema language library", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1167324