Skip to content

Releases: D-Marc1/far-fetch

v2.0.1

17 Jan 10:10
Compare
Choose a tag to compare

Removed

  • localBaseURL option removed.

Fixed

  • Fix typo in README on array/object as value for key.
  • Fix typo in docs where it said to be using beforeSend() return instead of
    dynamicOptions().

v2.0.0

16 Jan 16:34
Compare
Choose a tag to compare

Added

  • dynamicOptions() returns dynamic options instead of beforeSend(); accepts
    await.
  • localBaseURL option to automatically detect when working locally.
  • Missing testing.

Changed

  • beforeSend() callback parameter now has the current URL and all the request
    options as object parameters.
  • beforeSend() return is not longer used for dynamic options, as a dedicated
    dynamicOptions() function is now used for that.
  • afterSend() and errorHandler accept await.

Fixed

  • Minor typos in README and docs.

v1.2.0-1

18 Oct 00:40
Compare
Choose a tag to compare
v1.2.0-1 Pre-release
Pre-release
  • Add ability to have async beforeSend().
  • Fix minor typo in code where check for headers was before headers getting set

Fix issue where defaultOptions in constructor got overwritten

25 May 02:25
Compare
Choose a tag to compare
  • Change local variable to deep clone to prevent instance variable getting mutated d43e6bb

Fix overwriting issues

25 May 01:50
Compare
Choose a tag to compare
  • Issue where options set in constructor gets overwritten and add deepMerge.
  • Issue where POST overwrites headers.

Switch deep merge plugins

25 May 00:24
Compare
Choose a tag to compare
  • Switch deep merge plugins, as lodash mutates original f131a09

Correct version to adhere to semantic versioning

24 May 23:38
Compare
Choose a tag to compare
  • Make minor clarification for new version and correct CHANGELOG bcc5d8d

Remove setDefaultOptions(), in favor of simply returning object on beforeSend().

24 May 23:13
Compare
Choose a tag to compare
  • Remove setDefaultOptions(), in favor of return on beforeSend(). 4589a9b

Change to response.ok, instead of response.status === 200 check

21 May 18:11
Compare
Choose a tag to compare
  • Change to response.ok for 200-299, instead of just 200 5e2e7d1

v1.0.7...v1.0.8

Fix typos in docs and README

21 May 04:23
Compare
Choose a tag to compare
  • Fix typos in docs 461b7db
  • Fix typos in README and in docs. Minor reorder. db69f70

v1.0.6...v1.0.7