Skip to content

🔖 7.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Feb 11:52
24679a1

What's Changed

See v7 migration guide

💥 Breaking Changes:

  • Update to RabbitMQ 7.2.0
  • Replace startup logic to use IHostedService
  • Rename some methods with the Async suffix
  • Completely rewrite SendAsync and SendBatchAsync methods
  • Remove SendJsonAsync methods
  • Remove Json Basic Properties method. Now using default BasicProperties with Persistent = true
  • Move AddBatchQueueSender() method to IRabbitMqCoreClientBuilder
  • Completely rewrite BatchQueueSender to increase performance and reduce GC pressure
  • Change namespaces for DependencyInjection
  • Remove Serializer for message consumers
  • Change MessageHandlerJson class to use source-generated JSON contexts
  • Rename consumer Start and Shutdown methods to follow Async naming pattern
  • Rename IQueueEventsBufferEngine to IQueueBufferService to match IQueueService
  • Change IMessageHandler — properties moved to a context class, add context argument to HandleMessage method
  • Update MessageHandlerJson to support the new IMessageHandler format

✨ New Features:

  • Add .NET 9.0 and .NET 10.0 support
  • Implement CancellationToken on connect methods
  • Add cancellation token to SendAsync and SendBatchAsync methods
  • Add trimming support for serializers
  • Add trimming support for Configuration binders
  • Add BatchQueueSender DI methods to register with IRabbitMQCoreClientConsumerBuilder
  • Add extension methods for BatchQueueSender to use JsonSerializerContext (JSON source generators)
  • Library now supports full trimming

⚡️ Performance:

  • Only core SendAsync and SendBatchAsync methods remain in the IQueueService interface; other methods are moved to extensions

📚 Documentation & Examples:

  • Add sample project examples
  • Add documentation for BatchQueueSender
  • Add publishing examples
  • Update README.md documentation
  • Add v7 migration guide (v7-MIGRATION.md)
  • Add documentation for some publicly visible classes and methods
  • Add v7 migration guide

🐞 Bug Fixes:

  • Fix reconnection logic
  • Fix multiple BatchQueueSender DI registration problem

💡 Other:

  • Add a bunch of public method comments