# April 7, 2025

## 0.50.0

**`(feat):`** All endpoint functions now return an `HttpResponsePromise<T>` instead of a `Promise<T>`.
Using `await`, `.then()`, `.catch()`, and `.finally()` on these promises behave the same as before,
but you can call `.withRawResponse()` to get a promise that includes the parsed response and the raw response.
The raw response let's you retrieve the response headers, status code, etc.

```ts
const fooBar = await client.foo.bar("id", options);
const { data: alsoFooBar, rawResponse } = await client.foo.bar("id", options).withRawResponse();
const {
    headers,
    status,
    url,
    ...
} = rawResponse;
```