Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency natscli to v0.1.6 #1019

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2025

This PR contains the following updates:

Package Update Change
natscli minor latest -> 0.1.6

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

nats-io/natscli (natscli)

v0.1.6: Release 0.1.6

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: nats-io/natscli@v0.1.5...v0.1.6

v0.1.5: Release 0.1.5

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

v0.1.4: Release 0.1.4

Bug Fixes

  • Improve handling invalid nats context configurations
  • Handle Subject Transforms correctly in nats stream edit
  • Avoid some nil pointer exceptions when selecting consumers

Full Changelog: nats-io/natscli@v0.1.3...v0.1.4

v0.1.3: Release 0.1.3

Enhancements

  • Support --limit-consumer-inactive and --limit-consumer-max-pending for Streams
  • New command nats server check credentials that can monitor a NATS Credentials file
  • Adds new --filter option to nats server report connections allowing filtering like this example nats server report connz --filter 'lower(conns.name) matches "surveyor" || conns.ip == "46.101.44.80"' this uses Expr language syntax to perform arbitrary filters
  • Support limiting connection reports by username using the new --username
  • Support comma separate list of filter subjects in nats consumer add
  • Support connecting to NATS Servers configured for TLS First using --tlsfirst, also supported by contexts
  • Builds for the s390x architecture
  • Support KV compression

Maintenance

  • Remove some dependencies

Bug Fixes

  • Warn about route asymmetry per cluster rather than per Super Cluster
  • Minor UX improvements
  • Correctly handle custom Prometheus namespaces in the nats server check commands
  • Major memory use improvement for connections reports
  • When editing a single filtered consumer the edit command would incorrectly change it to a multi filter consumer with just 1 match
  • Do not prompt for Backoff information when Ack None was chosen for a Consumer
  • Fix the --names flag when listing Object Bucket contents

Full Changelog: nats-io/natscli@v0.1.1...v0.1.3

v0.1.1: Release 0.1.1

Bug Fixes

This fixes the ability to install the command using go install only, otherwise it is identical to Release v0.1.0

v0.0.35: Release 0.0.35

Enhancements

  • Support removing server from a cluster using their unique ID using nats server raft peer-remove, also show server IDs in several reports
  • Support requesting healthz from servers using nats server req healthz
  • Support the new Discard New Per Subject policy for streams
  • Show the server core count in nats server list
  • Makes the request payload available as .Request in templates used in nats server reply
  • Show the bucket size in nats kv info
  • Support filtering streams in stream report and stream ls based on subject filters
  • Adds a new account level nats account report statistics command showing connection information at an account level
  • nats sub can now take a filter subject even when a stream is selected using --stream
  • Default to the all start policy when adding consumers
  • Support performing account data purges using nats server purge
  • Adds a new nats stream state command that shows only the state, also --state flag to nats stream info
  • Support enabling Mirror Direct mode when adding a stream
  • Support creating mirrors of Key-Value buckets to facilitate read replicas using nats kv add --mirror. The intended use case is to facilitate read replicas in a different domain such as when using a branch level Leaf Node
  • When using the prometheus output format in nats server check the namespace for created metrics is now configurable using --namespace
  • The nats bench command can act against an existing bucket using the new --bucketname flag
  • Various UX improvements

Removals

As announced in the previous release a few features are deprecated and removed

  • Stream template support were removed
  • Remove nats governor command
  • Remove nats backup|restore, use nats stream backup|restore or nats account backup|restore

Bug Fixes

  • Improve error handling in connections report
  • Do not offer stream retention as an editable property
  • Fix some progress bars
  • Improve help for duration flags
  • Avoid array out of bounds panics in the nats traffic command
  • Improve help output for the reply command
  • Improve paged connection reports that would fail when using nats account report connections on an account with more than 1000 connections
  • When waiting for a stream to elect a new leader with the nats stream cluster down command we waited 10 Milliseconds instead of 5 seconds

New Contributors

Full Changelog: nats-io/natscli@v0.0.34...v0.0.35

v0.0.34: 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 on nats 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 the nats 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, use nats stream backup|restore or nats 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

Full Changelog: nats-io/natscli@v0.0.33...v0.0.34

v0.0.33: Release 0.0.33

Enhancements

  • Adds maxbytes to nats bench for NGS support
  • Adds nats account restore to restore a backup made using nats account backup
  • When a stream is added using a configuration file and no name is given we now take the name from the configuration file
  • Shows the domain in nats server list
  • Support a dry-run mode in Stream and Consumer edit that only shows the differences without applying them, -1 exit code indicates a difference was found
  • The nats kv and nats obj commands will now offer a list of buckets when the bucket name is not given
  • The nats consumer edit command can now load a new configuration from file
  • The nats server check commands have a new output format text for human friendly output
  • The NATS connection name used by the CLI can now be set using --connection-name
  • nats stream find can now find streams by subject matches, the --subject flag was removed from nats stream list as it was not functional
  • Supports the new MaxRequestMaxBytes consumer setting
  • Allow Replicas and Memory storage to be selected for individual consumers
  • Supports new expirmental stream republish feature
  • nats bench can now publish to multiple subjects

Bug fixes

  • UX improvements in kv commands
  • Fix nats stream ls --names that would list all names twice
  • Fix the rtt and latency commands that were printing unrealistically small numbers
  • Max delivery was not setable when a backoff was not provided
  • Various UX improvements to flags and help output
  • Terminal detection is done wherever input is asked, thus improving failure modes when run from scripts, cron etc

v0.0.32: Release 0.0.32

Enhancements

  • Allow a Stream to be placed by --tag or --cluster when restoring from backup
  • Accept sizes like 1g, 1GB, 1GiB etc in CLI flags and interactive prompts in more places
  • When an account requires a max stream size set default to 256MB

Bug Fixes

  • Only enforce Stream max age requirement when the account requires it

v0.0.30: Release 0.0.30

Enhancements

  • nats sub can now subscribe to JetStream Streams using ephemeral consumers enalbed using its new --start-sequence, --all, --new, --last and --since flags
  • Support upgrading KV bucket configurations for recent design changes using nats kv upgrade BUCKET
  • Add nats cheat stream and nats cheat consumer
  • Various UX and wording improvements
  • nats bench can test using durable push consumers and now support benchmarking KV buckets
  • The backoff policy can now be disabled using --backoff none which will supress the interactive prompt

Bug Fixes

  • Stream edit had a few flags removed of items that was not editable

v0.0.29: Release 0.0.29

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

v0.0.28: Release 0.0.28

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

v0.0.26

Compare Source

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

v0.0.25

Compare Source

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

v0.0.24

Compare Source

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Feb 9, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: devbox.lock
Command failed: devbox install
Downloading the Nix installer... done.
 INFO nix-installer v0.38.1
�[2m�[33m`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...�[39m�[0m
Error: 
   0: Executing `nix-installer` as `root` via `sudo`
   1: ENOENT: No such file or directory

Location:
   src/cli/mod.rs:253

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Consider reporting this error using this URL: https://github.com/DeterminateSystems/nix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Executing+%60nix-installer%60+as+%60root%60+via+%60sudo%60%0A+++1%3A+ENOENT%3A+No+such+file+or+directory%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C0.38.1%7C%0A%7C**os**%7Clinux%7C%0A%7C**arch**%7Cx86_64%7C%0A
Error: run installer: exit status 1


@renovate renovate bot force-pushed the renovate/natscli-0.x branch 17 times, most recently from 1c3bc3d to 2084425 Compare February 17, 2025 19:01
@renovate renovate bot force-pushed the renovate/natscli-0.x branch 12 times, most recently from 781a273 to 501f565 Compare February 22, 2025 02:00
@renovate renovate bot force-pushed the renovate/natscli-0.x branch 12 times, most recently from d62aba9 to f9faf7c Compare March 1, 2025 01:59
@renovate renovate bot force-pushed the renovate/natscli-0.x branch from f9faf7c to e6c0013 Compare March 1, 2025 10:42
@MacroPower MacroPower force-pushed the main branch 16 times, most recently from be69c0f to 5627377 Compare March 16, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants