Release 0.0.34
Enhancements
- Support Stream republish configuration
- Support Stream direct access configuration
- Support Stream subject filters in mirror configuration
- Support showing the subjects contained in a Stream using
nats stream subjects
- Show number of subjects held in a Stream when using
nats stream info
- Support delivery group hints in
nats consumer sub
- Support editing various properties on Consumers
- Support
none
ack mode for pull consumers - Support deleting leaderless and otherwise unmanageable Streams and Consumers using
—force
- Support republish features in
nats kv add
- Support listing keys in a bucket using
nats kv ls BUCKET
- Support fetching a specific historic revision of a KV key using the new
—revision
flag onnats kv get
- Adds a new
nats kv revert
command that can retrieve a past revision for a key and publish it as a new put - Support
—last-per-subject
in thenats sub
command - Allow
nats sub
to reference an existing Durable consumer using—durable
- Support excluding certain subjects from being rendered in
nats sub
using the new—ignore-subject
flag - Support showing matching Replies on
nats sub
using the new—match-replies
flag - Support binding to a specific stream in
nats sub
using—stream
- Support testing server subject mappings using
nats server mapping
- Support deleting the selected context when it’s the only context
- Support extended durations on CLI flags like
1y1M1d1s
- Render TLS connection information in
nats account info
- Improve reusability of configurations in
nats server run
- Allow the inbox prefix to be configured from a NATS context
- Improve help output and general CLI flow
Bug Fixes
- Fix handling windows slashes in
nats server run
- Fix benchmarking using multiple subjects and other
nats bench
improvements - Fix
nats sub
when giving a count and—raw
- Warn instead of fail when memory stream backups are requested in
nats account backup
- Fix handling of deny-delete and allow-purge when adding streams
- Fix waiting for a new leader when forcing a leader election
- Various UX improvements
Deprecations
- Deprecate
nats backup|restore
, usenats stream backup|restore
ornats account backup|restore
- Deprecate
nats governor
, to be removed in next release - Deprecate
nats stream template
, to be removed in next release - Now requires at least Go 1.18
New Contributors
- @ramonberrutti made their first contribution in #477
- @AlbericC made their first contribution in #487
- @superfrink made their first contribution in #491
- @philpennock made their first contribution in #495
- @sylr made their first contribution in #519
- @codegangsta made their first contribution in #523
- @lambdaR made their first contribution in #528
- @rodrigc made their first contribution in #535
- @tbeets made their first contribution in #524
- @Haramaty made their first contribution in #542
- @dselans made their first contribution in #531
Full Changelog: v0.0.33...v0.0.34