Skip to content

Releases: nats-io/natscli

Release 0.0.29

18 Feb 11:49
v0.0.29
4c223bc
Compare
Choose a tag to compare

Removals

  • Remove the assertions for gateways and route count in nats server check as they were incorrect and data does not exist to make them correct

Enhancements

  • Various improvements to nats server run command
  • When making multiple requests support sleeping between requests in nats request
  • Add --count to nats reply to exit after an amount of replies
  • Support --inbox-prefix for custom inboxes, also supported in contexts
  • Add --force-stdin in nats pub to force reading STDIN when there is no TTY
  • Improve consistency of rm/ls/etc in various commands
  • Various improvements for benchmarking JetStream
  • Support ephemeral pull consumers
  • Support new consumer properties to set various limits for pulls
  • Show new account limits
  • Combine kv commands rm and del into one
  • Adds a new nats stream find command that supports querying and filtering streams by various dimensions
  • Support consumer backoffs
  • Adjust how connection report totals are calculated
  • Correctly handle servers with multi-day uptimes in nats server check server

Bug Fixes

  • Improve rendering percentage of unprocessed messages in a consumer
  • Fix multiple paging issues for networks with large numbers of streams, connections or subscriptions
  • Avoid panic when listing stream names only

Release 0.0.28

03 Dec 18:29
v0.0.28
08df7c7
Compare
Choose a tag to compare

Enhancements

  • Dynanically set a version for installs using go install

Bug Fixes

  • Ensure kv add honors --trace
  • Remove unwanted debug output
  • Handle contexts load errors better

Release 0.0.27

30 Nov 11:04
v0.0.27
0d9a5dd
Compare
Choose a tag to compare

Enhancements

  • Support sorting server lists by name
  • Add --count option to nats sub
  • Various UX improvements to nats bench
  • Support new meta cluster information in server check
  • Support sealing streams
  • Update kv command to use nats.go and complete ADR implementation
  • Support Headers Only consumers
  • Support stream permissions
  • Add experimental nats object command for NATS Object Store
  • Improve UX when showing Consumers
  • Improve schema validation of timestamps
  • Adds a -a flag to nats stream list to show all streams including system ones used by KV, Object and MQTT
  • Improve nats stream ls
  • Expand information shown in various ls commands
  • Support editing consumers
  • Make the CLI embedable in other Go CLI tools

Technology Previews and Proof of Concepts

Bug Fixes

  • Do not show queue group in Pull consumers
  • Set dupe window to max age when max age is less than 2 minutes
  • Reverse RTT sort order
  • Improve server list logic regarding number of expected servers
  • Correctly calculate times in server lists and server checks

Release 0.0.26

08 Sep 09:56
0.0.26
13d6992
Compare
Choose a tag to compare

Enhancements

  • Support setting descriptions on Consumers and Streams
  • Support last_per_subject deliver policy for Streams
  • Support Nats Server 2.4.0 acknowledgement subjects
  • Improve header support based on current design
  • Remove the Key-Value Store client bucket.key behaviour for accessing keys in a bucket
  • Support . in keys for the Key-Value Store client
  • Support paging over connz output from servers and limit results to the first 1000 in displays
  • Report if a Push Consumer has active interest on it
  • Support the new Delivery Group concept and show additional Consumer state
  • Support getting the last message for a subject from a stream using nats stream get --last-for SUBJECT
  • When waiting for responses from servers in monitoring use a sliding window if no expected response count is given
  • Add nats account report connections which against NATS Server 2.4.0 will show all connection made scoped to an account
  • Support filtering responses by subject interest in nats server req connections and nats server report connections
  • Big improvements to nats bench to support benchmarking JetStream, includes breaking changes to CLI behaviors
  • Support using Snappy compression on some communications from the NATS Servers
  • Support consuming multiple messages using nats consumer next
  • nats server check can now output JSON format results to assist with integration into other monitoring systems
  • New nats server check server that can check properties like uptime, cpu, memory, total connections, total subscriptions etc
  • Support Flow Control in nats consumer sub
  • Various small UX improvements
  • Ensure the output from nats --help goes to STDOUT not STDERR

Release 0.0.25

22 Jul 10:16
0.0.25
3ae360a
Compare
Choose a tag to compare

Enhancements

  • Add experimental nats governor command that can maintain network aware concurrency limiters
  • Add experimental nats kv command that maintains and access JetStream based Key-Value stores
  • Support setting stream max consumers
  • Various improvements to report sorting

Bug Fixes

  • Fix crash in mirror/source maintenance
  • Improve missing servers list in nats server list command

Release 0.0.24

24 Jun 13:21
0.0.24
575898f
Compare
Choose a tag to compare

Enhancements

  • Various UX updates to improve discoverability of features
  • Allow nats pub to perform sleeps between subsequent publishes when passing --count using --sleep
  • Support JetStream domains
  • Improve rendering of unlimited limits
  • Do not ask about dupe tracking when setting up mirrors
  • Support Max Waiting in consumer creation via --max-waiting
  • Improve table rendering visuals
  • Various improvements to reports in multi domain situations
  • Support monitoring various aspects of a JetStream account using nats server check jetstream
  • Support token authentication by supplying a token as username
  • Support viewing, querying, searching and maintaining nats server error codes using nats errors
  • Auto detect cluster sizes for various nats server commands when running against NATS 2.3.0 or newer
  • Support per subject message retention limits
  • Support extended purges for subjects, sequences and keep limits
  • Support saving messages to directory or stdout using nats sub --dump

Fixes

  • Fix nill pointer exception on non JetStream servers in nats server info
  • Improve behaviour when running without a terminal
  • Improve various errors shown when a System account was expected to be used

Release 0.0.23

23 Apr 07:18
352ef21
Compare
Choose a tag to compare

Enhancements

  • Support rendering leader distribution in stream report
  • Compact host names in various reports removing common suffixes
  • Support filtering streams by subject when using nats stream view
  • Improve the nats server check command with stream and cluster checks
  • Improve performance when using various stream and consumer commands

Bug Fixes

  • Use UTC times when communicating with the API
  • Handle invalid reply subjects gracefully in stream view
  • Show correct stream info after stream purge
  • Improve cluster state rendering in cases where a meta leader is not present
  • Fix the {{ID}} interpolation for strings
  • Improve handling of optional booleans in shell arguments

Release 0.0.22

12 Mar 12:44
0.0.22
aeb0958
Compare
Choose a tag to compare

Enhancements

  • Support JetStream Clusters
  • Support publishing multiple messages with templated Headers and Bodies
  • Support limiting results by server Tag in nats server request
  • Add a JetStream report
  • Add Stream and Consumer reports with nats stream report and nats consumer report
  • Extend nats account info with additional details about the connection
  • Support creating NATS Server passwords using nats server password
  • Add a nats cheat command that shows a cheat sheet of common commands
  • Better utilize screen size when asking for a selection
  • Numerous UX improvements
  • Support custom API and Event prefixes to access JetStream across accounts
  • Add a Nagios compatible health check in nats server check
  • Support Push Consumer idle heartbeats
  • Support Push Consumer flow control
  • Keep shell environment when invoking commands from nats reply
  • Support restoring to different streams and with different configuration
  • Multiple improvements to output from nats server report

Release 0.0.21

06 Jan 12:17
0.0.21
b1b47a4
Compare
Choose a tag to compare

Enhancements

  • Relocate natscontext to the jsm.go package for ease of reuse
  • Add FreeBSD support to releases
  • Various UX fixes
  • Allow AckWait to be set in consumers
  • Relocate source code into nats subdirectory for more consistent builds when using Go tooling like go get
  • Allow stream max message size to be set as 1GB etc
  • Contexts can be validated using the nats context validate command, connection attempts can be done using each configuration using --connect in validate and show
  • Additional text templating to bodies and headers for pub and reply commands. Also adds {{.ID}} to generate unique strings
  • Ensure stream backup and restore is tested by CI

Release 0.0.20

07 Dec 13:11
c15ad28
Compare
Choose a tag to compare

This is the first release as part of the natscli project after moving the source code from the jetstream repository.

Enhancements

  • Allow the server list to be sorted
  • Additional schemas for account connection advisories
  • Use old style requests only when needed
  • Support resolving nsc account credentials in contexts using URLs like nsc://<operator>/<account>/<username>
  • Support new Consumer features in nats consumer info
  • Support new message pending metadata
  • Various UX improvements
  • Hide passwords in the context commands
  • Expand information shown in the nats account info command
  • Support MaxAckPending feature of consumers
  • Support filtering streams returned by the stream list command using the listening subject
  • Support publishing multiple messages, with template variable expansion, in the nats pub command
  • Allow NATS_CONTEXT environment variable to select a context
  • Publish to rpm, deb and homebrew