Skip to content

Releases: nats-io/nsc

v2.8.3

06 Nov 16:34
dc5966c
Compare
Choose a tag to compare

What's Changed

  • Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 by @dependabot in #622
  • Bump github.com/nats-io/nats-server/v2 from 2.10.0 to 2.10.4 by @dependabot in #621
  • [FEAT] account resolver configurations with protocol wss/ws are now accepted by @aricart in #619

Full Changelog: v2.8.2...v2.8.3

v2.8.2

06 Nov 16:26
f84de22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.8.1...v2.8.2

v2.8.1

18 Sep 16:33
d150ead
Compare
Choose a tag to compare

What's Changed

  • [FIX] importing of user jwt files regardless of whether they are decorated or not by @aricart in #572
  • [FIX] example for 'generete context' command by @boris-ilijic in #573
  • [FEAT] allow auth callout configuration to generate for any account by @aricart in #574
  • [FIX] panics related to uninitialized environment by @aricart in #583
  • [FEAT] Add vcsinfo to binary by @wallyqs in #576
  • [FIX] fixed import key --recurse flag name shown in the example - was listed as --recursive by @aricart in #587
  • [FIX] YAML Enginering: quote go-version string by @philpennock in #593
  • [FIX] clarified check added to edits of the system account which prevented editing due to JetStream default values in the flag - added a flag that sets the values for the jetstream setting (--js-disable) which sets the values to 0 by @aricart in #591
  • [FIX] Generating of description for entities in combination of json and write to file. by @Drakorgaur in #595
  • [TEST] added tests for #595 by @aricart in #596
  • [TEST] Fixed env tests checking for --all-dirs flag by @aricart in #592
  • [BUMP] updated JWT library to v2.5.0 by @aricart in #599
  • [REPO] Add issue forms by @bruth in #600
  • [REPO] Fix issue config discussions link by @bruth in #601
  • [FIX] include account token position when describing exports by @brianmcgee in #598
  • [FEAT] expose generate profile, this command is used by nats cli, but may be useful to others by @aricart in #603
  • [FIX] the --expiry and --start flags had a default value of 0, which meant no expiration - this would cause any previous values to be removed when setting other values on the JWT @aricart in #604
  • [CI] bumped go to 1.21.x by @aricart in #605
  • [CI] bumped jwt to 2.5.2 by @aricart in #606

New Contributors

Full Changelog: v2.8.0...v2.8.1

v2.8.0

16 Mar 22:15
v2.8.0
59e5bb1
Compare
Choose a tag to compare

Changelog

  • 59e5bb1 bump dependencies
  • d95a59f unbreak release tooling, versions bump
  • e677cb4 Get jwt library v1 out of the nsc binary
  • e856cdc [FIX] added optional timeout for nats-resolver based operations (#561)
  • dbb356b [FIX] default go marshaller encodes HTML entities - changed so that when describe is outputting JSON to the console, to not do so (#560)
  • 472fec7 [FIX] reissue help didn't show available operator command (#562)
  • ec675a8 Set initial context of generate profile to the provided nsc url (#556)
  • 98bd52f review comments
  • fc79634 review comments
  • 4ac8de0 [FIX] entity names using a path separator are parsed as a path, which then writes them to the wrong location in the store - this fix generates an error if for such names
  • 679b4d7 correct nats-box docker image in readme
  • e35e6fb [TEST] cleanup tests, delete artifacts after test (#553)
  • 861c20d [FEAT] generate a nats-cli context file for a specified user (#557)
  • 243e79d [FIX] imports with the same name from different accounts get confused when using interactive mode - the cli ui is comparing strings and returns the last one match rather than the one at the current selection. The fix simply adds the src account name which disambiguates the entry (#555)
  • 339779d [FEAT] added --all-dirs option to store config, data, keys under the same directory - this is useful for generating test configurations (#552)
  • 376f566 [FIX] added --include-jwtws option to make it easy to export not only the keys, but also the configurations in the current operator tree. Paired with nsc fix you can recreate/mode an nsc environment. (#551)
  • 1c9821d [FIX] use of env NSC_CWD_ONLY - this is still somewhat experimental and requires manual testing (#550)
  • 43bc4fb Bump golang.org/x/net from 0.6.0 to 0.7.0 (#549)
  • 7663ae1 [TEST] added a test verifying user creation from two accounts that share the same signing key (#547)
  • b81517f Correct readme chmod to chown reference (#524)
  • a63f88d Update describejwt.go (#539)
  • 332feff correctly resolve signer key in add user interactive (#541)
  • 9f1f65c [FIX] prevented an NPE when auth callout key was provided empty or non nkey value (#542)
  • f191520 Merge pull request #540 from nats-io/select
  • d5cdf93 use testify's require instead of assert
  • 5e56478 fix tests
  • f437254 add select command
  • 104f08e set default output to help (#537)
  • 21b2181 [FEAT] added --curve, --rm-curve key options to authcallout command (#528)

v2.7.8

01 Mar 23:56
v2.7.8
Compare
Choose a tag to compare

Fixed

  • Fixed dependency issue with nats-io/jwt library that resulted in false positive security vulnerability #535

Changelog

  • b282323 unbreak release tooling, versions bump
  • 8dd07db bump all golang.org/x dependencies (#566)
  • e7412d6 Merge backport of JWTv1 accidental import fix
  • b0d71ca Get jwt library v1 out of the nsc binary

v2.7.6

15 Dec 18:22
v2.7.6
31b7fba
Compare
Choose a tag to compare

This the same release as 2.7.5 but it is updated to use Go modules versioning. To install via Go tooling, now /v2 path as to be specified:

go install github.com/nats-io/nsc/v2@latest

Changelog

  • 31b7fba Merge pull request #534 from nats-io/release/v2.7.6
  • e0333d7 Update goreleaser version
  • 45f67cc Switch module to v2 properly

2.7.5

06 Dec 22:31
35db940
Compare
Choose a tag to compare

What's Changed

  • [FIX] nsc edit operator --sk generate generated extra nkeys which were discarded but stored in the keystore @JulienVdG in #512
  • [TEST] added test for PR #512 by @aricart in #520
  • [FIX] status message when payload incorrectly said that "imports" were updated by @bruth in #526
  • [FIX] Prevented tiered limits validation from blocking legitimate updates by @codegangsta in #527

New Contributors

Full Changelog: 2.7.4...2.7.5

2.7.4

11 Nov 14:09
c8e0486
Compare
Choose a tag to compare

What's Changed

  • [FEAT] stream limits and tiered limits support by @aricart in #517
  • [FIX]: nsc generate profile: use operator from URL by @philpennock in #518
  • [FIX] all staticcheck complaints by @philpennock in #519
  • [FIX] when parsing start/expiry expressions the value must be integral by @aricart in #509

Full Changelog: 2.7.3...2.7.4

2.7.3

10 Oct 13:22
8ec586c
Compare
Choose a tag to compare

Changelog

  • 8ec586c Remove vendored deps (#516)
  • 71b0d9e fix: upgrade packages to fix sec vuln (#514)
  • 9b79e43 Remove shadowing of error in keypair lookup (#515)
  • 3c1adad Added custom flag for handling the version for the command, sporting a short v. (#511)

2.7.2

17 Aug 20:22
bbb0305
Compare
Choose a tag to compare

2.7.2

Changelog

  • 8f690c2 [FIX] nsc edit signing-key will now accept a secret key, a public key, or a file path in the --sk argument #503
  • 8f83b7e [FIX} editing a scoped signing key will now attempt to resolve it from a secret key, a public key, or a file path.
  • 69c6807 [FIX] commands were not always respecting the new directory flags (--config-dir, --data-dir, --keystore-dir) #502
  • 5cd8435 [FIX] set the StoreRoot if --data-dir is set
  • a9f006e [FIX] clarified output messages when editing a user to clearly show the final state of the bearer option (#501)
  • 51ac123 [FIX] nsc tool pub/sub/reply will now report NATS permission errors (#500)
  • 6850cb0 [FIX] When importing account JWTs the file reading was not accounting for possible decorations that the JWT may have and thus reported an invalid JWT error. The fix also addresses filepath expansions etc. (#499)
  • e70a462 [FEAT] added support for account option --disallow-bearer (#495)
  • c4150b0 [FIX] nsc tool pub added a validation check on the user context params which will reject when user cannot be deduced (#496)
  • 9dfa681 [FIX] nsc add user printed double 'pub' in message about --allow-pub, and didn't print message about --deny-sub (#494)
  • d5b230a [CI] Merge pull request #490 from nats-io/brew-as-artifact
  • d310e9a [CI] Don't ask GitHub Actions to upload brew formula
  • 0416bc0 [CI] Merge branch 'fix-goreleaser-brew-versions'
  • ab66c39 [CI] Lock goreleaser version, adjust name templates; license
  • 7653654 [CI] releng: remove: ssh; signing keys from disappearing disk
  • bbb0305 Update other dependencies (#507)
  • e97c443 Update nats-io dependencies (#506)