Skip to content

Releases: jxsl13/amqpx

v0.10.0 - refactor package layout

30 Jan 15:18
f0a2381
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.10.0

v0.9.0 - breaking update

24 Jan 17:00
6089f99
Compare
Choose a tag to compare
  • required Go version was bumped to 1.22 (math/rand/v2 & min/max built-ins)
  • session.Consume was removed - only the variant with the additional context persists.
  • some errors were removed
  • default queue delivery limit of 20 was added to default queue configuration (quorum queue)
  • we require RabbitMQ 4.0 or higher in order to guarantee the order of quorum queues until the specified delivery limit
  • more low level types were wrapped in ones that belong to this library.

What's Changed

Full Changelog: v0.8.1...v0.9.0

v0.8.1 - publish backoff & retry on delivery tag mismatch

31 Aug 00:10
c0af546
Compare
Choose a tag to compare

What's Changed

  • introduce backoff policy for publisher by @jxsl13 in #62

Full Changelog: v0.8.0...v0.8.1

v0.8.0 - the context update

15 Mar 20:26
469f1f9
Compare
Choose a tag to compare

What's Changed

Monitoring:

  • introduce callbacks for every retryable operation and for session and connections by @jxsl13 in #48
  • add multiple StatXXX pool methods for fetching the current pool state

Dependencies:

Bugfix:

  • fix incorrect context passed by @jxsl13 in #49
  • implement correct connection flow control handling for publishers (fixes #50)

Breaking Changes:

  • the context update by @jxsl13 in #51
    • Size() methods are now called Capacity() and Size() refers to the currently idle connection/sessions in a pool
    • Publish timeout and AwaitConfirms timeout were removed in favor of a single context for both (pool.Publisher)
    • all methods now require a context to be passed. (fixes #44)
    • HandlerFuncs, BatchHandlerFuncs, TopologyFuncs receive an additional context parameter which is canceled upon pool context cancelation

Feature:

  • add a special error for rejecting messages pool.ErrReject (pool.ErrRejectSingle) (fixes #46)
  • removes internal queue and replaces it with a Go channel (removes dependency) (fixes #4)

CI/CD:

  • all tests can now be run in parallel
  • limit parallelization of tests in GitHub Action to 2 tests being run in parallel due to weird GitHub runner behavior.

Full Changelog: v0.7.2...v0.8.0

v0.7.2

04 Jan 17:03
d315b02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.1...v0.7.2

v0.7.1 - edge case mitigation

17 Nov 13:02
05c96ef
Compare
Choose a tag to compare
  • prevent the consumer reconnect from consuming 100% cpu in case that the queue they conume from was deleted while the consumer was paused.

v0.7.0 - pause/resume message processing

16 Nov 14:51
459aecd
Compare
Choose a tag to compare
  • add the feature to pause/resume processing of messages

v0.6.6 - improve recoverability check

13 Oct 13:00
b054a69
Compare
Choose a tag to compare
  • improve recoverability check

v0.6.5 - logging cleanup

28 Jul 09:07
62598a7
Compare
Choose a tag to compare
  • hide empty consumer tag log field
  • show batch flush interval in string representation and not integer (nanos)
  • fix staticcheck warning in tests

v0.6.4 - update dependencies

12 Jul 19:16
9521f0b
Compare
Choose a tag to compare

Update dependencies

  • Bump github.com/Workiva/go-datastructures from 1.0.53 to 1.1.0
  • Bump go.uber.org/goleak from 1.2.0 to 1.2.1
  • Bump github.com/rabbitmq/amqp091-go from 1.7.0 to 1.8.1