# Changelog

All notable changes to this project 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).

## [Unreleased]

## [Beta]

### Methods

The following endpoint methods are available, but are not considered stable or apart of the semantic versioning release cycles yet. They may be changed or removed at any point.

- `register/mobile`
- `login/mobile`

### Utilities

- an internal-only `merge` function exists but is not strongly typed... yet. It is considered in beta for the time being.

## [1.0.3] - 2022-03-14

### Added

- `@forcir/deep-merge` is now used to handle the merging of Request Initializer objects.

## [1.0.2] - 2022-02-05

### Changed

- Removed a redundant API Endpoint and transferred the method endpoint accordingly

## [1.0.1] - 2022-02-04

### Added

- Releases published to NPM will now have the MIT license field in the package manifest

### Removed

- Fully removed the installation of the lodash dependency (and type definitions)

### Fixed

- Releases published to NPM should now be fixed

## [1.0.0] - 2022-02-04

:tada: Cannot believe it's finally here. `v1.0.0` of the Forcir API Wrapper for JavaScript!

### Added

- Strong typings for everything that is intended for use
- A new `ForcirResponse` class has appeared helping to keep a consistent shape regardless of response type (`ok` or otherwise).

### Changed

- Changed out dependency on Axios in favour of `fetch`.

### Removed

- Removed the dependency Lodash in favour of a simply making our own utility function for deep merging Forcir configuration objects.

### Security

- CSRF Tokens are included with all requests that need them, the server validates these items.
- Cookie-based sessions are handled automatically for first-party applications.
