http-svc
Version:
A HTTP request service for browser and node.js
67 lines (38 loc) • 1.43 kB
Markdown
# CHANGELOG
<!-- 所有重要的更改和版本更新将在此文档中进行记录。
格式
每个版本的更改应该以以下格式呈现:
## [版本号] - 发布日期
### Added(⭐️)
- 新增的功能和特性
### Fixed(🐞)
- 修复的 Bug
### Changed(✍🏻)
- 对已有功能或特性的修改
### Removed(🗑)
- 移除的功能或特性
### Deprecated (🚗)
- 弃用的功能或特性 -->
## [v1.1.0] - 2025-09-11
### Added
- 新增 `paramsSerializer` 功能支持自定义参数序列化
- 该功能基于`qs`,自本版本开始,`qs` 作为 `peerDependencies`
- 支持自定义函数进行参数序列化
- 支持配置选项:`encode`、`arrayFormat`(brackets/indices/repeat/comma)
- 同时适用于 URL 查询参数和表单数据序列化
### Changed
- 将内置参数序列化逻辑替换为 `qs.stringify`
- `qs` 现在作为 peerDependency,需要用户自行安装
- 更新 TypeScript 类型定义,添加 `IStringifyOptions` 支持
### Added - Dependencies
- 新增 `qs` 作为 peerDependency (^6.11.2)
- 新增 `@types/qs` 作为 devDependency (^6.9.8)
## [v1.0.2] - 2025-08-13
### Fixed
- 在 `exports` 字段中为主入口点和 legacy 入口点添加 `types` 字段
- 优化init-ctx时clone `FormData` 逻辑
## [v1.0.1] - 2024-12-05
### Added
- change dependencies version workspaces
## [v1.0.0] - 2024-07-18
- Initial release