sm_network 1.4.0 copy "sm_network: ^1.4.0" to clipboard
sm_network: ^1.4.0 copied to clipboard

A Dart networking library that provides a simple and convenient way to access network resources.

sm_network #

1.4.0 #

  • Remove Converter from HttpBaseOptions (breaking change).
  • Fix exception response data type handling.
  • Add HttpClientOptions, including HTTP/2 support.
  • Require Dio 5.9.2 or later for HTTP/2 adapter compatibility.
  • Use sm_retry for shared retry and exponential backoff behavior.
  • Move Android and iOS system proxy support to the optional sm_network_proxy Flutter plugin so the core package stays Dart-only.
  • Keep Http.config() synchronous.
  • Keep the public Web entrypoint free of dart:io implementations.
  • Preserve system TLS certificate validation unless a PEM certificate is explicitly configured.
  • Expand the documentation and runnable examples for model conversion, uploads, downloads, retries, cancellation, HTTP/2, and platform behavior.
  • Preserve the requested HTTP method for convenience requests, uploads, and downloads.

1.3.1 #

  • Add converters

1.3.0 #

  • Add retry

1.2.0 #

  • Add support for map cascade conversion
  • Add download and upload function
  • Move Net to Http.
  • Rename LogcatInterceptor to HttpLogInterceptor and fix log error.
  • Change log enable to default false.
  • Add upload files filed
  • Fix LogcatInterceptor always last
  • Modify the form's log representation
  • Fix some bugs.

1.1.1 #

  • Compatible with Flutter 3.24.5 version

1.1.0 #

  • refactor, requires adaptation

1.0.0 #

  • refactor, requires adaptation

0.1.1+1 #

  • fix paging.

0.1.1 #

  • rename pageable to paging.

0.0.10 #

  • update pageable.

0.0.9 #

  • fix bugs.

0.0.8 #

  • Optimized log.
  • fix bugs.

0.0.7 #

  • update pubspec.

0.0.6 #

  • feat pageable.

0.0.5 #

  • fix bugs.

0.0.4 #

  • rename.

0.0.3 #

  • fix some norms.

0.0.2 #

  • Optimized architecture.

0.0.1 #

  • Describe initial release.
3
likes
160
points
69
downloads

Documentation

API reference

Publisher

verified publishershay.wang

Weekly Downloads

A Dart networking library that provides a simple and convenient way to access network resources.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, dio_http2_adapter, json_annotation, meta, sm_retry

More

Packages that depend on sm_network