Releases: Zekfad/fetch_client
Releases · Zekfad/fetch_client
1.2.1
1.2.0
Requires Dart 3.4
- Bumped
httpto 1.5.0. - Support request cancellation via
Abortablefromhttp.You are not required to add
abortTriggerto wrappingFetchRequestsince it will inherit it by default.
You can also just usehttp'sAbortableRequestdirectly if you don't need to customizefetchbehavior on a request basis. RequestCanceledExceptionhow implementsRequestAbortedException.FetchRequesthow also implementsAbortable.
1.1.4
1.1.3
- Fix possible unhandled promise rejection if underlying data stream is errored.
- Update license years.
- Throw
RequestCanceledExceptionwith reason when using
FetchResponse.cancelor client is closed with request in-progress.Semantic is currently undefined and this is implementation specific
behavior.See http#1192 for more
info.
1.1.2
1.1.1
1.1.0
Requires Dart 3.3
- Migrate to
fetch_api2.0.0.
This requires Dart 3.3, but makes package WASM ready. - Update
httpconstraint to^1.2.0. - BREAKING:
FetchResponseurlnow isUriinstead ofString. FetchResponsenow implementsBaseResponseWithUrl.- Fix unclosed requests after client is closed in-between fetch request.
- Fix
HEADrequest in FireFox. - Handle response length checks.
- Add
FetchRequestclass that wraps otherRequestto provide fetch options
overrides. - Removed
integrityfromFetchClientconstructor as it wasn't used, use
FetchRequest.integrityinstead.