xrpc 0.5.2 copy "xrpc: ^0.5.2" to clipboard
xrpc: ^0.5.2 copied to clipboard

Core library for XRPC communication. This is a wrapped HTTP client for AT Protocol.

Release Note #

v0.5.2 #

  • Bump SDK constraint to '^3.3.0'.

v0.5.1 #

  • 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)
  • Added parameters arg on .post and .procedure. (#1252)
  • Removed .upload from xrpc. You can upload from .procedure and pass bytes to body. (#1252)

v0.5.0 #

  • Renamed types. (#1217)
    • From To to ResponseDataBuilder
    • From ResponseAdaptor to ResponseDataAdaptor

v0.4.5 #

v0.4.4 #

  • Upgrade dependencies. (#1146)

v0.4.3 #

  • Don't remove empty list.

v0.4.2 #

v0.4.1 #

  • Added .post function. (#999)
  • Use bsky.network as default when service is missing for .subscribe function.

v0.4.0 #

  • Added HTTP specific function and exposed as http/http. (#989)
    • .get

v0.3.3 #

  • You can specify Uint8List as a type parameter.

v0.3.2 #

  • Fixed field names for rate limits.

v0.3.1 #

  • Improved documents. (#677)

v0.3.0 #

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

v0.2.2 #

  • Supported RateLimit. You can access this property from XRPCResponse.rateLimit. If there is no rate limits, then it's always null. (#636)
  • Added .waitUntilReset method on RateLimit (#643)

v0.2.1 #

  • Allows Map<String, dynamic> to be specified for generics, allowing response data to be retrieved as JSON. (#563)

v0.2.0 #

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

v0.1.4 #

  • Added ResponseAdaptor and removed JsonConverter and Decoder. (#495)

v0.1.3 #

  • Removed cbor dependency and car_decoder, moved to atproto_core. (#473)

v0.1.2 #

  • Added decoder parameter in subscribe and delegate data decoding to the responsibility of the app that uses xrpc. (#472)

v0.1.1 #

  • Added converter parameter in subscribe. (#446)

v0.1.0 #

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

v0.0.14 #

  • Supported subscription function as subscribe. (#318)

v0.0.13 #

  • Supported protocol options in query, procedure, upload. You can choose http as a protocol for your test locally. Defaults to https. (#269)

v0.0.12 #

  • Fixed upload. (#249)

v0.0.11 #

  • Fixed upload. (#249)

v0.0.10 #

  • Fixed structures. (#249)

v0.0.9 #

  • Fixed build config. (#249)

v0.0.8 #

  • Added upload function. (#249)

v0.0.7 #

  • Downgrade meta to make this package compatible with Flutter. (#242)

v0.0.6 #

  • Fix to pass null if body is null during POST. (#218)

v0.0.5 #

  • Fixed XRPCResponse to XRPCResponse<XRPCError> in XRPCException. (#177)

v0.0.4 #

  • Allow String to be set to data in XRPCResponse. (#174)

v0.0.3 #

  • Fixed internal structures.

v0.0.2 #

  • service and getClient/postClient are now nullable. (#146)

v0.0.1 #

  • First Release.

v0.0.0 #

  • Let's start.
2
likes
140
pub points
25%
popularity
screenshot

Publisher

verified publisheratprotodart.com

Core library for XRPC communication. This is a wrapped HTTP client for AT Protocol.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#atproto #bluesky #http #xrpc

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (LICENSE)

Dependencies

freezed_annotation, http, json_annotation, mime, nsid, web_socket_channel

More

Packages that depend on xrpc