Skip to content

Release v1.3.0

Compare
Choose a tag to compare
@NATS-CI NATS-CI released this 30 Aug 15:23
eed4fbc

Changelog

Go Version

  • 1.11: Both release executables and Docker images are built with this Go release.

Added

  • Allow/Deny permissions (#725, #727). It is now possible to specify deny permissions
    for subjects. For instance:
authorization {
    myUserPerms = {
      publish = {
        allow = "*.*"
        deny = ["SYS.*", "bar.baz", "foo.*"]
      }
      subscribe = {
        allow = "foo.*"
        deny = "foo.baz"
      }
    }

    users = [
        {user: myUser, password: pwd, permissions: $myUserPerms}
    ]
}

means that user myUser is allowed to publish to subjects with 2 tokens (allow = "*.*") but not to subjects matching SYS.*, bar.baz or foo.*. It can subscribe to subjects matching foo.* but not foo.baz.

Improved

  • Scalability with high cardinality of subscriptions. Thanks to @gwik for the report (#726, #729)

Fixed

  • Unexpected Authorization Error during configuration reload (#270)

Complete Changes

v1.2.0...v1.3.0