Releases: SfietKonstantin/pretend
Releases · SfietKonstantin/pretend
Support for request interceptors
Changed
- Release 0.4.0 (#46) @SfietKonstantin
Added
- Added a request interceptor (#31) @SfietKonstantin
- Implemented a few traits for Json (#44) @SfietKonstantin
- Made InvalidUrlResolver implement Default (#43) @SfietKonstantin
- Fixed some errors raised by modern Rust (#42) @SfietKonstantin
Fixed
- Made sure (doc) attributs are propagated to trait (#45) @SfietKonstantin
Better HTTP client support and more convenient macro
This release adds flexibility in configuring the HTTP clients, by allowing disabling HTTP client default features directly through the pretend-*
crate. It also remove request
and header
attribute macros. Only pretend
attribute macro is required to write pretend
enabled traits. The other attributes will be handled automatically by pretend
.
Changed
Added
- Disabled default features for HTTP clients (#37) @SfietKonstantin
- Removed request and header attributes (#25) @SfietKonstantin
Fixes
- Fixed tests (#41) @SfietKonstantin
- Enforced Rust 1.44 MSRV (#38) @SfietKonstantin
- Moved MSRV enforcements as separate test (#39) @SfietKonstantin
ureq support and better errors
This release brings the support for ureq. It also improves the Error
type, that wraps errors that are Send + Sync.
This improves the Error
type and makes it compatible with (eg) anyhow ...
... except if you are using awc.
Added
- Added support for ureq (#29) @SfietKonstantin
Changed
- Updated documentation (#35) @SfietKonstantin
- Make boxed errors Send + Sync by default (#34) @SfietKonstantin
Fixed
- Fixed test failures with latest Rust version (#33) @SfietKonstantin
More polishing
Changed
- Report inconsistent async more accurately (#26) @SfietKonstantin
- Forbid unsafe (#24) @SfietKonstantin
- Style: worked-around rustfmt (#23) @SfietKonstantin
- Cleanups (#22) @SfietKonstantin
- Derive some useful traits (#28) @orzogc
Fixed
0.2.0
Changed
- Added rustfmt check (#17) @SfietKonstantin
Added
- awc support (#16) @SfietKonstantin
- Introduced blocking and local clients (#15) @SfietKonstantin
- Reviewed client tests (#14) @SfietKonstantin
- Improved error reporting (#12) @SfietKonstantin
Fixed
- Propagate visibility keyword to the generated trait (#19) @SfietKonstantin
- Do not re-export serde traits (#18) @SfietKonstantin
Initial release polish
This release brings a little level of polish over the initial release.
Changed
Updates
- Do not require static lifetime for bytes bodies (#8) @SfietKonstantin
- Some traits like Debug and Eq are implemented on Json and JsonResult
Added
- Added MSRV information (#10) @SfietKonstantin
- Added examples on how to use pretend (#9) @SfietKonstantin
- Updated links to client crates in the doc (#7) @SfietKonstantin
- Improved tests with more coverage on clients and outputs (#6) @SfietKonstantin
- Updated docs location for crates.io (#5) @SfietKonstantin
Initial release
This is the initial release. It introduces pretend and it's codegen as well as two pretend clients.
Changed
- Implemented a release pipeline (#3) @SfietKonstantin
Added
- Added documentation (#2) @SfietKonstantin
- Implemented isahc support (#1) @SfietKonstantin
Fixed
- Fixed a few hiccups before release (#4) @SfietKonstantin