This project adheres to Semantic Versioning
- When defining multiple resources the first one was being returned.
Thanks Marc (@marcbrevoort-cyberhive) for finding, investigating and fixing this issue.
- bind server to
127.0.0.1
instead oflocalhost
. 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.
- fixed deprecation and linting warnings
resource.body("")
now can reference path and query parameters. What it means is that if{path.<param_name>}
or{query.<param_name>}
is provided, they will be translated to the values received in the request.
- Support to regex URIs
- Support to query and path parameters.
- Support to using query and path parameters in body response.
- Support to dynamic body.
- Renamed some internal variables and methods in Resource.
- Changed how server matches resources.
- Deprecation warnings.
- Dual license as MIT and Apache 2.0 for extended compatibility.
- 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.
Initial release