Skip to content

Commit

Permalink
2.8.0 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Dec 30, 2023
1 parent 0bf9aa8 commit 4c48e5d
Show file tree
Hide file tree
Showing 72 changed files with 130 additions and 120 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 1,13 @@
<a name="2.8.0"></a>
# [2.8.0](https://github.com/elbywan/wretch/compare/2.7.1...2.8.0) (2023-12-30)


### :factory: New feature(s)

* addon.resolver can now be a function ([0bf9aa8](https://github.com/elbywan/wretch/commit/0bf9aa8)), closes [#212](https://github.com/elbywan/wretch/issues/212)



<a name="2.7.1"></a>
## [2.7.1](https://github.com/elbywan/wretch/compare/2.7.0...2.7.1) (2023-11-19)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 19,7 @@

<br>

##### Wretch 2.7 is now live 🎉 ! Please have a look at the [releases](https://github.com/elbywan/wretch/releases) and the [changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md) after each update for new features and breaking changes. If you want to try out the hot stuff, please look into the [dev](https://github.com/elbywan/wretch/tree/dev) branch.
##### Wretch 2.8 is now live 🎉 ! Please have a look at the [releases](https://github.com/elbywan/wretch/releases) and the [changelog](https://github.com/elbywan/wretch/blob/master/CHANGELOG.md) after each update for new features and breaking changes. If you want to try out the hot stuff, please look into the [dev](https://github.com/elbywan/wretch/tree/dev) branch.

##### And if you like the library please consider becoming a [sponsor](https://github.com/sponsors/elbywan) ❤️.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/functions/addons_abort.default.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/addons_perfs.default.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/addons_progress.default.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/index.default-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/middlewares_dedupe.dedupe.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/middlewares_delay.delay.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/functions/middlewares_retry.retry.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/api/interfaces/addons_abort.AbortResolver.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_abort.AbortWretch.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_formData.FormDataAddon.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_formUrl.FormUrlAddon.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_perfs.PerfsAddon.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_progress.ProgressResolver.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/addons_queryString.QueryStringAddon.html

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions docs/api/interfaces/index.Wretch.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/interfaces/index.WretchError.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions docs/api/interfaces/index.WretchResponseChain.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons.html
Original file line number Diff line number Diff line change
@@ -1,4 1,4 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>addons | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="addons.html">addons</a></li></ul><h1>Module addons</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/addons/index.ts#L1">src/addons/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">References</h3><div class="tsd-index-list"><a href="addons.html#AbortResolver" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Abort<wbr/>Resolver</span></a>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>addons | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="addons.html">addons</a></li></ul><h1>Module addons</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/addons/index.ts#L1">src/addons/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">References</h3><div class="tsd-index-list"><a href="addons.html#AbortResolver" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Abort<wbr/>Resolver</span></a>
<a href="addons.html#AbortWretch" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Abort<wbr/>Wretch</span></a>
<a href="addons.html#FormDataAddon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Form<wbr/>Data<wbr/>Addon</span></a>
<a href="addons.html#FormUrlAddon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Form<wbr/>Url<wbr/>Addon</span></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/modules/addons_abort.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons_formData.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons_formUrl.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons_perfs.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons_progress.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/addons_queryString.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/modules/index.default.html
Original file line number Diff line number Diff line change
@@ -1,4 1,4 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="index.html">index</a></li><li><a href="index.default.html">default</a></li></ul><h1>Namespace default</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L36">src/index.ts:36</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L40">src/index.ts:40</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L42">src/index.ts:42</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L44">src/index.ts:44</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L46">src/index.ts:46</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L47">src/index.ts:47</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Variables</h3><div class="tsd-index-list"><a href="../variables/index.default.WretchError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Wretch<wbr/>Error</span></a>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="index.html">index</a></li><li><a href="index.default.html">default</a></li></ul><h1>Namespace default</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L36">src/index.ts:36</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L40">src/index.ts:40</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L42">src/index.ts:42</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L44">src/index.ts:44</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L46">src/index.ts:46</a></li><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L47">src/index.ts:47</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Variables</h3><div class="tsd-index-list"><a href="../variables/index.default.WretchError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Wretch<wbr/>Error</span></a>
<a href="../variables/index.default.default.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>default</span></a>
<a href="../variables/index.default.errorType.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>error<wbr/>Type</span></a>
<a href="../variables/index.default.options.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>options</span></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/modules/index.html
Original file line number Diff line number Diff line change
@@ -1,4 1,4 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>index | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="index.html">index</a></li></ul><h1>Module index</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/d774826/src/index.ts#L1">src/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Namespaces</h3><div class="tsd-index-list"><a href="index.default.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>default</span></a>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>index | wretch</title><meta name="description" content="Documentation for wretch"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wretch</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">wretch</a></li><li><a href="index.html">index</a></li></ul><h1>Module index</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/elbywan/wretch/blob/0bf9aa8/src/index.ts#L1">src/index.ts:1</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Namespaces</h3><div class="tsd-index-list"><a href="index.default.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>default</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Interfaces</h3><div class="tsd-index-list"><a href="../interfaces/index.Wretch.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Wretch</span></a>
<a href="../interfaces/index.WretchError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Wretch<wbr/>Error</span></a>
<a href="../interfaces/index.WretchResponseChain.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Wretch<wbr/>Response<wbr/>Chain</span></a>
Expand Down
Loading

0 comments on commit 4c48e5d

Please sign in to comment.