Releases: Zekfad/fetch_client
Releases · Zekfad/fetch_client
1.1.2
1.1.1
1.1.0
Requires Dart 3.3
- Migrate to
fetch_api
2.0.0.
This requires Dart 3.3, but makes package WASM ready. - Update
http
constraint to^1.2.0
. - BREAKING:
FetchResponse
url
now isUri
instead ofString
. FetchResponse
now implementsBaseResponseWithUrl
.- Fix unclosed requests after client is closed in-between fetch request.
- Fix
HEAD
request in FireFox. - Handle response length checks.
- Add
FetchRequest
class that wraps otherRequest
to provide fetch options
overrides. - Removed
integrity
fromFetchClient
constructor as it wasn't used, use
FetchRequest.integrity
instead.
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 onio
platforms. - Added
streamRequests
option 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_api
dependency 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). FetchResponse
isRedirect
now is alwaysfalse
(because with disabled redirects
exception is throws on redirect, and browser always follows redirects
otherwise)- Added
redirected
flag, that indicates whether request was redirected. - Added docs.
1.0.0-dev.3
- Bumped
fetch_api
dependency to^1.0.0-dev.3
. - Use
fetch_api.compatibility_layer
to support Dart 2.19. - Fixed name of example file.
1.0.0-dev.2
- Bumped
fetch_api
dependency to^1.0.0-dev.2
.- Downgraded
js
dependency to^0.6.5
.
- Downgraded