Skip to content

2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@CodingAleCR CodingAleCR released this 14 Nov 03:45
· 34 commits to main since this release

What's Changed

  • ❗️🛠  Changed: Renamed Method to use HttpMethod and refactored helper functions into extensions (StringToMethod, and MethodToString).
  • ❗️🛠  Changed: InterceptorContract to use BaseRequest and BaseResponse instead of custom models.
  • ❗️🛠  Removed: RequestData and ResponseData since the classes are no longer used.
  • ✨  Added: Support for intercepting Request,StreamedRequest and MultipartRequest.
  • ✨  Added: Support for intercepting Response,StreamedResponse and MultipartRequest.
  • ✨  Added: Extensions for BaseRequest, Request,StreamedRequest and MultipartRequest that allows copying requests through a copyWith method.
  • ✨  Added: Extensions for BaseResponse, Response,StreamedResponse and IOStreamedResponse that allows copying responses through a copyWith method.
  • 📖  Changed: example project to showcase updated APIs.
  • 🚦  Tests: Improved testing and documentation.

New Contributors

Full Changelog: 1.0.2...2.0.0-beta.1