Skip to content

2.0.0-beta.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@CodingAleCR CodingAleCR released this 10 Aug 17:17
· 33 commits to main since this release
5c10e33

What's Changed

  • ✨  Added: Future<bool> shouldInterceptRequest() and Future<bool> shouldInterceptResponse(). This enables individual interceptor checks and conditional intercepting configurations.
  • ✨  Added: bodyBytes to Request.copyWith. This adds support to set and modify the body as a stream of bytes.
  • ❗️🛠  Changed: RetryPolicy to be Future<bool> instead of bool so that you can support different exception retrying scenarios (See #115).
  • 📖  Changed: example project to showcase updated Flutter 3.0, new library APIs and MultipartRequest handling.

Full Changelog: 2.0.0-beta.5...2.0.0-beta.6