Aquí hi ha 13 versions de NATS Command Line Interface, des de 15 de juny del 2023 fins a l’actual, 0.5.0. Cadascuna enllaça amb els instal·ladors del mateix desenvolupador.
13 versions en 3 anys · unes 4 per any
| Versió | Data | Mida | Fitxers |
|---|---|---|---|
| 0.5.0Darrera versió | 17 de setembre del 2026 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versió## NATS Context Improvements
When creating a context you can now pass `--embed` to embed the credential files and secrets directly into the context JSON file. This makes it easier to mount these into containers.
You can also now use resolvers to load data from other sources:
|Scheme|Source|
|-------|------|
|`file://path` or bare path|Reads a file, expands `~` and `$VAR`|
|`op://vault/item/field`|Reads from the 1Password CLI|
|`nsc://operator/account/user`|Reads creds files from `nats auth` or `nsc` stores|
|`env://ENV`|Reads environment variables|
|`data:;base64,<payload>`|Inline RFC 2397 payload, base64-decoded|
These can be used in credentials, nkeys, user JWT, user seed, token and password. Again making it easier to configure containers and other similar setups.
## Query historical data
Many commands in `nats server report` and `nats server request` can now query `nats audit` archives using the `--archive` flag.
Using this you can query historical archives using familiar commands and they would represent a point in time in the past.
## Homebrew Core
You can now just do `brew install nats` as we are now included in the Homebrew Core repo
## NATS Server 2.15 Features
See the [NATS Server 2.15 Release Notes](https://github.com/nats-io/nats-server/releases/tag/v2.15.0) for background on these commands.
• Adds `server cluster rescue` command.
• Stream desired state support
• Support stream, cluster and meta evacuate in `nats stream cluster` and `nats server cluster` commands
• Add `nats backup` command for editing stream backups on disk
• Support domains in the system account for API level >=5
• Support canceling a Stream move in `nats stream cluster` command
## Enhancements
• Add `--throughput` flag to `nats bench` generator commands
• Add `--archive` to read-only `nats server req *` and `nats server report *` commands
• Add fast batch publish support to `nats bench`
• Rework `nats context` command to use registry, backends and resolvers
• Add `--tls-first` as a hidden alias for `--tlsfirst`
• README:How to add authentication
• Render object metadata if present
• Adds a `decr` utility to the `nats counter` command
• Add duration flag to `nats bench`
• Handle non-scoped keys in `nats auth`
• Migrate Homebrew installs to use the Core formula
• Add `--jitter` flag to `nats pub`
• Update `nats stream restore` document
• Add `nats auth nuid` command
## Bug Fixes
• Fixes potential out of range index in `nats bench`
• Improve error handling and UX in FIPS modes
• Skip badly formed micro responses
• Align `nats cheat` names with command names
• Don't allow peer removal when we find multiple leaders
• Fix `nats pub` ignoring piped STDIN when STDOUT is redirected
• Fix `nats pub` command display for large numbers of messages
• Fix panic in `nats bench` command
• Remove unused `--json`
• Pass Subject when using `--raw` flag in `nats sub`
• Set the `@at` prefix for `--schedule-after` messages in `nats pub`
• Correctly handle `--no-republish` in `nats stream edit`
• Ensure durations do not become invalid around max Int64
• Fix error handling and msg count in `nats sub` command
## New Contributors
• @jainal09 made their first contribution in https://github.com/nats-io/natscli/pull/1647
• @pjaudiomv made their first contribution in https://github.com/nats-io/natscli/pull/1674
• @holyjak made their first contribution in https://github.com/nats-io/natscli/pull/1679
• @tilakraj94 made their first contribution in https://github.com/nats-io/natscli/pull/1699
• @chrisfinazzo made their first contribution in https://github.com/nats-io/natscli/pull/1708
• @jtnats made their first contribution in https://github.com/nats-io/natscli/pull/1710
• @alirezaarzehgar made their first contribution in https://github.com/nats-io/natscli/pull/1724
**Full Changelog**:https://github.com/nats-io/natscli/compare/v0.4.0...v0.5.0 |
| 0.4.0 | 1 de maig del 2026 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióEnhancements
- Adds nats server watch api requests
- Support for --window-size for stream backups
- Report snapshot time in nats server watch jsz
- Support fast batch ingest stream configuration (NATS Server 2.14)
- When using nats via Claude Code render help and general UI in Markdown
- Add some JSON output features to nats auth
- Render account and user names in nats account info
- Optimise expected responses for leader only jsz requests
- Suoports waiting for replies till empty message received in nats req
- Add nats service request command
- Report issystem account in nats account info
- Support publishing scheduled messages in nats pub (NATS Server 2.14)
- Support durable sourcing and add nats consumer reset (NATS Server 2.14)
Removals
- Remove the experimental nats server run command
Bug Fixes
- Fix typo in flag description for stream command
- Various bug fixes and quality improvements to pub and req commands
- Various UX and help improvements
- Subject name logged is not actual but a template in pub and req
- Populate missing Raft group in stream/consumer check
- When filtering on host/name force wait=1 for increased responsiveness in a few reports
- Fix pub/req commands with piped stdin
New Contributors
- @ashumkin made their first contribution in #1601
Full Changelog: v0.3.1...v0.4.0 |
| 0.3.2 | 25 de març del 2026 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióUpdates
This release is identical to version 0.3.1 but updates all dependencies for recent CVE disclosures. |
| 0.3.1 | 28 de gener del 2026 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióBug Fixes
- Make server a required argument in server graph
- Fail when nats sub is called with subjects and durable is set
- Fix reported stream name on nats stream cp
- Clarify max consumers tier limits in nats account info
- Fix queue groups for nats sub graph and report subjects
- Fix nil pointer panic in object edit
- Default to a hour timeout for obj get
- Handle missing selected context
- Improve aggregated stats printing in nats bench
- Avoid unneeded consumer info in nats c next
- Misuse of error var in account backup cmd dir scan
- Handle missing objects, keys and buckets better
- Clarify the purpose of stream purge in help
- Improve nats server password UX
- Improve connection logging
- Various bug fixes and UX improvements in nats bench
- Support mirrors in nats kv edit
- Update consumer command description from Stream state to Consumer state
Enhancements
- When creating streams create a basic mirror when --defaults are given
- Adds a basic counter access tool in nats counter (Requires NATS Server 2.12)
- Support metadata in KV buckets
- Add additional option to account connections report such as connection state filtering
- Add --atomic flag to pub command (Requires NATS Server 2.12)
- Add chunk-size option for object put
- List multiple RAFT meta groups in server report jetstream
- Add support for --jwt auth (bearer token)
- Support rendering cluster wide asset leaders by with nats server report js -l
- Support terminating at num pending 0 in nats sub using --terminate-at-end
- Show details about how many messages were removed in nats s purge
- Record cli version when audit gathering, report in output
- Adds a --cluster filter to nats audit gather
- Implements latency tracking for individual operations in nats bench
- Add --cluster option to nats server cluster balance and some safety warnings
- Add --seed flag to nats context
- Add --tls-cert-warn and --tls-cert-crit flags to server check server (Requires NATS Server 2.12.4)
- Add --multisubjectrandomize flag to nats bench
- Add --randomize flag to nats bench kv put
New Contributors
- @Hoiyeuhng made their first contribution in #1523
- @adelina-t made their first contribution in #1541
- @ktarplee made their first contribution in #1556
- @superlevure made their first contribution in #1578
- @hooksie1 made their first contribution in #1567
Full Changelog: v0.3.0...v0.3.1 |
| 0.3.0 | 22 de setembre del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióEnhancements
- Add downgrade safety report in nats server report downgrade (requires NATS Server 2.12)
- Support configuring and reporting on Batch Publishing (requires NATS Server 2.12)
- Support Prioritized consumer groups (requires NATS Server 2.12)
- Support offline JetStream assets (requires NATS Server 2.12)
- Support message schedules (requires NATS Server 2.12)
- Support benchmarking batch publishing using nats bench js pub (requires NATS Server 2.12)
- Show when a leader became leader (requires NATS Server 2.12)
- Support Stream Persistence Mode (requires NATS Server 2.12)
- Support removing mirror configuration in nats stream edit (requires NATS Server 2.12)
- Show missing streams in list/report (requires NATS Server 2.12)
- Rewrite nats sub to use nats.go/jetstream
- Allow stream retention to be edited
- Remove API Errors from JetStream reports
- Report missing Raft group in stream/consumer check
- Batched direct gets in nats bench
- Allow sorting nats server watch by names
Bug Fixes
- Ensure parsed ints are in correct units
- Improve publishing from STDIN for nats pub
- Always fail when context doesn't exist
- Ensure API calls made by nats.go uses correct timeout
- Fix steam-check breaking on pretty-printed JSON
- Prints a warning at the end of a nats bench run if a disconnection happened
- Validate history falls within limits rather than overflowing
- Align with the needs of go 1.24 go vet
- Fix MULTILEADER detection in stream/consumer check
- Improve help output in various commands
- Skip failed nats rtt targets rather than error
- Various UX and behaviour improvements to nats bench
- Fix stdin handling for nats req command
- Perform exact matching when accessing z endpoints (requires NATS Server 2.12)
- Improved display of nats bench statistics
- Force number of decimal places on Y axis on graphs
- Allow B and b when specifying number of bytes
- Correctly read the trace message body from user input
Full Changelog: v0.2.4...v0.3.0 |
| 0.2.4 | 18 de juliol del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióBug Fixes
- Fix port usage when nats rtt is given an IP address
- Use consumer stats instead of stream state for delivered rate
- Improve date consistency of various timestamps using the standard renderer
Enhancements
- Add --endpoint/-e to nats service info
- Add some connection logs and slow down reconnects
- Report GOMEMLIMIT if set
- Add server req ipq and raftz
- Support wildcard for KV list
- Add --api-level flag to stream find and consumer find commands
- Report API Level in streams and consumers report
- Change the password length limit to 10 characters
- Report local addresses when different from client address
- Add --direct flag to sub command
- Add --filter flag to bench js consume and fetch commands
- Drop placeholders to display default value for flags where it is set
- Implement --templates flag to disable template processing on publish
NATS Server 2.12 Preview Features
These are preview features that require the currently unreleased NATS Server 2.12
- Initial support for ADR-50 Atomic Batch Publishing
- Allows configuring ADR-49 Counters
New Contributors
- @chenjpu made their first contribution in #1398
- @mikluko made their first contribution in #1405
Full Changelog: v0.2.3...v0.2.4 |
| 0.2.3 | 12 de maig del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióBug Fixes
- Fix account report connections
- Handle errors from reports with --watch correctly
- Improve handling timeout for the jetstream package
- Fix kv edit to not override unspecified fields
Enhancements
- Improve relevant help and logs about stream view page limit
- Add tests for consumer actions
- Remove redundant condition in consumer command
- Support sending on newline for nats pub
- Cross platform testing & fix runNatsCli timeout
- Support KV TTLs
- Add stream tests
- Add Windows to GH Action Tests
- Add object edit command
- Add tests for server command and all related subcommands
New Contributors
- @Imanghvs made their first contribution in #1348
- @thewizzy made their first contribution in #1356
Full Changelog: v0.2.2...v0.2.3 |
| 0.2.2 | 14 d’abril del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióBug Fixes
- Improve embedability of check features
- Fix stdin detection for nats reply
- Fix operator signing-key description
New Contributors
- @heikkilamarko made their first contribution in #1338
Full Changelog: v0.2.1...v0.2.2 |
| 0.2.1 | 9 d’abril del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióBug Fixes
- Consistency updates for account name argument
- Verify the connection prior to prompting for Consumer information
- Handle limit and offset in req jsz
- Fix handling of user set empty bodies in pub/req
Enhancements
- Add --watch flag to server report commands
- Add token authentication support to context options
- Update the readme's nats bench examples to use the new nats bench commands
New Contributors
- @tommylp made their first contribution in #1324
Full Changelog: v0.2.0...v0.2.1 |
| 0.2.0 | 20 de març del 2025 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióMajor New Features
Decentralized Authentication Management
We have introduced some of the functionality from nsc and nk into the new nats auth command. The aim is not to support every feature nsc has but to identify the key features most users use and bring those into the nats command.
This is an initial release and we're seeking feedback around missing features users feel are key and around the general interaction model.
Please see AUTH.md for a testing guide.
Configuration Scaffolding
To complement nats auth and to help new users we introduced a new configuration generation feature set in nats server generate. This tool will guide users through interactive questions to solve goal orientated outcomes such as generating local Docker Compose development Super Clusters or connecting to Synadia Cloud using a Leafnode.
The tool supports sharing bundles without performing new releases of the nats command and again we'd love feature requests on scaffolding you'd like to see here.
Major nats bench rewrite
The nats bench command has seen a major rewrite splitting it into seperate commands with options grouped around specific goals rather than all in one huge set of flags.
Real time graphs
We've added numerous graph features to the tooling that allow you to see traffic rates on specific subjects, in and out of streams and consumers and more.
See:
- nats sub --graph
- nats stream graph
- nats consumer graph
- nats server graph
nats top
We've incorporated the nats-top command as a new sub command and made it work over NATS network rather than HTTP for consistency with all the other nats administration commands.
Enhancements
General
- Support switching to the previous context using nats ctx previous
- Temporary files that might be edited now use the correct extension to assist editors with syntax highlighting
- Supports TLS First in Contexts and general connection options via --tlsfirst
- A context may now be unsellected using nats context unselect
- Support loading TLS files from the Windows Certificate Store
- Adds a new nats server watch command that can passively observe a NATS Cluster
- Support compressing KV buckets
- Support compressing Object Store buckets
- Supports building for the s390x Architecture
- Supports subscribing to multiple subjects in nats sub
- Support options like --js-domain in nats sub
- Support encrypting and decrypting data using xkeys via nats auth nk seal and nats auth nk unseal
- Support interactive, guided, Server configuration generation using nats server generate
- Various utility flags for nats sub: --subjects-only, --timestamp and --delta-time
- Name MQTT connections by MQTTClient ID instead of Name
- Major rewrite of the nats bench command for better UX
- Adds new nats sub --graph options to interactively draw subject traffic rates
- Various commands that parse the EDITOR environment variable now supports arguments in the supplied command
- Improved color aware progress bars
- Subjects now support template parsing in nats pub and nats req
- The --translate flag on nats sub now supports the --dump flag
Operations
- Adds nats server check credential that can monitor credential expiry and more
- Support filtering connections using an expression language on nats server report connections --filter
- Support filtering connections by username using nats server report connections --username
- Support filtering connections by state using nats server report connections --state
- Support filtering closed connections by reason using nats server report connections --state closed --closed-reason
- New bar graph based views for CPU and Memory in nats server report cpu and nats server report mem
- Adds a new nats server check consumer to validate various aspects of Consumers as a health check
- Allow Replicas to be changed when performing Stream restores
- Adds a new nats auth command that can manage nkeys and has a subset of nsc features
- Adds a new nats top command incorporating features previously found in nats-to |
| 0.1.6 | 23 de desembre del 2024 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versióCVEs
- Vulnerability check warnings for CVE-2024-45337 are addressed by the dependency update to x/crypto, although the nats does not use the affected functionality and is therefore not vulnerable
Full Changelog: v0.1.5...v0.1.6 |
| 0.1.5 | 29 de juliol del 2024 | — | 64 bits ZIPARM64 ZIP32 bits ZIP Notes de la versió## Bug Fixes
- Various UX and rendering improvements
- Improve handling of cluster size counts in `nats server req` commands
- Improve stdin handling for `kv` and `object` commands
- Report correct timezone in `nats stream` commands
- Make the consumer inactive threshold editable
- Prevent empty subject transform configurations
- Improve handling of KV value sizes
- Documentation fixes
## Enhancements
- New `nats server check consumer` command to verify consumer health
- Show Consumer limits in `nats stream info`
- Support filtering closed connections by reason in `nats server report connections` |
| 0.0.35 | 15 de juny del 2023 | — | 64 bits ZIPARM64 ZIP32 bits ZIP |