Skip to content

Releases: nsqio/pynsq

0.6.7

07 Apr 18:14
Compare
Choose a tag to compare

#124 - Tornado 4.x compatibility
#123 - fix exception when Reader is stopped before periodic timers start
#121 - trigger the correct CLOSE event when socket closes

0.6.6

28 Feb 17:34
Compare
Choose a tag to compare

0.6.5

11 Nov 21:45
Compare
Choose a tag to compare
  • #100 - add Reader.close()
  • #99 - don't redistribute RDY when there aren't any connections
  • #98 - send RDY before FIN/REQ (for nsqio/nsq#404)
  • #96 - fix exception when Writer has no connection

0.6.4

11 Aug 13:46
Compare
Choose a tag to compare
  • #91 - change order of max attempts check
  • #89 - properly handle requeue(backoff=False) when in backoff state
  • #87 - verify keyword args passed to Reader
  • #85 - fix nsqlookupd addresses specified without scheme

0.6.3

11 Jul 08:54
Compare
Choose a tag to compare
  • #84 - use a named logger
  • #83 - add DEFLATE support
  • #80 - configurable nsqlookupd HTTP request timeouts
  • #78 - fix potential Reader connection index error
  • #77 - more flexible nsqlookupd configuration
  • #76 - fix potential out-of-order backoff/resume
  • #72 - AUTH support
  • #73 - support 64char topic/channel names

0.6.2

21 Feb 14:51
Compare
Choose a tag to compare

IMPORTANT: this is a bug-fix release to address an issue where Reader would raise an exception when receiving a heartbeat.

  • #68 - fix heartbeat_interval bug

0.6.1

17 Feb 14:19
Compare
Choose a tag to compare

IMPORTANT: this is a bug-fix release to address an issue preventing Reader from consuming messages.

  • #63 - fix connection attributes bug; heartbeat_interval as ms
  • #65 - fix invalid arguments during read error
  • #66/#64 - add integration tests; improve testing matrix

0.6.0

13 Feb 06:42
Compare
Choose a tag to compare

This release includes an array of new features, refactoring, and bug fixes.

Primarily, support for sampling channels, modifying output buffering, enabling Snappy compression, and setting user agent metadata.

Finally, there was a large internal refactoring in #52 to achieve better separation of concerns and pep8 compliance in #53.

  • #59 - add nsq_to_nsq example app (thanks @ploxiln)
  • #58 - add user agent IDENTIFY metadata
  • #57 - add channel sampling feature negotiation
  • #55 - update Message docs (thanks @dsoprea)
  • #53 - pep8
  • #52 - evented refactoring
  • #49 - add output buffering feature negotiation
  • #50 - add Snappy compression feature negotiation
  • #51 - fix periodic timers when not configuring nsqlookupd

0.5.1

19 Aug 13:44
Compare
Choose a tag to compare

This is a bug-fix release addressing a few issues in Writer.

  • #48 - fix writer encoding issues
  • #47 - fix writer uncaught exception when no connections to publish to
  • #45 - fix writer id property

0.5.0

26 Jul 13:37
Compare
Choose a tag to compare

This release drops the concept of "tasks" in Reader (in favor of a single message handler). This greatly simplifies internal RDY state handling and is a cleaner API as we head towards 1.0.

These changes modify the public API and break backwards compatibility. To ease the transition we've added a LegacyReader class that accepts the previous version's arguments and facilitates instantiating new Reader instances for each task with the same automatic channel naming conventions.

We suggest you begin to migrate towards using the new API directly (LegacyReader will not be in the 1.0 release), but for now the upgrade is as simple as:

from nsq import LegacyReader as Reader

Finally, TLS support is available via tls_v1 and tls_options params to Reader (available in nsqd as of 0.2.22+).

  • #42 - TLS support
  • #39 - distribute requests to lookupd
  • #38 - fix edge case where conn would never get RDY; RDY fairness when # conns > max_in_flight
  • #36/#37 - refactor internal connection, backoff, and RDY handling
  • #29/#34/#35 - refactor public API (drop "tasks"); improve RDY count handling
  • #28/#31 - improve backoff handling