Releases: Zekfad/fetch_client
Releases · Zekfad/fetch_client
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.
1.0.2
1.0.1
1.0.0
1.0.0-dev.5
- Added
RedirectPolicy, that will make it possible to partially emulate how
redirects are returned onioplatforms. - Added
streamRequestsoption toFetchClient. This allows you to use Fetch
request body streaming utilizing half-duplex connection. - Fixed dev dependencies versions to allow running on Dart 2.19.
1.0.0-dev.4
- Bumped
fetch_apidependency to^1.0.0-dev.4. - Added conformance test.
- Full conformance with http client (with exclusion of streamed requests and
redirects, due to API limitations). FetchResponseisRedirectnow is alwaysfalse(because with disabled redirects
exception is throws on redirect, and browser always follows redirects
otherwise)- Added
redirectedflag, that indicates whether request was redirected. - Added docs.