Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Releases: nats-io/jetstream

Release v0.0.19

16 Oct 16:56
v0.0.19
603b948
Compare
Choose a tag to compare

Enhancements

  • Show RTT in nats req output
  • Support reverse sorting server reports
  • Remove the unused chunk size options in snapshots
  • Add filters to nats server request commands to request data from subsets of servers like all those in a specific cluster
  • New nats server info command
  • Add nats schema command to search and show schemas as well as validate JSON files using the schemas
  • Support waiting for ack in benchmarks - enabling benchmarking of JetStream performance
  • Support saving configurations made using nats stream add and others to file rather than creating the resources
  • Support new JSM connection management
  • Add new nats server req accounts command
  • Support paging stream contents using nats stream view

Bug Fixes

  • Avoid showing duplicate connections in server reports
  • UX improvements when showing times
  • Always acknowledge received messages when requested to do so in nats sub

Release v0.0.18

14 Aug 08:57
v0.0.18
b34c1cf
Compare
Choose a tag to compare

Enhancements

  • Add schemas for consumer create
  • Support configuring duplicate tracking windows on Streams
  • Support and document Exactly Once delivery
  • Support waiting for multiple responses in the request command
  • Add a Work Queue example
  • Support consumer rate limits set in bits per second
  • The reply command can now invoke commands for each request, for example reply -q wttr 'weather.>' --command "curl -s wttr.in/{{1}}?format=3" creates a dynamic weather service
  • Various documentation improvements
  • Support viewing authentication errors using nats event
  • Add reports for active accounts and connections under nats server report
  • Support maintaining multiple, named, connection configurations named contexts simplifying access to multiple networks in the nats CLI, see nats context --help

Bug Fixes

  • Fix setting max age expiry validation in schemas
  • Support servers that do not support headers

Release v0.0.17

10 Jun 09:26
1b7c4e4
Compare
Choose a tag to compare

As of this release the jsm.go, jetstream, jsm docker images, Terraform provider and GitHub Actions will all be versioned with the same tag to help users navigate the Technology Preview stage of JetStream development.

Bug Fixes

  • Correctly handle TLS Key in nats rtt
  • Improve reporting NATS connection errors

Enhancements

  • Several improvements to JSON Schemas including new advisories for significant Stream and Consumer actions
  • Improve performance of show info after other actions by making fewer INFO api calls
  • Nightly builds of jsm docker images as jsm:nightly and jsm:yyyy-mm-dd
  • Support nkey authentication
  • Do not prompt for stream / consumer names on commands that support --force
  • Support streaming backup/restore of Streams over the NATS network using nats stream backup and nats stream restore
  • Support backing up data as well as configuration in nats backup
  • Add totals and summaries to the nats server list command
  • Show server RTT in nats server list
  • Move event rendering to the jsm.go package for reuse in other projects
  • Support Headers in NATS messages in pub, sub, req, reply and stream related commands
  • Support early message redelivery termination using AckTerm
  • Report the number of subscriptions in nats server list
  • Add a nats server request command to retrieve monitoring data via the NATS protocol instead of HTTP
  • Add a new nats latency command to test the network latency between 2 NATS connections
  • Rework nats event CLI arguments

Release v0.0.16

13 May 16:24
v0.0.16
959379f
Compare
Choose a tag to compare

Enhancements

  • Support --validate on stream add and consumer add to validate JSON config
  • Support setting JSM_MODE=server environment to start the server within the jsm container

Release v0.0.15

07 May 09:04
v0.0.15
feaa899
Compare
Choose a tag to compare

Breaking Change Warning

This version of the nats CLI is not compatible with previous versions of JetStream due to a rewrite of the admin API.

Enhancements

  • Publish fully dereferences JSON Schema files in the schemas directory
  • Many fixes and improvements to the JSON Schemas, many new types documented
  • Improvements to the nats events command, add a --short output format
  • Supports NATS_CERT, NATS_KEY and NATS_CA environment variables
  • Adds a --trace option to log interactions with the JSON API
  • Documentation updates for new API structures

jsm.go Package Enhancements

  • Support new JetStream API
  • Many improvements to the handling of typed data messages and JSON Schema validations

JetStream Enhancements

  • Add a Discard Policy that defines how a full stream behaves - delete old messages or prevent new messages
  • Complete rewrite of the Administration API to be entirely JSON based
  • Restructure the Subjects used by the API
  • Simplifies the Consumer Info structure to be less verbose
  • Add paging to several of the JetStream API result sets

Release v0.0.14

17 Apr 06:44
v0.0.14
2fbafe2
Compare
Choose a tag to compare

Bug Fixes

  • Interactive use of nats consumer add would not set a replay policy and fail our improved input validation

Release v0.0.13

15 Apr 16:03
7ee2112
Compare
Choose a tag to compare

Breaking Change Warning

This release of the nats CLI and JetStream preview is not compatible with data stores created using previous versions.

We've taken some feedback from community and internal users, changed the API and changed the underlying storage based on that.

Gathering and responding to feedback is the reason for the Tech Preview and these kind of changes are inevitable, though we try our best to minimise them.

Enhancements

  • Expand information shown in reports
  • Accept -1 for max message size
  • Remove the nats-server runtime dependency
  • Support username, password and token authentication
  • Support new API format of Delivery Policy
  • Add Schemas for the JetStream API
  • Validate all generated configurations against the JSON Schemas
  • Support a new delivery policy

Bug Fixes

  • Do not try to acknowledge messages for noAck consumers

JetStream Improvements

  • Wildcard support for consumer subject filters
  • Ability to configure accounts to be JetStream enabled and set limits

Release v0.0.12

24 Mar 09:36
3933a8e
Compare
Choose a tag to compare

Enhancements

  • Ensure full test suite pass on windows
  • Add progress bars to nats bench
  • Parse bytes when adding streams
  • Add async error handling to the NATS connection

Bug Fixes

  • nats bench were sending more messages than requested

NATS Server Changes

  • Improve Stream purge performance
  • Remove deadlock when disconnecting from some push consumer subjects
  • Various performance improvements
  • Support queue subscribers on push Consumers

Release v0.0.11

09 Mar 15:43
092240a
Compare
Choose a tag to compare

Enhancements

  • Add a nats rtt command capable of reporting Round Trip Time latency to servers
  • Extract the JetStream Management library into it's own package and use that
  • Support adding Streams and Consumers as well as editing Streams from configuration files using the --config option
  • Edits now show configuration diffs and prompts for confirmations - supports -f force
  • nats sub will now show JetStream metadata for JetStream originated messages and can acknowledge them
  • Documents Configuration Management using nats CLI and Terraform

Bug Fixes

  • The nats consumer next command now requires a consumer and stream name, fixing invalid API requests being made

Release v0.0.10

29 Feb 04:16
545815d
Compare
Choose a tag to compare

Enhancements

  • Remove jsm binary - use nats instead
  • Fix reading multli line inputs in nats pub

JetStream Enhancements

  • Fix deadlock in subscription processing