Releases: houseofcat/turbocookedrabbit
Release v2.3.0
What's Changed
- Acquire lock before fetch Started, to prevent data-race by @Cdayz in #28
- add yaml tags to config definitions by @istrau2 in #21
- Use sleepOnErrorInterval in consumer on errors, currently ignored by @tiggerite in #39
- Add handling for unhealthy connections via new methods/"constructors" by @tiggerite in #33
- Change queueName to routingKey, as that is the actual thing set by @tiggerite in #35
- Fix methods in Publisher which use its Config; NewPublisher doesn't set it by @tiggerite in #37
New Contributors
- @Cdayz made their first contribution in #28
- @istrau2 made their first contribution in #21
- @tiggerite made their first contribution in #39
Full Changelog: v2.2.0...v2.3.0
Release v2.2.0 - Golang 1.18
What's Changed
- Golang 1.18 and Dependency Updates by @houseofcat in #29
Full Changelog: v2.1.4...v2.2.0
PublishWithError Support (Go 1.17)
Added a few non-async error returning publishes as requested.
Also added CorrelationID and Type to Letter.Envelope solving: #26
Internal cosmetic changes mostly.
- One method typo fixed BuildToplogy -> BuildTopology.
- All changes recommended by
golangci-lint
.
Dependency Updates
- Also includes go.mod update to v1.15 -> v1.16
- A few comments cleaned up.
Added Priority support.
- Add Priority (added to Envelope) for publishing.
- Update dependencies.
Release v2.1.0
Change (v2.1.0) - ReceivedMessage now contains the Amqp.Delivery (no more cloning/copying that functionality)
Breaking Change (v2.1.0) - LetterID is now a UUID by default (string, not long).
Breaking Change (v2.1.0) - LetterID is now mapping to MessageID in RabbitMQ on Publish and is mapped to a string MessageID on ReceivedMessage.
RabbitService w/ AutoPublisher now supports MaxRetryCount (Config)
New config value under PublisherConfig MaxRetryCount
.
When MaxRetryCount is hit in the RabbitService, it will permanently destroy the letter and send an err
to CentralErr.
This only applies to RabbitService, if you were using Publisher on your own with AutoPublisher then you will need to handle your PublishReceipts yourself.
Hotfix for Publisher
- Hotfix for using create Publisher without config was then using the config when it was
nil
. - Update dependencies.
- Bumped to Golang v1.15
Minor Release
- Updated dependencies.
- Consumer has exposed Started() function to determine if it has indeed started.
- ConnectionPool has a new creation function that allows you to provide in an ErrorHandler to do more stuff with Errors occurring internally.