Releases: eaze/preroll
Releases · eaze/preroll
0.3.0
- Removed the
"custom_middleware"
feature, is now automatically part of the optional arguments forpreroll::main!
. - Changed
preroll::main!
to acceptVariadicRoutes
instead of variable macro arguments. - Changed
preroll::test_utils::create_client
to acceptVariadicRoutes
, enabled api versioned testing. - Changed assertions to always unwrap and panic immediately rather than return a
Result
. - Changed assertions to accept
AsMut<http_types::Response>
rather thansurf::Response
. - Added more test assertion helpers to
preroll::test_utils
. - Added
/monitor/status
built-in endpoint to expose useful status information. - Updated all documentation with major additions, overhauls, and examples.
- Improved the standalone example / test subproject.
- Improved internal CI.
0.2.0
- Changed the api mounting point to be versioned - e.g.
/api/v1
.- This is based on argument position of the route handlers provided to
preroll::main!
.
- This is based on argument position of the route handlers provided to
- Changed routes setup function to instead receive
Route<'_, Arc<AppState>>
. - Added
"test"
feature (makes UUIDs such ascorrelation_id
be constant an nil). - Added
"custom_middleware"
feature to add an extra hook intopreroll::main!
. - Added an always-enabled
GET /monitor/ping
which responds only withservice_name
.- This is excluded from middleware.
- Added a debug-mode-only
GET /internal-error
for easy testing. - Exposed and documented
JsonError
. - Improved http error output for
assert_json_error
.
0.1.2
- Fixed
"honeycomb"
feature. (Incorrectcfg
statements.)
0.1.1
- Fixed missing/empty
Cargo.toml
fields.
0.1.0
This is the initial functional library release of preroll
.
-
Initial exports:
prelude
test_utils
utils
main
SetupResult
-
Initial feature set:
"honeycomb"
"postgres"
"panic-on-error"
Note: the following override is currently required to make libhoney-rust
use async-std
as its runtime:
[patch.crates-io.libhoney-rust]
git = "https://github.com/eaze/libhoney-rust.git"
branch = "runtime-async-std"
optional = true
default-features = false
features = ["runtime-async-std"]