Closed aricart closed 1 month ago
Looks ok, what about the potential breaking impact?
by itself nothing - the tags will be all lowercase on anything loaded. However, sloppy input on the cli will possibly create unexpected results.
After trying a couple of options settled on the change that JWT API uses are always case-sensitive as that can be telegraphed through the release notes. But for nsc
, added the flag --strict-tags
, which allows non-lowercased values for tag operations.
This will catch sloppy usages of the flag where values are not lowercase and request that the --strict-tags
option be specified. The other check is that the JWT will now report errors when trying to remove tags that are not present.
[CHANGE] Tags (--tag and --rm-tag) are now case-sensitive [FIX] describe accounts was not printing tags associated with the account
Fixes https://github.com/nats-io/nats-server/issues/5681