Releases: xtremekforever/swift-masstransit
Swift MassTransit Wrappers v0.3.1
This release adds a few improvements:
- Use structured logging for all
logger.statements. Created a few helpers that could eventually be moved out into a commonswift-logging-utilslibrary in the future. - Updated all dependencies in
Package.swiftto use the correct.gitsuffix for consistency.
Swift MassTransit Wrappers v0.3.0
Minor version release that contains slightly substantial changes and fixes.
- Updated the
swift-rabbitmqlibrary to the v0.3.x series which contain some minor breaking changes for clarity of configuration and new helper methods that are now used in this library. - Fixes #12 by adding retry functionality to the binding of "message-type consumers" when the main queue consumer becomes ready.
- Adds new
withMassTransitConnection,withRetryingMassTransitConnection, andwithRunningMassTransitConsumerhelpers that can be used by applications or libraries for functionality or testing. - Adds unit tests for almost all
MassTransitConsumerfunctionality, which goes towards #13.
Swift MassTransit Wrappers v0.2.4
Tiny typo fix- in the previous release, the retry mechanism for the MassTransitConsumer for binding a message type exchange was incorrectly reading a boolean flag and thus not functioning as expected.
Swift MassTransit Wrappers v0.2.3
Small release to fix some issues with the MassTransitConsumer.
- Add use of
.cancelOnGracefulShutdown()toMassTransitConsumermain consume stream so that the service can shutdown immediately on graceful shutdown. - Wait for connection and consumer to be ready before binding exchange for custom message type, add better retry to not fail right away if the broker is not ready with exchanges yet.
Swift MassTransit Wrappers v0.2.2
Small update that improves log level of messages that are published and consumed. We use .trace level whenever we are logging the message that is being published or that was consumed.
Swift MassTransit Wrappers v0.2.1
Small update to add .sortedKeys to the outputting formatting of JSONEncoder(), which is used to encode MassTransit messages. This prevents messages from being sent with inconsistent ordering, making the reading of messages easier on the broker or in traces.
Swift MassTransit Wrappers v0.2.0
An update the to library that adds a new functionality.
Breaking changes:
- Changed the
exchangeNameparameter in theRequestContext.respondmethod tomessageType, since no exchange needs to be defined here (it should already exist and be part ofRequestContext.responseAddress).
New features/improvements:
- Added a
MassTransitConsumerclass that allows consuming multiple message types from a single RabbitMq consumer. - Added additional configuration to the send, publish, consume, consumeWithContext, and request functions for full configurability of the exchange, queue, and more.
Swift MassTransit Wrappers v0.1.0
This is a small release of some stable code that works, although it is very incomplete as per full compatibility with the C# MassTransit library.