atproto_core 1.0.7
atproto_core: ^1.0.7 copied to clipboard
Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.
Release Note #
1.0.7 #
- MIGRATION: Updated to use the consolidated
at_primitives
package for all primitive AT Protocol types. - IMPROVEMENT: Simplified dependency management by adopting unified primitive types from
at_primitives
.
1.0.6 #
- fix: Drop
universal_io
for WASM compatibility.
1.0.5 #
- chore: fix
WARNING: The annotation 'JsonSerializable.new' can only be used on classes.
.
1.0.4 #
- chore: optimized structures.
1.0.3 #
- chore: Removed outdated processes.
1.0.2 #
- Fix SDK constraint to '">=3.8.0 <4.0.0"'.
1.0.1 #
- chore: optimized docs.
0.11.2 #
- Bump
xrpc
.
0.11.1 #
- Retry if a DPoP nonce error occurs during the execution of
OAuthClient.refresh
. - Add
restoreOAuthSession
function.
0.11.0 #
- Expose
atproto_oauth
package. - Add
.oAuthSession
parameter onServiceContext
. - Rename
AuthToken
toJwt
.- Change type of
scope
from enum toString
- Rename
subject
tosub
- Rename
expiresAt
toexp
- Rename
issuedAt
toiat
- Change type of
- Rename extended getters on
Session
- From
accessToken
toaccessTokenJwt
- From
refreshToken
torefreshTokenJwt
- From
0.10.5 #
- Expose
NsidConverter
. - Add
client
parameter for.get
and.post
onServiceContext
.
0.10.4 #
- Expose
.atprotoPdsEndpoint
from as an extension ofSession
. You can get specific pds endpoint based on did document.
0.10.3 #
- Change the type
.collection
property fromString
toNSID
onAtUri
. You need to do.collection.toString()
when you want a string of collection. (#1551)
0.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
0.10.1 #
- Fixed a bug that prevented toJson on freezed objects.
0.10.0 #
- Add
.active
and.status
properties onSession
object. (#1516) - Move
BlobConverter
,Blob
,BlobRef
fromatproto
package toatproto_core
.
0.9.10 #
- Don't include Auth headers in
.headers
.
0.9.9 #
- Add
appPassPrivileged
onAuthScope
. (#1501) - Add
.headers
property. Returns the merged headers with global headers and auth header.
0.9.8 #
0.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)
0.8.1 #
- Upgraded
xrpc
.
0.8.0 #
0.7.0 #
- Removed
AuthType
andClientResolver
. Let the server handle whether authentication is required or not. (#1102)
0.6.1 #
- Added
BaseHttpService.post
. (#999) - Fixed a bug that service names were not specified correctly when using stream endpoints.
0.5.8 #
- Upgraded
xrpc
package.
0.5.6 #
- Upgraded
xrpc
package. Fixed field names for rate limit.
0.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)
0.5.2 #
- Moved
Session
object andcreateSession
function fromatproto
. And exposedrefreshSession
as a function. (#686)
0.5.0 #
- Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
- Dart3 modifier applied.
0.4.6 #
0.4.3 #
- Fixed parameter type of
upload
andsubscribe
inBaseService
fromNSID
toString
.
0.4.1 #
- Fixed to throw
UnsupportedError
when an anonymous user tries to access an endpoint that requires authentication. (#564)
0.4.0 #
0.3.5 #
- Added
adaptor
parameter inget
andsubscribe
, and removeddecoder
andconverter
. (#495) - Added
progress_status.dart
.
0.3.4 #
- Improved generation of
CID
hash codes, allowing CID objects to be specified as keys for Maps, etc. (#490)
0.3.3 #
- Fixed
subscribeRepoUpdates
.
0.2.10 #
- The retry algorithm has been modified to retry when an InternalServerError occurs as a result of XRPC communication. (#358)
0.1.0 #
- Added core objects. (#70)
BaseService
Empty
ATProtoResponse
ATProtoRequest
ATProtoException
ForbiddenException
0.0.2 #
- Exposed
client_context.dart
.
0.0.1 #
- First Release!