@happy-ts/fetch-t 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/main.cjs +500 -306
- package/dist/main.cjs.map +1 -1
- package/dist/main.mjs +499 -302
- package/dist/main.mjs.map +1 -1
- package/dist/types.d.ts +37 -5
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.10.0] - 2026-05-25
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Add internal polyfills for `AbortSignal.timeout()` and `AbortSignal.any()` with automatic native detection
|
|
13
|
+
- Improves compatibility with Node.js 18 LTS and older browser environments
|
|
14
|
+
- Includes `DOMException` fallback for environments without its constructor
|
|
15
|
+
- Prevents memory leaks via proper event listener cleanup in `signalAny`
|
|
16
|
+
- Uses `timer.unref()` in Node.js to avoid blocking process exit
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Upgrade dev dependencies (vitest, eslint, msw, typescript-eslint, unplugin-dts, vite)
|
|
21
|
+
|
|
22
|
+
## [1.9.1] - 2026-01-16
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Add fallback overload to support passing `FetchInit` as a variable (returns union type `FetchTask | FetchResult`)
|
|
27
|
+
- Add `@since` tags to all public APIs for version tracking
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- Upgrade `happy-rusty` dependency to ^1.9.1
|
|
32
|
+
- Trigger JSR publish workflow on release instead of push to main
|
|
33
|
+
|
|
34
|
+
### Documentation
|
|
35
|
+
|
|
36
|
+
- Fix JSDoc format (tag order, spacing between tags)
|
|
37
|
+
- Clarify `response.clone()` memory overhead for progress tracking in CODEBUDDY.md
|
|
38
|
+
|
|
8
39
|
## [1.9.0] - 2026-01-13
|
|
9
40
|
|
|
10
41
|
### Changed
|
|
@@ -231,6 +262,8 @@ const result = await task.result;
|
|
|
231
262
|
- Timeout support
|
|
232
263
|
- Rust-like Result type error handling via `happy-rusty` library
|
|
233
264
|
|
|
265
|
+
[1.10.0]: https://github.com/JiangJie/fetch-t/compare/v1.9.1...v1.10.0
|
|
266
|
+
[1.9.1]: https://github.com/JiangJie/fetch-t/compare/v1.9.0...v1.9.1
|
|
234
267
|
[1.9.0]: https://github.com/JiangJie/fetch-t/compare/v1.8.1...v1.9.0
|
|
235
268
|
[1.8.1]: https://github.com/JiangJie/fetch-t/compare/v1.8.0...v1.8.1
|
|
236
269
|
[1.8.0]: https://github.com/JiangJie/fetch-t/compare/v1.7.0...v1.8.0
|