Skip to content

Releases: nats-io/nats.deno

v1.0.0-2

27 Aug 20:36
0692345
Compare
Choose a tag to compare

#v1.0.0-2

Greatly improved performance

  • reduced number of awaits when iterators have data available
  • hand-rolled parseInt/encoder improving protocol performance
  • deferred extra array concatenations, until a drain happens on the pending buffer

v1.0.0-1

24 Aug 21:05
169b0d8
Compare
Choose a tag to compare

v1.0.0-1

  • [chore] cleaned up where dependencies were loaded and re-exported
  • [compact] added compiler directives to ignore timers as in node, timers are not numbers
  • [fix] fixed samples that had spurious encodes/decodes
  • [fix] close promise resolution in thenable caused a flag to be set too late, creating redial issues in node.
  • [feat] added bench logic to simplify any kind of bench tool in a different runtime
  • [fix] added additional tests, missing copyrights

v0.1.1-31

12 Aug 19:33
b4bccd6
Compare
Choose a tag to compare
  • [feat] added support no noMux subscriptions - option is added to a specific subscription.
  • [feat] implemented nats.go parser in typescript, this reduces the number of allocations and is generally much more efficient than the previous REGEX based parser.
  • [feat] implemented max_payload checks for outbound messages, if a client tries to publish a message that is larger than the server will allow, the publish/request/respond operation will throw an error.
  • [feat] message properties such as subject/reply are converted to strings only if they are accessed, thus reducing allocations and work that is not required, and thus improving subscriber performance.
  • [feat] implemented the ability for the deno client to specify a CA certificate by providing the tls.caFile option.

v0.1.1-23

06 Aug 19:58
c9b1426
Compare
Choose a tag to compare

[BREAKING] removes url connection property - use servers which now supports a string or array of strings.

v0.1.1-22

06 Aug 16:25
6ef42d3
Compare
Choose a tag to compare
  • updated dependency for nkeys.js

v0.1.1-21

04 Aug 15:51
8cad22b
Compare
Choose a tag to compare

[FEAT] added Codec with implementations for StringCodec and JSONCodec, which take String/Objects and encode/decode to Uint8Arrays. This mechanism enables user code to exercise the encoding/decoding of payloads and indirectly allows a single client to work with Uint8Arrays, JSON or string payloads. This resolves nats-io/nats-clients#1.

[BREAKING] nats client removes the Payload option, message payloads are always Uint8Array.

v0.1.1-18

31 Jul 21:41
3794bf0
Compare
Choose a tag to compare
  • [feat] added support for stale-connection detection
  • [breaking] changed request signature to specify timeout in an option's object.
  • [feat] added support for nkey, and jwt authentication
  • [feat] added support for LDM signals from the server
  • [feat] added support for message headers

v0.1.1-19

31 Jul 22:19
a5909bb
Compare
Choose a tag to compare

internal renames

v0.1.1-0

09 Jul 15:56
Compare
Choose a tag to compare
  • Added reconnect support
  • [BREAKING] Subscription objects are now message iterators.
  • [BREAKING] The lifecycle events are now standard EventTarget interactions, possible events are: Events.UPDATE, Events.DISCONNECT, Events.RECONNECT.
  • [BREAKING] Close handler is removed. Instead use the connection's status() which returns a promise that resolves when the client closes. If the client closes due to an error, the error is the resolved value.

v0.1.0-0

19 Jun 22:01
Compare
Choose a tag to compare

Initial basic release of NATS for the Deno platform.