Skip to content

v4.2.0

Choose a tag to compare

@spring-builds spring-builds released this 19 Nov 21:58
ea94fa8

⭐ New Features

  • Apply nullability to RabbitAvailableCondition and fix typos #3837
  • Fix typos and use SortedMap#size() directly #3774
  • MessageProperties#setDelayLong() silently delivers immediately on RabbitMQ 4.4 Quorum Queues; add support for native x-opt-delivery-time #3744

🐞 Bug Fixes

  • CVE-2026-59395: Don't let custom headers override amqp_* ones #3888
  • CVE-2026-59403: Close reply Sender in the AmqpMessagingListenerAdapter #3886
  • Apply subsequent advice on each stateless retry attempt #3853
  • Do not keep spare direct reply-to channels #3851
  • RabbitAmqpTemplate reports RELEASED and REJECTED publishes as the same exception #3841
  • Stateless retry recoverer is never called under RabbitAmqpListenerContainer #3839
  • CachingConnectionFactory in CONNECTION mode exceeds connectionLimit after a borrowed connection is closed, then keeps opening and closing connections #3828
  • DMLC drops pending restarts when setConsumersPerQueue fails to connect #3816
  • Schedule all failed consumers in DirectMessageListenerContainer.setConsumersPerQueue() #3811
  • Fix AMQP 1.0 settlement on reject and reply failure #3805
  • Do not restart force-stopped DMLC consumers #3804
  • Release the direct reply-to consumer of a returned AsyncRabbitTemplate request #3801
  • Release the pending reply of a RabbitTemplate request that ends without a reply #3800
  • Stop retrying a failed consumer in DirectMessageListenerContainer.setConsumersPerQueue() #3799
  • Apply afterReceivePostProcessors to batch and plain listeners #3790
  • Close the requester and temporary publisher when a send fails synchronously #3789
  • Build all consumers or none in RabbitAmqpListenerContainer.start() #3788
  • Do not fail when deleting a missing queue in RabbitAmqpAdmin #3787
  • Honor the listener error handler for synchronous AMQP 1.0 failures #3786
  • AMQP 1.0 recovery remains stuck after a queue error closes the shared session #3784
  • Reject async delivery when reply cannot be sent #3783
  • AbstractJacksonMessageConverter throws InvalidMimeTypeException for a malformed content type #3743
  • Do not retain removed queue names in DMLC #3742
  • Propagate remaining setters to the default publisher factory #3740

📔 Documentation

  • Replace spaces after commas with {nbsp} #3817

🔨 Dependency Upgrades

  • Upgrade micrometer-tracing to 1.8.0 #3884
  • Upgrade micrometer to 1.18.0 #3882
  • Upgrade reactor to 2026.0.0 #3880
  • Upgrade spring-data-bom to 2026.1.0 #3877
  • Upgrade spring-framework to 7.1.0 #3875
  • Bump gradle-wrapper from 9.9.0 to 9.9.1 #3863
  • Bump org.apache.qpid:protonj2-client from 1.4.0 to 1.5.0 #3845
  • Bump com.fasterxml.jackson:jackson-bom from 2.22.4 to 2.23.0 #3844
  • Bump com.rabbitmq:stream-client from 1.12.0 to 1.13.1 #3836
  • Bump com.rabbitmq:amqp-client from 5.37.0 to 5.37.1 #3835
  • Bump gradle-wrapper from 9.8.2 to 9.9.0 #3834
  • Bump com.rabbitmq.client:amqp-client from 1.6.0 to 1.7.0 #3833
  • Bump ch.qos.logback:logback-classic from 1.6.5 to 1.6.6 #3823
  • Bump gradle-wrapper from 9.8.1 to 9.8.2 #3770
  • Bump com.fasterxml.jackson:jackson-bom from 2.22.3 to 2.22.4 #3767
  • Bump tools.jackson:jackson-bom from 3.2.3 to 3.2.4 #3765

❤️ Contributors

Thank you to all the contributors who worked on this release:

@Tanishq-Choudhary, @beyondwin, @cj848, @dongmin132, @ngocnhan-tran1996, and @sharanggupta