atproto_core 1.0.0
atproto_core: ^1.0.0 copied to clipboard
Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.
Release Note #
0.11.2 #
- Bump
xrpc.
0.11.1 #
- Retry if a DPoP nonce error occurs during the execution of
OAuthClient.refresh. - Add
restoreOAuthSessionfunction.
0.11.0 #
- Expose
atproto_oauthpackage. - Add
.oAuthSessionparameter onServiceContext. - Rename
AuthTokentoJwt.- Change type of
scopefrom enum toString - Rename
subjecttosub - Rename
expiresAttoexp - Rename
issuedAttoiat
- Change type of
- Rename extended getters on
Session- From
accessTokentoaccessTokenJwt - From
refreshTokentorefreshTokenJwt
- From
0.10.5 #
- Expose
NsidConverter. - Add
clientparameter for.getand.postonServiceContext.
0.10.4 #
- Expose
.atprotoPdsEndpointfrom as an extension ofSession. You can get specific pds endpoint based on did document.
0.10.3 #
- Change the type
.collectionproperty fromStringtoNSIDonAtUri. You need to do.collection.toString()when you want a string of collection. (#1551)
0.10.2 #
- The
serviceis automatically resolved from the DID Document of the givenSession. (#1543)- If no authentication is performed and no
Sessionis passed, the defaultbsky.socialis 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.socialas default.
- If no authentication is performed and no
0.10.1 #
- Fixed a bug that prevented toJson on freezed objects.
0.10.0 #
- Add
.activeand.statusproperties onSessionobject. (#1516) - Move
BlobConverter,Blob,BlobReffromatprotopackage toatproto_core.
0.9.10 #
- Don't include Auth headers in
.headers.
0.9.9 #
- Add
appPassPrivilegedonAuthScope. (#1501) - Add
.headersproperty. 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
.serviceand.relayServiceproperties onServiceContext. (#1254) - Added
parametersarg and you can pass bytes tobodyarg on.postmethod. (#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
AuthTypeandClientResolver. 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
xrpcpackage.
0.5.6 #
- Upgraded
xrpcpackage. Fixed field names for rate limit.
0.5.4 #
- Added
.accessTokenand.refreshTokenproperties onSessionobject. You can get decoded token objects based on JWT tokens. Also you can decode JWT token withdecodeJwtfunction. (#787)
0.5.2 #
- Moved
Sessionobject andcreateSessionfunction fromatproto. And exposedrefreshSessionas 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
uploadandsubscribeinBaseServicefromNSIDtoString.
0.4.1 #
- Fixed to throw
UnsupportedErrorwhen an anonymous user tries to access an endpoint that requires authentication. (#564)
0.4.0 #
0.3.5 #
- Added
adaptorparameter ingetandsubscribe, and removeddecoderandconverter. (#495) - Added
progress_status.dart.
0.3.4 #
- Improved generation of
CIDhash 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)
BaseServiceEmptyATProtoResponseATProtoRequestATProtoExceptionForbiddenException
0.0.2 #
- Exposed
client_context.dart.
0.0.1 #
- First Release!