Skip to content

Releases: Zekfad/fetch_client

1.1.2

28 May 15:48
07a2303
Compare
Choose a tag to compare
  • Bumped fetch_api to 2.2.0.
  • Fixed WASM support.

1.1.1

05 May 06:41
923dadd
Compare
Choose a tag to compare
  • Bumped fetch_api to 2.1.0.
  • Create internal shim for non-JS environments: you can now import package
    without conditional import and use enumerations in VM.
    This is makes it easier to use FetchClient in Flutter via kIsWeb.

1.1.0

03 May 18:54
4f20063
Compare
Choose a tag to compare

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 is Uri instead of String.
  • FetchResponse now implements BaseResponseWithUrl.
  • 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 other Request to provide fetch options
    overrides.
  • Removed integrity from FetchClient constructor as it wasn't used, use
    FetchRequest.integrity instead.

1.0.2

01 Jul 17:03
6631e5b
Compare
Choose a tag to compare

Update docs to clarify compatibility restrictions.

1.0.1

21 Jun 14:25
45b3489
Compare
Choose a tag to compare
  • Update http constraint
    to >=0.13.5 <2.0.0.
  • Update test.

1.0.0

23 Feb 17:10
300aee3
Compare
Choose a tag to compare
  • Public stable release.
  • Bumped fetch_api to 1.0.0.

1.0.0-dev.5

13 Feb 21:45
bef3da9
Compare
Choose a tag to compare
1.0.0-dev.5 Pre-release
Pre-release
  • Added RedirectPolicy, that will make it possible to partially emulate how
    redirects are returned on io platforms.
  • Added streamRequests option to FetchClient. 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

09 Feb 13:40
7adf81e
Compare
Choose a tag to compare
1.0.0-dev.4 Pre-release
Pre-release
  • 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 always false (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

09 Feb 13:40
e7b0e05
Compare
Choose a tag to compare
1.0.0-dev.3 Pre-release
Pre-release
  • 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

22 Jan 21:09
414c4d2
Compare
Choose a tag to compare
1.0.0-dev.2 Pre-release
Pre-release
  • Bumped fetch_api dependency to ^1.0.0-dev.2.
    • Downgraded js dependency to ^0.6.5.