@happy-ts/fetch-t 1.9.1 → 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 +15 -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 +3 -3
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ 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
|
+
|
|
8
22
|
## [1.9.1] - 2026-01-16
|
|
9
23
|
|
|
10
24
|
### Added
|
|
@@ -248,6 +262,7 @@ const result = await task.result;
|
|
|
248
262
|
- Timeout support
|
|
249
263
|
- Rust-like Result type error handling via `happy-rusty` library
|
|
250
264
|
|
|
265
|
+
[1.10.0]: https://github.com/JiangJie/fetch-t/compare/v1.9.1...v1.10.0
|
|
251
266
|
[1.9.1]: https://github.com/JiangJie/fetch-t/compare/v1.9.0...v1.9.1
|
|
252
267
|
[1.9.0]: https://github.com/JiangJie/fetch-t/compare/v1.8.1...v1.9.0
|
|
253
268
|
[1.8.1]: https://github.com/JiangJie/fetch-t/compare/v1.8.0...v1.8.1
|