1.17.0

(feat): Provide Page.Response for accessing the full response type returned by the call to the relevant endpoint.

Pagination now automatically includes the following fields on each page:

1type Page[Cursor comparable, T any, R any] struct {
2 Results []T
3 Response R
4 RawResponse PageResponse[Cursor, T, R]
5 StatusCode int
6 Header http.Header
7 ...
8}

where Results is the standard slice of results, sufficient for most use cases; Response is the full response type of the HTTP call, which includes the Results as a sub-attribute; RawResponse, which exposes the underlying pagination mechanism if need; and StatusCode and Header, raw HTTP response metadata corresponding to the data returned by withRawResponse() on non-paginated endpoints.

1.16.5

(fix): Fix Basic auth header formatting to remove erroneous whitespace between username and password. Passwords with colons are now properly supported per RFC 7617 specification.

1.16.4

(chore): Reasonable default for empty request bodies in wiremock json mappings.

1.16.3

(chore): Bump generator CLI version to publish new Docker image.