Skip to content

Commit 5528b73

Browse files
committed
v3.0.0
1 parent 4347e4b commit 5528b73

File tree

98 files changed

+1963
-1771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1963
-1771
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
auto-install: true
1919
- name: Install dependencies
2020
run: npm ci
21-
- name: Build, Lint & Test
22-
run: npm run start
21+
- name: Build
22+
run: npm run build
23+
- name: Smoke Test
24+
run: npm run test:node
2325
- name: Publish to npm
2426
run: npm publish

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
<a name="3.0.0"></a>
2+
# [3.0.0](https://github.com/elbywan/wretch/compare/2.11.1...3.0.0) (2025-10-19)
3+
4+
5+
### :arrow_up: Version update(s)
6+
7+
* Migrate to rolldown ([219f1ce](https://github.com/elbywan/wretch/commit/219f1ce))
8+
* Upgrade packages ([da968b2](https://github.com/elbywan/wretch/commit/da968b2))
9+
* Upgrade packages ([ae05a13](https://github.com/elbywan/wretch/commit/ae05a13))
10+
11+
### :art: Code improvement(s)
12+
13+
* Add automated npm publishing workflow ([745b8a0](https://github.com/elbywan/wretch/commit/745b8a0))
14+
* Golf bytes ([b0316f1](https://github.com/elbywan/wretch/commit/b0316f1))
15+
* Improve .customError typings ([6efdb24](https://github.com/elbywan/wretch/commit/6efdb24))
16+
* Remove deno related docuentation and tests ([1ceac88](https://github.com/elbywan/wretch/commit/1ceac88))
17+
* Remove global config and dead code ([bdb8134](https://github.com/elbywan/wretch/commit/bdb8134))
18+
* Use proto to manage tools ([23f22e4](https://github.com/elbywan/wretch/commit/23f22e4))
19+
20+
### :bug: Bug fix(es)
21+
22+
* Fix custom error conflicting with catchers ([0486e49](https://github.com/elbywan/wretch/commit/0486e49))
23+
24+
### :checkered_flag: Performance update(s)
25+
26+
* Add bun tests ([df0e075](https://github.com/elbywan/wretch/commit/df0e075))
27+
* Add deno tests ([c02f1e8](https://github.com/elbywan/wretch/commit/c02f1e8))
28+
* Add workflow to test code snippets ([f036a71](https://github.com/elbywan/wretch/commit/f036a71))
29+
* Improve mock server lifecycle ([68d1a0f](https://github.com/elbywan/wretch/commit/68d1a0f))
30+
* Improve snippet testing ([299bd90](https://github.com/elbywan/wretch/commit/299bd90))
31+
* Replace karma with web-test-runner ([5b4215c](https://github.com/elbywan/wretch/commit/5b4215c))
32+
* Test all the documentation snippets and rework recipes ([a8ae915](https://github.com/elbywan/wretch/commit/a8ae915))
33+
* Unify tests ([ab95d83](https://github.com/elbywan/wretch/commit/ab95d83))
34+
35+
### :factory: New feature(s)
36+
37+
* Accept multiple addons when calling .addon ([91c6024](https://github.com/elbywan/wretch/commit/91c6024))
38+
* Add attempt argument to the onRetry callback ([0cfb31c](https://github.com/elbywan/wretch/commit/0cfb31c))
39+
* Add request parameter to .customError transformer ([4347e4b](https://github.com/elbywan/wretch/commit/4347e4b))
40+
* Upload progress support ([012b233](https://github.com/elbywan/wretch/commit/012b233))
41+
42+
### :feature: undefined
43+
44+
* Add .toFetch method ([aa8ef0a](https://github.com/elbywan/wretch/commit/aa8ef0a))
45+
46+
### :fire: Breaking change(s)
47+
48+
* Consolidate addon optional parameters into options objects ([dfe5860](https://github.com/elbywan/wretch/commit/dfe5860))
49+
* Remove .errorType and introduce .customError ([fdf4371](https://github.com/elbywan/wretch/commit/fdf4371))
50+
* Remove node <22 compatibility ([304c7ff](https://github.com/elbywan/wretch/commit/304c7ff))
51+
* Remove static methods ([ff703f7](https://github.com/elbywan/wretch/commit/ff703f7))
52+
* Skip retrying 4xx errors by default in retry middleware ([a63e471](https://github.com/elbywan/wretch/commit/a63e471)), closes [#176](https://github.com/elbywan/wretch/issues/176)
53+
54+
### :memo: Documentation update(s)
55+
56+
* Add issue links to the recipes ([5aa7146](https://github.com/elbywan/wretch/commit/5aa7146))
57+
* Improve documentation ([7f69396](https://github.com/elbywan/wretch/commit/7f69396))
58+
* Init recipes ([37dccac](https://github.com/elbywan/wretch/commit/37dccac))
59+
* Migration guide ([5faaceb](https://github.com/elbywan/wretch/commit/5faaceb))
60+
* Niceify website ([64d7ade](https://github.com/elbywan/wretch/commit/64d7ade))
61+
62+
### :white_check_mark: Test improvement(s)
63+
64+
* Remove jest in favour of node:test ([bd0d3e1](https://github.com/elbywan/wretch/commit/bd0d3e1))
65+
66+
67+
168
<a name="2.11.1"></a>
269
## [2.11.1](https://github.com/elbywan/wretch/compare/2.11.0...2.11.1) (2025-10-19)
370

docs/api/assets/hierarchy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg=="

docs/api/assets/highlight.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
:root {
2-
--light-hl-0: #008000;
3-
--dark-hl-0: #6A9955;
4-
--light-hl-1: #0000FF;
5-
--dark-hl-1: #569CD6;
6-
--light-hl-2: #000000;
7-
--dark-hl-2: #D4D4D4;
8-
--light-hl-3: #0070C1;
9-
--dark-hl-3: #4FC1FF;
10-
--light-hl-4: #795E26;
11-
--dark-hl-4: #DCDCAA;
12-
--light-hl-5: #A31515;
13-
--dark-hl-5: #CE9178;
14-
--light-hl-6: #001080;
15-
--dark-hl-6: #9CDCFE;
16-
--light-hl-7: #098658;
17-
--dark-hl-7: #B5CEA8;
18-
--light-hl-8: #AF00DB;
19-
--dark-hl-8: #C586C0;
20-
--light-hl-9: #000000FF;
21-
--dark-hl-9: #D4D4D4;
2+
--light-hl-0: #AF00DB;
3+
--dark-hl-0: #C586C0;
4+
--light-hl-1: #000000;
5+
--dark-hl-1: #D4D4D4;
6+
--light-hl-2: #001080;
7+
--dark-hl-2: #9CDCFE;
8+
--light-hl-3: #A31515;
9+
--dark-hl-3: #CE9178;
10+
--light-hl-4: #0000FF;
11+
--dark-hl-4: #569CD6;
12+
--light-hl-5: #0070C1;
13+
--dark-hl-5: #4FC1FF;
14+
--light-hl-6: #795E26;
15+
--dark-hl-6: #DCDCAA;
16+
--light-hl-7: #008000;
17+
--dark-hl-7: #6A9955;
18+
--light-hl-8: #000000FF;
19+
--dark-hl-8: #D4D4D4;
20+
--light-hl-9: #098658;
21+
--dark-hl-9: #B5CEA8;
2222
--light-hl-10: #267F99;
2323
--dark-hl-10: #4EC9B0;
2424
--light-hl-11: #000000;

0 commit comments

Comments
 (0)