# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

## [Unreleased]

## [v1.0.2] - 2022-01-26
- [Added] Add timeouts in the server to force closing idle connections.

## [v1.0.1] - 2022-01-26

## [v1.0.0] - 2021-06-29
- [Changed] Major rewrite, rather than push requests allow requests to be pulled
- [Changed] Account for new SQLite DB schema
- [Changed] Force SQLite to use WAL mode, and set `busy_timeout` to be 30 milloseconds
- [Fixed] Force conversion of Wh -> kWh before handing request to Prism
- [Fixed] Correct the kWh check if the request is for a addprepaycredit token
- [Added] Added Upstart config file

## [v0.0.3] - 2018-07-10
- [Fixed] Allow initialize requests to be cleared from the queue
- [Changed] Improve errors when parsing the POST body fails
- [Changed] For requests with no portal don't attempt to send the results to a callback URL
- [Changed] Improve error messages when valitadion of STS request fails
- [Fixed] Add missing `maxpower` prism command
- [Added] Added ability to send initialize requests to Prism daemon
- [Changed] Update release script to support other OSes
- [Removed] Removed old `gen-changelog` script
- [Changed] Update go-sqlite3 dependency to 1.9.0
- [Removed] Removed gen-changelog script in favor of generic one

## [v0.0.2] - 2018-06-20
- [Added] Adding a sparce README file

## [v0.0.1] - 2018-06-20
- [Fixed] Correctly set Prism encryptor ID when processing token requests
- [Fixed] Fix handling of HTTP POST body for token requests
- [Added] Add support for working with multiple Light daemons
- [Added] Add endpoint to update the routes.toml file remotely
- [Added] Initial release of Prism API
