Releases: michaelklishin/rabbitmq-http-api-rs
v0.28.0
v0.28.0 (Mar 23, 2024)
Enhancements
-
Federation support. Key API elements:
FederationUpstreamParams
,QueueFederationParams
,ExchangeFederationParams
,
FederationUpstream
,FederationLink
,Client#declare_federation_upstream_with_parameters
,Client#declare_federation_upstream
,Client#delete_federation_upstream
,Client#list_federation_upstreams
,Client#list_federation_links
-
New definition set transformations that include certain parts of the definition set:
exclude_users
,exclude_permissions
,exclude_runtime_parameters
,exclude_policies
v0.27.0
v0.27.0 (Mar 11, 2024)
Enhancements
-
ClusterDefinitionSet
transformations are maturing.There are two
transformations::DefinitionSetTransformer
s
available: one that removes classic queue mirroring-related (from the 3.13.x era) policy keys, and another
that removes policies with empty definitions.The two are supposed to be used together.
v0.26.0
v0.26.0 (Mar 10, 2024)
Enhancements
-
ClientBuilder<E, U, P>
now has a default type parameter value.Contributed by @ikrivosheev.
GitHub issue: #46
-
QueueOps
,NamedPolicyTargetObject
are two new traits that allow
key queue properties to be accessed on several structs that semantically represent
a queue, either directly or in an exported set of definitions -
QueueType::Unsupported(String)
is a new queue type variant -
Initial functions for mutating certain parts of
ClusterDefinitionSet
s
v0.25.0
v0.25.0 (Mar 3, 2025)
Enhancements
PolicyTarget#does_apply_to
is a new function that allow forPolicyTarget
equivalence comparison. For example,PolicyTarget::QuorumQueues
is a subset ofPolicyTarget::Queues
butPolicyTarget::QuorumQueues
is not
v0.24.0
v0.24.0 (Mar 2, 2025)
Enhancements
-
Client#declare_amqp10_shovel
is a new function that declares a dynamic shovel
where both source and destination use AMQP 1.0 -
Both
Amqp091ShovelSourceParams
andAmqp091ShovelDestinationParams
now support a new boolean option,predeclared
,
that enables either or both sides to rely on a pre-declared topology
v0.23.0
v0.23.0 (Feb 24, 2025)
Breaking Changes
RuntimeParameterDefinition#name
,RuntimeParameterDefinition#vhost
, andRuntimeParameterDefinition#component
types changed fromString
to&str
Enhancements
-
Client#declare_amqp091_shovel
is a new function that declares a dynamic shovel
where both source and destination use AMQP 0-9-1 -
Client#delete_shovel
is a new function for deleting shovels
v0.22.0
v0.22.0 (Feb 8, 2025)
Enhancements
-
Client#import_vhost_definitions
is a new function that imports virtual host-specific
definition files (as opposed to cluster-wide ones) into the target virtual host -
Client#import_cluster_wide_definitions
is an alias toClient#import_definitions
to better reflect what it does
v0.21.0
v0.21.0 (Feb 8, 2025)
Enhancements
-
responses::VirtualHostDefinitionSet
is an equivalent ofresponses::ClusterDefinitionSet
but adapted
for the specific of virtual host-specific definitions, namely the fact that they do not contain
virtual hosts, users, or permissions, and objects such as queues or bindings do not have the
virtual host field to make it possible to import them into a virtual host with any name -
Client#export_vhost_definitions
,Client#export_vhost_definitions_as_string
and
Client#export_vhost_definitions_as_data
are new functions that export virtual host-specific
definitions (as opposed to cluster-wide ones)
Breaking Changes
-
responses::DefinitionSet
was renamed toresponses::ClusterDefinitionSet
to
differentiate it from virtual host-specific definitions, which are from now on
represented byresponses::VirtualHostDefinitionSet
-
Client#export_definitions
was renamed toClient#export_cluster_wide_definitions
-
Client#export_definitions_as_string
was renamed toClient#export_cluster_wide_definitions_as_string
-
Client#export_definitions_as_data
was renamed toClient#export_cluster_wide_definitions_as_data
v0.17.0
v0.17.0 (Jan 27, 2025)
Enhancements
-
Initial support for Tanzu RabbitMQ Schema Definitions Sync (SDS) operations.
-
Initial support for Tanzu RabbitMQ Warm Standby Replication (WSR) operations.
-
Isolated test suite runs for each client.
To run only the async client tests, use
cargo test async --all-features
To run only the blocking client tests, use
cargo test blocking --all-features
Bug Fixes
- Async
Client#delete_*
functions now correctly handleNotFound
responses for idempotent deletes
v0.16.0
v0.16.0 (Jan 15, 2025)
Bug Fixes
api::Client
now computes API endpoint path correctly (a slash was missing)