Skip to content

Releases: michaelklishin/rabbitmq-http-api-rs

v0.9.0

25 Dec 03:16
30d6177
Compare
Choose a tag to compare

v0.9.0 (Dec 24, 2024)

Breaking Changes

  • To propagate more request context to the caller,
    crate::error::Error was updated to provide a requset URL, a header map,
    and a request body (if available).

    This reason for doing this comes down to how reqwest's Response functions
    are designed: the ones that consume and parse the body also consume self,
    which means propagating a Response to the caller is not very useless at best,
    and arguably is misleading.

Enhancements

  • crate::api now provides an async API. crate::blocking_api provides the
    original synchronous API.

    Contributed by @ikrivosheev.

    GitHub issues: #29, #30

  • Client#overview is a new function that corresponds to the GET /api/overview API endpoint.

    Contributed by @ikrivosheev.

    GitHub issue: #31