# Changelog This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) ## 2.1.1 (2023-04-26) ### Fixed - When defining multiple resources the first one was being returned. ### Thanks Thanks Marc (@marcbrevoort-cyberhive) for finding, investigating and fixing this issue. ## 2.1.0 (2020-05-29) ### Changed - bind server to `127.0.0.1` instead of `localhost`. This allows faster connections, as it doesn't require host lookup. Also, it may prevent issues as it doesn't rely on OS hosts configuration. ## 2.0.1 (2020-04-14) ### Changed - fixed deprecation and linting warnings ## 2.0.0 (2020-03-21) ### Breaking changes - `resource.body("")` now can reference path and query parameters. What it means is that if `{path.}` or `{query.}` is provided, they will be translated to the values received in the request. ### Added - Support to regex URIs - Support to query and path parameters. - Support to using query and path parameters in body response. - Support to dynamic body. ### Changed - Renamed some internal variables and methods in Resource. - Changed how server matches resources. ### Fixed - Deprecation warnings. ## 1.0.1 (2020-03-12) ### Added - Dual license as MIT and Apache 2.0 for extended compatibility. https://rust-lang.github.io/api-guidelines/necessities.html#crate-and-its-dependencies-have-a-permissive-license-c-permissive ### Fixed - When creating multiple resources with same URI, last resource defined would override previous ones, making it impossible to define multiple HTTP verbs for same URI. ## 1.0.0 (2018-10-14) Initial release