# Changelog

All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## \[3.1.4] - 2025-12-18

* Add generics to the result type.
* Update type definitions.

## \[3.1.3] - 2025-03-19

* Update type definitions.

## \[3.1.2] - 2025-03-18

* Update type definitions.

## \[3.1.1] - 2025-03-18

* Add method JSDoc for patch and head requests.

## \[3.1.0] - 2025-03-18

* Add type definitions.
* Add methods for patch and head requests.

## \[3.0.0] - 2024-05-15

* Change Requester import to `@sitevision/api/server/Requester`.
* Deprecate `statusCode`, use `status` instead.

## \[2.0.0] - 2021-01-15

* Request now returns full response with result, statusCode and headers.

## \[1.1.0] - 2020-10-19

* Pass response to HTTPError.

## \[1.0.0] - 2019-06-07

* Initial release.