diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..7d061df --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# 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] + +## [0.2.0](https://github.com/Skepfyr/little-loadshedder/compare/v0.1.0...v0.2.0) - 2024-02-24 + +### Fixed +- \[**breaking**\] Swap from returning a LoadShedError to a LoadShedResponse. + This makes including the load shedder as a layer much easier, + as it's simple to map the response as needed but fundamentally + impossible to map the error as you can't do anything sensible + if `poll_ready` returned overload. diff --git a/Cargo.toml b/Cargo.toml index fe6b12d..e0f6c9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "little-loadshedder" description = "Latency-based load-shedding hyper/tower middleware" -version = "0.1.0" +version = "0.2.0" license = "MIT OR Apache-2.0" edition = "2021" repository = "https://github.com/Skepfyr/little-loadshedder"