2.0.0-beta.1
Pre-release
Pre-release
What's Changed
- ❗️🛠 Changed: Renamed
Method
to useHttpMethod
and refactored helper functions into extensions (StringToMethod
, andMethodToString
). - ❗️🛠 Changed:
InterceptorContract
to useBaseRequest
andBaseResponse
instead of custom models. - ❗️🛠 Removed:
RequestData
andResponseData
since the classes are no longer used. - ✨ Added: Support for intercepting
Request
,StreamedRequest
andMultipartRequest
. - ✨ Added: Support for intercepting
Response
,StreamedResponse
andMultipartRequest
. - ✨ Added: Extensions for
BaseRequest
,Request
,StreamedRequest
andMultipartRequest
that allows copying requests through acopyWith
method. - ✨ Added: Extensions for
BaseResponse
,Response
,StreamedResponse
andIOStreamedResponse
that allows copying responses through acopyWith
method. - 📖 Changed: example project to showcase updated APIs.
- 🚦 Tests: Improved testing and documentation.
New Contributors
- @lukaskurz made their first contribution in #98
Full Changelog: 1.0.2...2.0.0-beta.1