> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.22.4

**`(fix):`** 修复并行运行 wire 测试时的 wiremock 端口冲突问题。docker-compose 配置现在使用临时端口 (0:8080) 而不是固定端口 8080，生成的测试代码会读取 WIREMOCK\_PORT 环境变量来在运行时发现动态分配的端口。

## 1.22.3

**`(fix):`** 修复 OAuth 表单 URL 编码以正确处理自定义 MarshalJSON 方法。表单 URL 编码现在首先将请求序列化为 JSON，然后转换为表单数据，确保通过自定义 MarshalJSON 添加的字段（如 `grant_type`）包含在请求体中。