atproto_core 0.9.6 copy "atproto_core: ^0.9.6" to clipboard
atproto_core: ^0.9.6 copied to clipboard

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

Release Note #

v0.9.6 #

  • Upgrade at_uri. (#1300)

v0.9.5 #

  • Added .toUtcIso8601String on ServiceContext. (#1278)
  • Bump SDK constraint to '^3.3.0'.

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 on ServiceContext. (#1254)
  • Added parameters arg and you can pass bytes to body arg on .post method. (#1252)
  • BugFix: Made sure to check if the subscribeRepos blocks can be decoded. (#1239)

v0.9.3 #

  • Upgrade dependencies. (#1217)
  • Added headers parameter for .get method on ServiceContext.

v0.9.2 #

  • Upgrade dependencies. (#1159)

v0.9.1 #

  • Upgrade dependencies. (#1146)

v0.9.0 #

  • Removed base_xrpc_service. (#1127)

v0.8.1 #

  • Upgraded xrpc.

v0.8.0 #

  • Upgraded NSID. (#1112)
  • The following methods of BaseXRPCService now require an NSID argument. Immutable NSIDs are preferred. (#1114)
  • Removed streamService and added relayService instead. Defaults to bsky.network. (#1116)

v0.7.0 #

  • Removed AuthType and ClientResolver. Let the server handle whether authentication is required or not. (#1102)

v0.6.3 #

  • Added cardyb.bsky.app as defaultLinkPreviewService. (#1009)

v0.6.2 #

  • Added AuthType.authOptional. (#1012)

v0.6.1 #

  • Added BaseHttpService.post. (#999)
  • Fixed a bug that service names were not specified correctly when using stream endpoints.

v0.6.0 #

  • Added HTTP specific client. (#989)
  • Renamed from UserContext to AuthType.

v0.5.9 #

  • Added .deleteSession function. (#963)
  • Added didDoc field on Session object. (#968)

v0.5.8 #

  • Upgraded xrpc package.

v0.5.7 #

  • Added isEmailConfirmed field on Session. (#856)

v0.5.6 #

  • Upgraded xrpc package. Fixed field names for rate limit.

v0.5.5 #

  • Upgraded at_uri. (#797)

v0.5.4 #

  • Added .accessToken and .refreshToken properties on Session object. You can get decoded token objects based on JWT tokens. Also you can decode JWT token with decodeJwt function. (#787)

v0.5.3 #

  • Added Platform enum. (#709)
  • Added isValidAppPassword function. (#713)

v0.5.2 #

  • Moved Session object and createSession function from atproto. And exposed refreshSession as a function. (#686)

v0.5.1 #

  • Upgraded multiformats.
  • Upgrade cbor and now compatible with Flutter 3.13.0. (#681)

v0.5.0 #

  • Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
  • Dart3 modifier applied.

v0.4.6 #

  • Upgraded xrpc and exposed RateLimit and RateLimitPolicy objects. (#636)
  • Added Pagination object and paginate method in BaseService. (#626)

v0.4.5 #

  • Export useful ids and annotations as const. (#606)

v0.4.4 #

  • Export atUriConverter as const. (#605)

v0.4.3 #

  • Fixed parameter type of upload and subscribe in BaseService from NSID to String.

v0.4.2 #

  • Upgraded xrpc. (#563)

v0.4.1 #

  • Fixed to throw UnsupportedError when an anonymous user tries to access an endpoint that requires authentication. (#564)

v0.4.0 #

  • Added homepage in pubspec.yaml. (#549)
  • Changed the argument of the upload method to byte data instead of a File object. This change allows uploads to be used without being affected by platform differences. (#556)

v0.3.5 #

  • Added adaptor parameter in get and subscribe, and removed decoder and converter. (#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.3.2 #

  • Added decoder parameter in stream. (#472)

v0.3.1 #

  • Added converter parameter in stream<T>. (#446)

v0.3.0 #

  • Updated SDK to ">=2.17.0 <4.0.0". (#406)

v0.2.10 #

  • The retry algorithm has been modified to retry when an InternalServerError occurs as a result of XRPC communication. (#358)

v0.2.9 #

  • Upgraded xrpc and added stream method. (#318)

v0.2.8 #

  • Upgraded xrpc and added protocol option. (#269)

v0.2.7 #

  • Upgraded xrpc. (#249)

v0.2.6 #

  • Upgraded xrpc. (#249)

v0.2.5 #

  • Upgraded xrpc. (#249)

v0.2.4 #

  • Upgraded xrpc. (#249)

v0.2.3 #

  • Added upload feature. (#249)

v0.2.2 #

  • Upgraded xrpc to make this package compatible with Flutter. (#242)

v0.2.1 #

  • Fixed to body as optional and added headers for post. (#218)

v0.2.0 #

  • Use xrpc package and refactored structures. (#146)
  • Exposed AtUri. (#144)

v0.1.2 #

  • Redefined retry processing as a class and exposed it as challenge.dart. (#128)

v0.1.1 #

  • Deleted ATProtoResponse<List> transformMultiDataResponse<D> from BaseService. (#112)

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!
2
likes
0
pub points
53%
popularity

Publisher

verified publisheratprotodart.com

Core library for clients and tools. This package is mainly used by https://atprotodart.com packages.

Homepage
Repository (GitHub)
View/report issues

Topics

#atproto #bluesky #api #core

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

at_uri, cbor, freezed_annotation, json_annotation, multiformats, universal_io, xrpc

More

Packages that depend on atproto_core