Aquesta és la versió actual. · Data de publicació:
Fitxers d’instal·lació 0.5.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
| 32 bits | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
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