Skip to content

Releases: nats-io/nats.deno

v1.0.6

02 Jun 15:59
24498cf
Compare
Choose a tag to compare
  • [FIX] Consumer options consumerOpts() don't provide access to all the options possible - provided a path for specifying a new consumer configuration to the builder, unblocking the requirement to pre-create those types of consumers #153
  • [FIX] Fixed an issue where preventing double-acks prevented repeat invocations of +WPI, which should be allowed an unbounded number of times #154
  • [FIX] Relaxed header parsing to allow plain : (without a following whitespace). Values are also trimmed. Malformed headers (for example a key with no following colon) are ignored nats-io/nats.js#430
  • [FIX] Removed rogue reference to window nats-io/nats.js#428

v1.0.4

10 May 20:47
7a7a9e6
Compare
Choose a tag to compare

Important Changes

This release modifies the way that headers are implemented. Previously all lookups were case insensitive as the library stored and expected all keys to be in canonical form. This release changes functionality to be case-sensitive by default. An additional optional argument Match (an enum) changes the behavior between case-sensitive (exact), canonical (compatible with previous releases), and ignore-case.

Complete Notes

  • [update] Updated Deno std to 0.95.0 #151
  • [change] breaking - Headers are now case sensitive #145
  • [feat] JetStream added support for stream info deleted sequences #143
  • [fix] Subscriptions with callbacks now have timeouts honored #148
  • [fix] Added a workaround to enable source compatibility in both Deno 1.8.3 and 1.9.x #146
  • [fix] Removed use of nullish operator as downstream uses with react-create-app will fail to build otherwise #141

v1.0.2

05 Apr 22:35
6b25e37
Compare
Choose a tag to compare
  • [fix] added cluster to possible properties in ServerInfo
  • [change] jetstream max_age - in StreamConfig marked as Nanos
  • [fix] omission of headers in JetStreamPublishOptions

v1.0.1

27 Mar 00:23
34bde46
Compare
Choose a tag to compare
  • [fix] the reply subject was sometimes copied incorrectly when message payloads are large and not received within the same write #134
  • [fix] mux subscriptions had their base inbox subject doubly initialized #135
  • [feat] DebugEvents has been made accessible to downstream. #131
  • [feat] JetStream Listers are now async iterables as well #129

v1.0.0

15 Mar 16:41
90ad783
Compare
Choose a tag to compare

Changes since RC4

  • [breaking] Events/DebugEvent/ErrorCode constants have been changed to follow ES5 naming conventions
  • [feat] added internal functionality to support JetStream
  • [feat] MsgHdrs always have a code
  • [feat] added support for JetStream (on preview). JetStream functionality is described here. Some basic examples can be found here.
  • [upgrade] deno std from 0.83.0 to 0.90.0

v1.0.0-rc4

25 Feb 18:22
Compare
Choose a tag to compare
  • [feat] added the inboxPrefix connection option to modify the names of subjects generated by createInbox() or when making requests.
  • [feat] the JSONCodec is now a generic helping the typing of the parameter or return value.

v1.0.0-rc3

18 Feb 00:10
Compare
Choose a tag to compare

[feat] added tls.cert, tls.key, tls.ca to make it possible to specify certificate as a string on clients that would allow that (node). (#107)

v1.0.0-rc2

16 Feb 20:51
b8ff2cc
Compare
Choose a tag to compare
  • [fix] downstream transports may require different default ports (wss)
  • [refactor] made TransportFactory be an interface with factory, port, urlParseFn properties, enabling downstream to customize as necessary.
  • [feat] added an internal option to call a function after dispatching a message to a callback/iterator to help with post message handling (ie JetStream acks).
  • [feat] added the ability to store internal info on the subscription as well as defining a hook for cleanup functionality on an unsubscribe.
  • [fix] linter snake_cases type issues

v1.0.0-rc1

08 Feb 21:55
07405ec
Compare
Choose a tag to compare
  • [fix] [nats-base-client] fixed an issue where the connection timer was created outside of any catch block, creating a possible unhandled rejection if the connection failed - #376.
  • [fix] [nats-base-client] removed class field initializers as some browsers/tooling reject them - #92.
  • [feat] [nats-base-client] previously a no responders error was normalized to a request error - now has its own error code - #92.
  • [fix] [nats-base-client] fixed an ambiguity that triggered a re-dial loop even if waitOnFirstConnect was not specified - #96.
  • [fix] [nats-base-client] fixed bug where protocol errors dispatched to a client close, this made authentication errors not fail when supposed to.
  • [change] [breaking] removed headers and noResponder ConnectionOptions. The client will auto-enable them if the server provides support. This matches other clients.

v1.0.0-13

07 Jan 16:33
5747126
Compare
Choose a tag to compare
  • [feat] RequestOptions have a reply field that allows a client to make a request but specify the reply subject. The reply field is only honored when noMux is specified. This allows noMux requests to operate under subscribe permissions for the client.
  • [update] updated deno std@083.0
  • [fix] Changed class declarations to not have field initializers in the declaration and removed static fields as downstream consumers such as browsers in nats.ws are not able to handle such constructs (safari). Deno bundler 1.4.6 emitted compatible es modules, but newer modules emit features that are not handled by Safari.
  • [fix] Fixed many linter warnings