> 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.17.0

**`(feat):`** 提供 Page.Response 以访问调用相关端点返回的完整响应类型。

分页现在自动在每个页面上包含以下字段：

```go
type Page[Cursor comparable, T any, R any] struct {
 	  Results      []T
   	Response     R
   	RawResponse  PageResponse[Cursor, T, R]
   	StatusCode   int
   	Header       http.Header
   	...
}
```

其中 `Results` 是标准的结果切片，满足大多数用例；`Response` 是 HTTP 调用的完整响应类型，包含 `Results` 作为子属性；`RawResponse` 暴露底层分页机制（如果需要）；以及 `StatusCode` 和 `Header`，原始 HTTP 响应元数据，对应于非分页端点上 `withRawResponse()` 返回的数据。

## 1.16.5

**`(fix):`** 修复 Basic 身份验证头格式，移除用户名和密码之间的错误空白。根据 RFC 7617 规范，现在正确支持包含冒号的密码。

## 1.16.4

**`(chore):`** 在 wiremock json 映射中为空请求体提供合理默认值。

## 1.16.3

**`(chore):`** 升级生成器 CLI 版本以发布新的 Docker 镜像。