# 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).

## [1.2.1] - 2023-02-06
### Fixed
- Fixed error where opposite bearings could match, causing some decodes to fail

### Changed
- Increased padding for link graph to 0.010 degrees and enabled override with environment variable


## [1.2.0] - 2023-01-23
### Changed
- Declared a typescript interface for decode results

## [1.1.0] - 2023-01-05
### Changed
- Removed unneeded items from npm package
- Mongodb is now a peer dependency to be installed separately, preparing for future user selection of backend storage
- Mongodb is now dynamically imported at runtime, preparing for future user selection of backend storage

## [1.0.0] - 2023-01-01
### Changed
- Updated sample JSON schema to allow additional properties
- Enable clients to close connection to backend storage
- Updated documentation with links to sample data

## [0.7.0] - 2022-10-04
### Changed
- If FOW matches are unsuccessul a more liberal FOW match will be tried. This assists with different interpretations across network models of what constitutes a slip road or remains dual carriageway etc.

## [0.6.1] - 2022-09-20
### Added
- Support for authentication against mongodb backends

## [0.6.0] - 2022-09-15
### Changed
- Updated tests to be run against simpler link-node model
- Refactored storage to enable future support for more backends
- Updated docs

## [0.5.0] - 2022-08-30
### Added
- Restrict navigation to lowest frc in the LRP points

### Removed
- Removed OS open roads specific workarounds, no support provided for OS open roads

## [Unreleased] - 2022-05-17
### Added
- Initial module to decode openLR route
