atproto_core 0.10.4 atproto_core: ^0.10.4 copied to clipboard
Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.
Release Note #
v0.10.4 #
- Expose
.atprotoPdsEndpoint
from as an extension ofSession
. You can get specific pds endpoint based on did document.
v0.10.3 #
- Change the type
.collection
property fromString
toNSID
onAtUri
. You need to do.collection.toString()
when you want a string of collection. (#1551)
v0.10.2 #
- The
service
is automatically resolved from the DID Document of the givenSession
. (#1543)- If no authentication is performed and no
Session
is passed, the defaultbsky.social
is used. - If the user passes a specific
service
, it always respects the value of the user'sservice
. - If something wrong happens for some reason, it uses
bsky.social
as default.
- If no authentication is performed and no
v0.10.1 #
- Fixed a bug that prevented toJson on freezed objects.
v0.10.0 #
- Add
.active
and.status
properties onSession
object. (#1516) - Move
BlobConverter
,Blob
,BlobRef
fromatproto
package toatproto_core
.
v0.9.10 #
- Don't include Auth headers in
.headers
.
v0.9.9 #
- Add
appPassPrivileged
onAuthScope
. (#1501) - Add
.headers
property. Returns the merged headers with global headers and auth header.
v0.9.8 #
v0.9.4 #
- Improved redundant error messages. Now it shows like
GET https://bsky.social/xrpc/com.atproto.identity.resolveHandle 400 Error: Params must have the property "handle"
. (#1253) - Exposed
.service
and.relayService
properties onServiceContext
. (#1254) - Added
parameters
arg and you can pass bytes tobody
arg on.post
method. (#1252) - BugFix: Made sure to check if the subscribeRepos blocks can be decoded. (#1239)
v0.8.1 #
- Upgraded
xrpc
.
v0.8.0 #
v0.7.0 #
- Removed
AuthType
andClientResolver
. Let the server handle whether authentication is required or not. (#1102)
v0.6.1 #
- Added
BaseHttpService.post
. (#999) - Fixed a bug that service names were not specified correctly when using stream endpoints.
v0.5.8 #
- Upgraded
xrpc
package.
v0.5.6 #
- Upgraded
xrpc
package. Fixed field names for rate limit.
v0.5.4 #
- Added
.accessToken
and.refreshToken
properties onSession
object. You can get decoded token objects based on JWT tokens. Also you can decode JWT token withdecodeJwt
function. (#787)
v0.5.2 #
- Moved
Session
object andcreateSession
function fromatproto
. And exposedrefreshSession
as a function. (#686)
v0.5.0 #
- Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
- Dart3 modifier applied.
v0.4.6 #
v0.4.3 #
- Fixed parameter type of
upload
andsubscribe
inBaseService
fromNSID
toString
.
v0.4.1 #
- Fixed to throw
UnsupportedError
when an anonymous user tries to access an endpoint that requires authentication. (#564)
v0.4.0 #
v0.3.5 #
- Added
adaptor
parameter inget
andsubscribe
, and removeddecoder
andconverter
. (#495) - Added
progress_status.dart
.
v0.3.4 #
- Improved generation of
CID
hash codes, allowing CID objects to be specified as keys for Maps, etc. (#490)
v0.3.3 #
- Fixed
subscribeRepoUpdates
.
v0.2.10 #
- The retry algorithm has been modified to retry when an InternalServerError occurs as a result of XRPC communication. (#358)
v0.1.0 #
- Added core objects. (#70)
BaseService
Empty
ATProtoResponse
ATProtoRequest
ATProtoException
ForbiddenException
v0.0.2 #
- Exposed
client_context.dart
.
v0.0.1 #
- First Release!