Changelog History
Page 2
-
v0.3.7 Changes
May 25, 2014Upgrading from 0.3.6 : There are no backward incompatible changes. THIS IS THE LAST STABLE RELEASE PROVIDING THIS API. Future releases will be based on the api in #30 and will not be backwards compatible!
๐ This is a bug fix release relating to the refactoring done in
0.3.6
. -
v0.3.6 Changes
April 30, 2014Upgrading from 0.3.5 : There are no backward incompatible changes.
๐ This release includes a significant internal refactoring, designed to better encapsulate responsibility, see #19.
Specifically:
- ๐ make
Conn
public - ๐ move transport responsibilities into
Conn
fromReader
/Writer
- supply callbacks for hooking into
Conn
events
๐จ As part of the refactoring, a few additional clean exit related issues were resolved:
- wait group now includes all exit related goroutines
- ensure that
readLoop
exits before exitingcleanup
- always check
messagesInFlight
atreadLoop
exit - close underlying connection last
- ๐ make
-
v0.3.5 Changes
April 05, 2014โฌ๏ธ Upgrading from 0.3.4: There are no backward incompatible changes.
๐ This release includes a few new features such as support for channel sampling and sending along a user agent string (which is now displayed in
nsqadmin
).๐ Also, a critical bug fix for potential deadlocks (thanks @kjk โ for reporting and help testing).
๐ New Features/Improvements:
- #27 - reader logs disambiguate topic/channel
- #22 - channel sampling
- #23 - user agent
๐ Bug Fixes:
- #24 - fix racey reader IDENTIFY buffering
- #29 - fix recursive RLock deadlocks
-
v0.3.4 Changes
November 19, 2013โฌ๏ธ Upgrading from 0.3.3: There are no backward incompatible changes.
๐ This is a bug fix release, notably potential deadlocks in
Message.Requeue()
andMessage.Touch()
as well as a potential busy loop cleaning up closed connections with in-flight messages.๐ New Features/Improvements:
- #14 - add
Reader.Configure()
- #18 - return an exported error when an
nsqlookupd
address is already configured
๐ Bug Fixes:
- #15 - dont let
handleError()
loop if already connected - #17 - resolve potential deadlocks on
Message
responders - #16 - eliminate busy loop when draining
finishedMessages
- #14 - add
-
v0.3.3 Changes
October 21, 2013โฌ๏ธ Upgrading from 0.3.2: This release requires NSQ binary version
0.2.23+
for compression ๐ support.๐ This release contains significant
Reader
refactoring of the RDY handling code paths. The motivation is documented in #1 however the commits in #8 identify individual changes. Additionally, we eliminated deadlocks during connection cleanup inWriter
.As a result, both user-facing APIs should now be considerably more robust and stable. Additionally, ๐
Reader
should behave better when backing off.๐ New Features/Improvements:
- #9 - ability to ignore publish responses in
Writer
- #12 -
Requeue()
method onMessage
- #6 -
Touch()
method onMessage
- #4 - snappy/deflate feature negotiation
๐ Bug Fixes:
- #8 -
Reader
RDY handling refactoring (race conditions, deadlocks, consolidation) - #13 - fix
Writer
deadlocks - #10 - stop accessing simplejson internals
- #5 - fix
max-in-flight
race condition
- #9 - ability to ignore publish responses in
-
v0.3.2 Changes
August 26, 2013โฌ๏ธ Upgrading from 0.3.1: This release requires NSQ binary version
0.2.22+
for TLS support.๐ New Features/Improvements:
- #227 - TLS feature negotiation
- #164/#202/#255 - add
Writer
- #186 -
MaxBackoffDuration
of0
disables backoff - #175 - support for
nsqd
config option--max-rdy-count
- #169 - auto-reconnect to hard-coded
nsqd
๐ Bug Fixes:
- #254/#256/#257 - new connection RDY starvation
- #250 -
nsqlookupd
polling improvements - #243 - limit
IsStarved()
to connections w/ in-flight messages - #169 - use last RDY count for
IsStarved()
; redistribute RDY state - #204 - fix early termination blocking
- #177 - support
broadcast_address
- #161 - connection pool goroutine safety
-
v0.3.1 Changes
February 07, 2013โฌ๏ธ Upgrading from 0.3.0: This release requires NSQ binary version
0.2.17+
forTOUCH
support.- #119 - add TOUCH command
- #133 - improved handling of errors/magic
- #127 - send IDENTIFY (missed in #90)
- #16 - add backoff to Reader
-
v0.3.0 Changes
January 07, 2013โฌ๏ธ Upgrading from 0.2.4: There are no backward incompatible changes to applications written against the public
nsq.Reader
API.However, there are a few backward incompatible changes to the API for applications that directly use other public methods, or properties of a few NSQ data types:
nsq.Message
IDs are now a typensq.MessageID
(a[16]byte
array). The signatures ofnsq.Finish()
andnsq.Requeue()
reflect this change.๐
nsq.SendCommand()
andnsq.Frame()
were removed in favor ofnsq.SendFramedResponse()
.โฌ๏ธ
nsq.Subscribe()
no longer acceptsshortId
andlongId
. If upgrading your consumers โฌ๏ธ before upgrading yournsqd
binaries to0.2.16-rc.1
they will not be able to send the optional custom identifiers.- #90 performance optimizations
- #81 reader performance improvements / MPUB support
-
v0.2.4 Changes
October 15, 2012- #69 added IsStarved() to reader API
-
v0.2.3 Changes
October 11, 2012- #64 timeouts on reader queries to lookupd
- #54 fix crash issue with reader cleaning up from unexpectedly closed nsqd connections