Skip to content

v0.26.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Mar 04:18
· 156 commits to main since this release
c89bf68

v0.26.0 (Mar 3, 2025)

Enhancements

  • policies is a new command group for policy operations:

    rabbitmqadmin help policies
    
    # an equivalent of 'declare policy'
    rabbitmqadmin policies declare --name "policy-name" --pattern '^matching\..+' --apply-to "quorum_queues" \
                                   --priority 10 \
                                   --definition '{"max-length": 10000}'
    
    # an equivalent of 'list policies'
    rabbitmqadmin policies list
    
    # an equivalent of 'delete policy'
    rabbitmqadmin policies delete --name "policy-name"
  • policies list_in is a new command that lists policies in a specific virtual host:

    rabbitmqadmin --vhost "a.vhost" policies list_in
    rabbitmqadmin --vhost "streams.vhost" policies list_in --apply-to "streams"
  • policies list_matching_object is a new command that lists all policies that
    would match an object (a queue, a stream, an exchange)
    with a given name:

    rabbitmqadmin --vhost "a.vhost" policies list_matching_object --name 'audit.events' --type queues

Bug Fixes

  • declare policy's --apply-to argument value was ignored