Skip to content

Releases: nsqio/go-nsq

1.1.0

24 Oct 20:58
259dc59
Compare
Choose a tag to compare

There should be no backward-incompatible changes, but there are a couple new API methods.

  • #275/#281 - support separate Logger for each log level (thanks @crazyweave)
  • #282 - consumer: reduce duplicate RDY (ready) count updates (thanks @andyxning)
  • #283 - remove redundant Config initialized check (thanks @SwanSpouse)
  • #313 - add Authorization header to lookup queries
  • #321 - consumer: fix panic with some invalid lookupd http addresses (thanks @martin-sucha)
  • #317 - producer: connect() code-style improvement (thanks @martin-sucha)
  • #330 - fix random backoff jitter on 32-bit architectures
  • #333 - consumer: re-use http client with keepalives for lookupd requests (thanks @JieTrancender)
  • #336 - producer: shutdown logging prefix consistent with other logging (thanks @karalabe)
  • #294 - docs: fix producer example (thanks @nikitabuyevich)
  • #307 - docs: add exit signal handling to consumer example
  • #324 - docs: fix Consumer.SetLogger() description (thanks @gabriel-vasile)
  • #297 - add AUTHORS file
  • #329/#330 - switch to GitHub Actions for CI

1.0.8

25 Dec 02:00
d7acddb
Compare
Choose a tag to compare

Upgrading from 1.0.7: There are no backward incompatible changes.

Thanks to @judwhite, @vitaliytv, and @HaraldNordgren for contributing to testing and dependency management improvements

Changes in this release

#249 update RDY when setting MaxInFlight to 0
#267 check response message size is positive (thanks @andyxning)
#271 godoc for publisher and consumer (thanks @skateinmars)
#270 set log level (thanks @yonghaowu)
#255 go vet tls.Config copying (thanks @iaburton)

1.0.7

04 Aug 23:00
Compare
Choose a tag to compare

Upgrading from 1.0.6: There are no backward incompatible changes.

  • #97/#209 - consumer: retry nsqlookupd queries
  • #179/#208 - consumer: redistribute RDY when connections are active
  • #184/#201 - producer: fix misleading Stop() EOF (thanks @mengskysama)
  • #203 - switch to golang/snappy (addressing potential snappy related deadlocks)
  • #202 - consumer: fix backoff logging

1.0.6

04 Jun 20:02
Compare
Choose a tag to compare

Upgrading from 1.0.5: There are no backward incompatible changes.

1.0.5

20 Sep 00:35
Compare
Choose a tag to compare

Upgrading from 1.0.4: There are no backward incompatible changes.

  • #156 - consumer: prevent data race on RNG
  • #155 - config: support flag.Value interface
  • #147/#150 - consumer: fix application of max_backoff_duration (thanks @judwhite)
  • #138 - fix lint, vet, fmt issues
  • #137 - remove go-simplejson dependency

1.0.4

08 Apr 03:52
Compare
Choose a tag to compare

Upgrading from 1.0.3: There are no backward incompatible changes.

  • #133 - fix ErrNotConnected race during Producer connection (thanks @jeddenlea)
  • #132 - fix RDY redistribution after backoff with no connections
  • #128 - fix backoff stall when using RequeueWithoutBackoff
  • #127 - fix handling of connection closing when resuming after backoff (thanks @jnewmano)
  • #126 - allow BackoffStrategy to be set via flag (thanks @twmb)
  • #125 - add pluggable consumer BackoffStrategy; add full-jitter strategy (thanks @hden)
  • #124 - add DialTimeout and LocalAddr config (thanks @yashkin)
  • #119 - add Producer.Ping() method (thanks @zulily)
  • #122 - refactor log level string handling
  • #120 - fix Message data races on responded
  • #114 - fix lookupd jitter having no effect (thanks @judwhite)

1.0.3

07 Feb 17:04
Compare
Choose a tag to compare

Upgrading from 1.0.2: here are no backward incompatible changes.

  • #104 - fix reconnect address bug (thanks @ryanslade)
  • #106 - fix backoff reconnect deadlock (thanks @ryanslade)
  • #107 - fix out-of-bounds error when removing nsqlookupd addresses (thanks @andreas)
  • #108 - fix potential logger race conditions (thanks @judwhite)
  • #111 - fix resolved address error in reconnect loop (thanks @twmb)

1.0.2

22 Jan 05:43
Compare
Choose a tag to compare

Upgrading from 1.0.1: here are no backward incompatible changes.

  • #102 - TLS min/max config defaults (thanks @twmb)
  • #99 - fix Consumer.Stop() race and Producer.Stop() deadlock (thanks @tylertreat)
  • #92 - expose Message.NSQDAddress
  • #95 - cleanup panic during Consumer.Stop() if handlers are deadlocked
  • #98 - add tls-min-version option (thanks @twmb)
  • #93 - expose a way to get Consumer runtime stats (thanks @dcarney)
  • #94 - allow #ephemeral topic names (thanks @jamesgroat)

1.0.1

10 Nov 01:01
Compare
Choose a tag to compare

Upgrading from 1.0.0: There are no backward incompatible changes functionally, however this release no longer compiles with Go 1.0.x.

  • #89 - don't spam connection teardown cleanup messages
  • #91 - add consumer DisconnectFrom*
  • #87 - allow heartbeat_interval and output_buffer_timeout to be disabled
  • #86 - pluggable nsqlookupd behaviors
  • #83 - send RDY before FIN/REQ (forwards compatibility with nsqio/nsq#404)
  • #82 - fix panic when conn isn't assigned
  • #75/#76 - minor config related bug fixes
  • #75/#77/#78 - add tls-cert and tls-key config options

1.0.0

11 Aug 13:40
Compare
Choose a tag to compare

Upgrading from 0.3.7: The public API was significantly refactored and is not backwards compatible, please read UPGRADING.

  • #58 - support IDENTIFY msg_timeout
  • #54 - per-connection TLS config and set ServerName
  • #49 - add common connect helpers
  • #43/#63 - more flexible nsqlookupd URL specification
  • #35 - AUTH support
  • #41/#62 - use package private RNG
  • #36 - support 64 character topic/channel names
  • #30/#38/#39/#42/#45/#46/#48/#51/#52/#65/#70 - refactor public API (see UPGRADING)