Skip to content

Commit 356a3ee

Browse files
author
jarvisjiang
committed
chore(release): bump version to 1.8.1
- Replace tiny-invariant with explicit throw statements - Improve parameter validation error messages - Remove tiny-invariant dependency (smaller bundle)
1 parent 5442b7c commit 356a3ee

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.8.1] - 2026-01-13
9+
10+
### Changed
11+
12+
- Replace `tiny-invariant` with explicit `throw` statements to preserve error messages in production builds
13+
- Improve parameter validation error messages with proper `TypeError` vs `Error` distinction
14+
15+
### Removed
16+
17+
- Remove `tiny-invariant` dependency (smaller bundle size)
18+
819
## [1.8.0] - 2026-01-12
920

1021
### Added
@@ -199,6 +210,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
199210
- Timeout support
200211
- Rust-like Result type error handling via `happy-rusty` library
201212

213+
[1.8.1]: https://github.com/JiangJie/fetch-t/compare/v1.8.0...v1.8.1
202214
[1.8.0]: https://github.com/JiangJie/fetch-t/compare/v1.7.0...v1.8.0
203215
[1.7.0]: https://github.com/JiangJie/fetch-t/compare/v1.6.0...v1.7.0
204216
[1.6.0]: https://github.com/JiangJie/fetch-t/compare/v1.5.1...v1.6.0

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://jsr.io/schema/config-file.v1.json",
33
"name": "@happy-ts/fetch-t",
44
"license": "MIT",
5-
"version": "1.8.0",
5+
"version": "1.8.1",
66
"exports": "./src/mod.ts",
77
"imports": {
88
"happy-rusty": "npm:happy-rusty@^1.9.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Type-safe Fetch API wrapper with abortable requests, timeout support, progress tracking, automatic retry, and Rust-like Result error handling.",
44
"author": "[email protected]",
55
"license": "MIT",
6-
"version": "1.8.0",
6+
"version": "1.8.1",
77
"type": "module",
88
"main": "dist/main.cjs",
99
"module": "dist/main.mjs",

0 commit comments

Comments
 (0)