Skip to content

Latest commit

Β 

History

History
282 lines (176 loc) Β· 15.5 KB

CHANGELOG.md

File metadata and controls

282 lines (176 loc) Β· 15.5 KB

Changelog

All notable changes to this project will be documented in this file.

Generated by auto-changelog.

Improved

  • abe9163 ♻️ Update object.entries types internally
  • 98bf109 ♻️ Use explicit error message for ResponseError

Fixed

  • 443d56e πŸš‘ Restrict requests with numbers

v2.1.4 - 2023-11-02

Merged

  • #44 ⬆️ Update dependencies
  • #43 πŸš‘ Fix serialization of null & undefined

v2.1.3 - 2023-10-29

Fixed

  • c91607c πŸš‘ Restore fallback for older module format

v2.1.2 - 2023-10-18

Fixed

  • ac0045e πŸš‘ Fix exports field for Next.js

v2.1.1 - 2023-10-16

Merged

  • #41 Bump json5 from 1.0.1 to 1.0.2
  • #40 Bump decode-uri-component from 0.2.0 to 0.2.2
  • #38 Bump minimist from 1.2.5 to 1.2.7
  • #37 Bump shell-quote from 1.7.2 to 1.7.4

Improved

  • d513a83 ♻️ Remove omit from RequestOptions types

Fixed

  • a494d40 πŸš‘ Type export for modern TS

Dependencies

v2.1.0 - 2022-11-14

Merged

  • #36 βœ… Add base test & update README

Added

  • 897c8b5 ✨ Add 'base' option, fix 'null' origin

Fixed

  • c2c6fa2 πŸš‘ Typo in Serialize interface name

v2.0.1 - 2022-11-14

Improved

  • aabed5f ⚑️ Build minified version

Dependencies

  • 0dfc5c9 βž– Remove requirement for abort-controller package in node.js

v2.0.0 - 2022-11-13

Merged

  • #30 πŸ’₯ v2

Fixed

  • 8368817 πŸš‘ Loosen search params types
  • 09ee5a7 πŸš‘ Package types exports
  • 9774203 πŸš‘ Resource is not valid URL

Dependencies

  • fe7361e ⬆️ Update deps, remove jest types and eslint plugin

v1.7.2 - 2022-10-05

Fixed

  • e2bf550 πŸš‘ Fix void request header

v1.7.1 - 2022-10-03

Fixed

  • 2373554 πŸš‘ Incompatible params type

v1.7.0 - 2022-10-03

Merged

  • #31 ✨ v1.7.0

Improved

  • d166044 ♻️ Fix types names

v1.6.0 - 2021-10-28

Merged

  • #24 🏷 Allow returning Response inside onFailure
  • #23 ✨ Add highWaterMark option and node.js docs
  • #19 ✨ pass in url and options to getHeader function
  • #20 πŸ‘· Add GitHub Actions config

v1.5.1 - 2021-06-19

Merged

  • #18 Bump normalize-url from 4.5.0 to 4.5.1

Improved

  • e1b5076 ⚑ Shrink size of module 959 B β†’ 931 B
  • 8cf8499 ♻️ Handle errors in rejected getHeaders function

Dependencies

  • 659de95 ⬆️ Update dev dependecies

v1.5.0 - 2021-06-10

Merged

  • #16 ✨ Add header getter function

Dependencies

  • 08be210 ⬆️ Update dev dependecies

v1.4.1 - 2020-09-16

Fixed

v1.4.0 - 2020-07-30

Added

  • f4841d6 ✨ Allow modifying options on instance

v1.3.0 - 2020-03-04

Added

  • a0e1047 ✨ Add options as second argument to onSuccess and onFailure

v1.2.0 - 2020-02-17

Added

  • f590a28 ✨ Add new onJSON option for customisation of raw response

Fixed

  • 089ddf2 πŸš‘ Fix typings
  • f67fddf πŸš‘ Fix auto-changelog version tag matching

Dependencies

  • 3b11232 ⬆️ Update dev deps

v1.1.0 - 2019-09-28

Changed

  • 8632398 πŸ“¦ Change name to ya-fetch
  • 30f44e8 πŸ“¦ Change name of package

Added

  • bc00417 ✨ Merge params with instance
  • dab930a ✨ Do not set headers for FormData body, as it will be set automatically

Improved

  • 91ac9eb ⚑ Shrink size of module 840 B β†’ 822 B

v1.0.0 - 2019-09-21

v0.0.1 - 2023-10-18

Merged

  • #41 Bump json5 from 1.0.1 to 1.0.2
  • #40 Bump decode-uri-component from 0.2.0 to 0.2.2
  • #38 Bump minimist from 1.2.5 to 1.2.7
  • #37 Bump shell-quote from 1.7.2 to 1.7.4
  • #36 βœ… Add base test & update README
  • #30 πŸ’₯ v2
  • #31 ✨ v1.7.0
  • #24 🏷 Allow returning Response inside onFailure
  • #23 ✨ Add highWaterMark option and node.js docs
  • #19 ✨ pass in url and options to getHeader function
  • #20 πŸ‘· Add GitHub Actions config
  • #18 Bump normalize-url from 4.5.0 to 4.5.1
  • #16 ✨ Add header getter function

Changed

  • 8632398 πŸ“¦ Change name to ya-fetch
  • 30f44e8 πŸ“¦ Change name of package
  • 6992f64 πŸ“¦ Change name to f-e-t-c-h
  • fffee6b πŸ“¦ Add name s-fetch

Added

  • a0e1047 ✨ Add options as second argument to onSuccess and onFailure
  • e1486e4 ✨ Add onSucess, onFailure and fetch to options
  • bc00417 ✨ Merge params with instance
  • f590a28 ✨ Add new onJSON option for customisation of raw response
  • 897c8b5 ✨ Add 'base' option, fix 'null' origin
  • f4841d6 ✨ Allow modifying options on instance
  • dab930a ✨ Do not set headers for FormData body, as it will be set automatically
  • 3076898 ✨ Add options to methods

Improved

  • aabed5f ⚑️ Build minified version
  • 173558b ⚑ Shrink size of module 916 B β†’ 829 B
  • d166044 ♻️ Fix types names
  • e1b5076 ⚑ Shrink size of module 959 B β†’ 931 B
  • fd31ad0 ⚑ Shrink size of module 1.18 KB β†’ 916 B
  • 9e359f1 ⚑ Shrink size of module 916 B β†’ 888 B
  • 8cf8499 ♻️ Handle errors in rejected getHeaders function
  • d513a83 ♻️ Remove omit from RequestOptions types
  • 91ac9eb ⚑ Shrink size of module 840 B β†’ 822 B

Fixed

  • 089ddf2 πŸš‘ Fix typings
  • 13d209e πŸš‘ Fix setting accept headers
  • 7177478 πŸš‘ Add eslint-plugin-jest
  • f67fddf πŸš‘ Fix auto-changelog version tag matching
  • c84c239 πŸš‘ Fix types
  • a494d40 πŸš‘ Type export for modern TS
  • 8368817 πŸš‘ Loosen search params types
  • 8c410d0 πŸš‘ Detect if FormData, AbortController is available
  • c2c6fa2 πŸš‘ Typo in Serialize interface name
  • 09ee5a7 πŸš‘ Package types exports
  • 9774203 πŸš‘ Resource is not valid URL
  • c7e05d2 πŸš‘ Format of files array in package.json
  • e2cc84f πŸš‘ Check timeout error by the name
  • ac0045e πŸš‘ Fix exports field for Next.js
  • 2373554 πŸš‘ Incompatible params type
  • e2bf550 πŸš‘ Fix void request header

Dependencies

  • 08be210 ⬆️ Update dev dependecies
  • 3b11232 ⬆️ Update dev deps
  • 533892f βž• Add size-limit
  • fe7361e ⬆️ Update deps, remove jest types and eslint plugin
  • 659de95 ⬆️ Update dev dependecies
  • 5f8f437 βž• Add auto-changelog and np
  • 51a134e βž– Remove standard-with-typescript
  • b3fb728 ⬆️ Update np
  • f83a97a ⬆️ Bump deps
  • 0dfc5c9 βž– Remove requirement for abort-controller package in node.js