Skip to content

v2.9.0

Latest
Compare
Choose a tag to compare
@aricart aricart released this 17 Sep 20:35
bf6d4a9

What's Changed

This release of nsc changes the behavior of tags to be case-sensitive. Previously any tag operations transformed its arguments to lower-case before they were applied. Because tags are now case-sensitive, tags like hello and Hello are two distinct tags. To prevent unintended changes, this release checks if a tag's value is different when lowercased. If it is, nsc will reject the edit and suggest that the new option --strict-tags be specified. This option opts-in the case-sensitive behavior. In addition, removing a tag that is not present in the configuration will fail with an error. This should bring to focus if there's an inconsistency in the tag's capitalization.

So why this change? This change was required to address nats-io/nats-server#5681 which references powerful functionality that is possible with scoped signing keys while building permission.

  • [FIX] describe account now lists tags associated with the account by @aricart in #668
  • [CHANGE] tags (edit operator|account|user) are now case-sensitive ) by @aricart in #668

Full Changelog: v2.8.9...v2.9.0