All Versions
11
Latest Version
Avg Release Cycle
52 days
Latest Release
1264 days ago

Changelog History
Page 1

  • v2.1.9 Changes

    November 02, 2020

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.14.10: Both release executables and Docker images are built with this Go release.

    ๐Ÿ›  Fixed

    • Possible panic if server receives a maliciously crafted JWT CVE-2020-26521 (#1624)
    • ๐Ÿ‘‰ User and claims activation revocation checks CVE-2020-26892 (#1632, #1635, #1645)
    • Panic on shutdown while accepting TLS client connections (6900905)
    • โž• Added defensive code for handling of Leafnode connections (d99d0eb)

    Complete Changes

    v2.1.8...v2.1.9

  • v2.1.8 Changes

    September 03, 2020

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.14.8: Both release executables and Docker images are built with this Go release.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow response permissions to work across accounts (#1487)
    • Race condition during implicit Gateway reconnection (#1412)
    • Possible stall on shutdown with leafnode setup. Thanks to @HeavyHorst for the report (#1414)
    • Possible removal of interest on queue subs with leaf nodes (#1424)
    • Unsubscribe may not be propagated through a leaf node (#1455)
    • LeafNode solicit failure race could leave conn registered (#1475)
    • Handling or real duplicate subscription (#1507)
    • ๐Ÿšฆ Log file size limit not honored after re-open signal (#1438)
    • ๐ŸŒฒ Connection name in log statement for some IPv6 addresses (#1506)
    • ๐Ÿ‘ Better support for distinguishedNameMatch in TLS Auth. Thanks to @nagukothapalli for the report (#1577)
    • Error when importing an account results in an error (#1578)

    Complete Changes

    v2.1.7...v2.1.8

  • v2.1.7 Changes

    May 14, 2020

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.13.10: Both release executables and Docker images are built with this Go release.

    โž• Added

    • Monitoring endpoints available via system services (#1362)
    • Configuration no_auth_user allows to refer to a configured user/account when no credentials are provided (#1363)
    • ๐Ÿ‘Œ Support to match domainComponent (DC) in RDNSequence with TLS authentication (#1386)
    • Configuration http_base_path for monitoring endpoints. Thanks to @guilherme-santos for the contribution (#1392)

    ๐Ÿ‘Œ Improved

    • โž• Added close reason in the connection close statement (#1348)

    ๐Ÿ›  Fixed

    • Switch gateways to interest-only mode for Leafnode accounts (#1327)
    • ๐Ÿ›  Leafnode loop detection fixes (#1331, #1338)
    • Service reply interest propagation in some Leafnode scenario (#1334)
    • Inconsistent subscription propagation behavior across accounts and Leafnodes (#1335)
    • Service across account and Leafnodes (#1337)
    • Service responses not delivered after Leafnode restart (#1345)
    • โšก๏ธ Update remote gateway URLs when node goes away in cluster (#1352)
    • ๐Ÿ‘ Monitoring endpoint /subsz support for accounts (#1377)
    • ๐Ÿ”ง Validate options on configuration reload (#1381)
    • Closed connection early in connect handshake may linger in the server (including monitoring /connz) (#1385)
    • ๐Ÿ”ง Account unnecessarily reloaded in some cases during configuration reload (#1387)
    • 0๏ธโƒฃ default_permissions was not applied to NKey users (#1391)

    Complete Changes

    v2.1.6...v2.1.7

  • v2.1.6 Changes

    March 31, 2020

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.13.9: Both release executables and Docker images are built with this Go release.

    โž• Added

    • ๐Ÿ”ง Ability to specify TLS configuration for the account resolver. Thanks to @JnMik for the report (#1272):

      resolver_tls { cert_file: ... key_file: ... ca_file: ... }

    • Client IP (client_ip) in the server's INFO sent to clients. Client libraries may expose that in the future (#1293)

    • 0๏ธโƒฃ Option trace_verbose and command line parameters -VV and -DVV to increase trace and debug verbosity. By default system account messages will not be traced unless this option is enabled (#1295)

    • Value of GOMAXPROCS in /varz monitoring output (#1304)

    • Option to include subscription details in monitoring endpoints /routez and /connz. For instance /connz?subs=detail will now return not only the subjects of the subscription, but the queue name (if applicable) and some other details (#1318)

    ๐Ÿ‘Œ Improved

    • ๐Ÿ”ง Recover from panics during configuration parsing and instead issue errors (#1274)
    • ๐Ÿ“œ Parse ping_interval as a duration. If not a duration, falls back to interpret as the number of seconds (#1281)
    • Error trace in case protocol exceeds the max control line value (#1286)
    • ๐ŸŒฒ TLS version 1.3 and cipher names in log/monitoring. Thanks to @burner-account for the report (#1316)

    โšก๏ธ Updated

    • ๐ŸŒฒ Include port on the "Connected leafnode" INF notice in the server log (#1303)
    • ๐Ÿ“ฆ Some dependencies. This covers the golang crypto package CVE. Note that the CVE mentions the ssh package, which NATS Server does not use, so it should not be affected. Thanks to @KauzClay for the contribution (#1320)

    ๐Ÿ›  Fixed

    • ๐Ÿšฆ Server did not exit after receiving the lame duck mode signal. This is a regression introduced in v2.1.2 (#1276)
    • ๐Ÿ”ง Use configured ping interval for clients that have not yet sent the CONNECT protocol. When the CONNECT protocol is received, a ping will be sent to the client in a short period of time to establish the initial TTL for this client (#1289)
    • ๐Ÿ”ง A configuration producing a warning causes -DV to be ignored (#1291)
    • Incorrect buffer reuse in case of partial connection write (#1298)
    • ๐Ÿ”ง Configuration reload of debug/trace option was not applied to existing clients (#1300)
    • Loop detection for LeafNodes (#1308)
    • ๐Ÿ”ง Use account resolver URL from the operator JWT if one is specified. Note that if one is explicitly configured with the "resolver" option, it will take precedence (#1318)

    Complete Changes

    v2.1.4...v2.1.6

  • v2.1.4 Changes

    January 30, 2020

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.13.7: Both release executables and Docker images are built with this Go release.

    โž• Added

    • ๐Ÿ”Š LogSizeLimit option to automatically rotate logs. Thanks to @xzzh999 for the report (#1202)

    โšก๏ธ Updated

    • Handling of slow consumer for non client connections (#1233)

    ๐Ÿ›  Fixed

    • Prevent "Account no-interest" for account that has service reply subscription (#1204)
    • Closing of Gateway or Route TLS connection may hang (#1209)
    • Messages to queue subscriptions are not distributed evenly. Thanks to @harrisa1 for the report (#1215)
    • ๐Ÿ‘ Allow multiple stream imports on the same subject (#1220)
    • ๐Ÿ”ง Do not check URL account resolver reachability on configuration reload (#1239)
    • More than expected switch to Interest-Only mode for given account (#1242)
    • Possible panic when handling bad subjects (#1249)
    • Display of connections IPv6 addresses (#1260)
    • LeafNode TLS issues with mixed IP/Hostnames. Thanks to @rbboulton for the report (#1261, #1264)
    • Fail and report if LeafNode attempt to connect to wrong listen port (#1265)

    Complete Changes

    v2.1.2...v2.1.4

  • v2.1.2 Changes

    November 18, 2019

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.12.13: Both release executables and Docker images are built with this Go release.

    โž• Added

    • QueueSubscribe permissions (#1143)
    • ๐Ÿ‘‰ Use of single/multiple users for authentication of Leafnodes (#1147, #1168)
    • ๐Ÿ‘ ~ support for Leafnode credentials (#1148)
    • ๐Ÿ‘ Account support in /connz (#1154)
    • ๐Ÿ”ง server_name configuration option to help better identify a server through /varz or system events (#1158, #1166)

    โšก๏ธ Updated

    • ๐Ÿ“š In monitor home page, the help link now points to the monitoring page in our new documentation website (#1169)
    • Handling of replies (including service replies) across Gateways (#1183, #1184, #1190, #1195)
    • ๐Ÿšฆ Server performs actual shutdown procedure (closing client connections, etc..) when signaled to exit (#1186)

    ๐Ÿ›  Fixed

    • Reject duplicate service import "to" subject (#1140)
    • ๐Ÿ String trim in function getting the process name on Windows. Thanks to @beautytiger for the contribution (#1157)
    • Panic when incorrectly using a wildcard for a stream import prefix. Thanks to @lucj for the report (#1160)
    • Explicit gateway not using discovered URLs (#1165)
    • Leafnode loop detection (#1170, #1172)
    • Prevent server from sending a PING to measure RTT until the client has finished the connect process (#1175)
    • ๐Ÿšค Requestor RTT was often reported as 0 when tracking latency (#1179)
    • Leaking of service imports and subscriptions on routes (#1185)
    • Possible panic when processing route subscription interest (#1189)
    • Some account locking issues and race that could cause clients to not receive messages (#1191)
    • Server was fetching unknown account when tracking remote connections (#1192)
    • โšก๏ธ Handling of missing account when processing a remote latency update (#1194)
    • Ability to daisy chain Leafnode servers (#1196)
    • Handling of split buffers for Leafnodes. Thanks to Bfox for the report (#1198, #1199)

    Complete Changes

    v2.1.0...v2.1.2

  • v2.1.0 Changes

    September 20, 2019

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.12.9: Both release executables and Docker images are built with this Go release.

    โž• Added

    • RTT in /routez details (#1101)
    • ๐Ÿ†• New /leafz monitoring endpoint (#1108)
    • ๐Ÿšค Latency tracking for exported services (BETA) (#1111, #1112, #1122, #1125, #1130, #1132, #1136, #1137)
    • System level services for debugging (BETA). Exported services to the system account for debugging of blackbox systems. Ability to get the number fo subscribers for a given subject and optionally queue group (#1127)

    ๐Ÿ›  Fixed

    • โœ๏ธ Some typos in code. Thanks to @beautytiger for the contribution (#1105)
    • Some Leafnode issues (#1106)
    • Issue when there is a circular dependency in account server import (#1119)
    • ๐Ÿ”ง MaxPending configured to more than 2GB. Thanks to @cv711 for the report (#1121)
    • โšก๏ธ Some internal locking issues related to accounts lookup and updates (#1126, #1131)
    • โœ… Ability to pass to the command line -cluster nets://<host>:-1 for a random port, which is used in some NATS libraries for testing. This was broken due to changes in Golang (#1128)
    • 0๏ธโƒฃ Ensure server uses default if ResponsesPermissions's values are set to 0 (#1135)

    ๐Ÿ‘Œ Improved

    Complete Changes

    v2.0.4...v2.1.0

  • v2.0.4 Changes

    August 15, 2019

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.12.8: Both release executables and Docker images are built with this Go release.

    โž• Added

    • ๐Ÿš€ Use of GoReleaser. Thanks to @caarlos0 for this tool! (#1095)
    • ๐Ÿ“ฆ Deb and RPM packages (#1095)
    • Publish permissions based on reply subjects of received messages (#1081)
    • ๐Ÿ‘Œ Support for user and activation token revocation (#1086)
    • Leafnode connections to /varz (#1088)
    • Ability to cross account import services to return streams as well as singletons (#1090)
    • ๐Ÿ‘Œ Support for service response types (#1091, #1093)

    ๐Ÿ›  Fixed

    • Leafnode user JWT with signer fails to authenticate (#1078)
    • Leaked subscriptions from queue group across routes. Thanks to @ripienaar for the report (#1079)
    • Shadow subscriptions can be leaked on stream import and connection close (#1090)
    • Connection could be closed twice resulting in duplicate reconnect mainly affecting Gateways and Leafnodes (#1092)
    • โœ๏ธ Some typos in code. Thanks to @ethan-daocloud for the contribution (#1098)

    ๐Ÿ‘Œ Improved

    • โฌ‡๏ธ Reduce memory usage on routes. Thanks to @ripienaar for the report (#1087)

    Complete Changes

    v2.0.2...v2.0.4

  • v2.0.2 Changes

    July 15, 2019

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.11.12: Both release executables and Docker images are built with this Go release.

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Default TLS Timeout bumped to 2 seconds (as opposed to 0.5s) (#1042)

    โž• Added

    • ๐Ÿ‘Œ Support to extend leafnodes remote TLS timeout (#1042)
    • ๐Ÿ‘ Allow operator to be inline JWT (#1045)
    • Made ReadOperatorJWT public for embedded use cases. Thanks to @ripienaar for the report (#1052)
    • Ability to disable sublist cache globally for all accounts. Thanks to @azrle for the report (#1055)
    • ๐Ÿ›ฐ Ability to set a limit to the trace of the payload of a message. Thanks to @andyxning for the contribution (#1057)

    ๐Ÿ‘Œ Improved

    • โž• Add default port (7422) for Leafnode remote connections (#1049)
    • โฌ‡๏ธ Reduce server PINGs when data is flowing (#1048)
    • ๐Ÿ‘ Allow remotes leafnode to specify an array of URLs. Thanks to @ripienaar for the report (#1069)

    ๐Ÿ›  Fixed

    • Messages not distributed evenly when sourced from leafnode (#1040)
    • Help link in top level monitoring (#1043)
    • ๐Ÿ”’ Check of max payload could be bypassed if size overruns an int 32. Note that the client would first have to be authorized to connect. This fix is for CVE-2019-13126. Thanks to Aviv Sasson and Ariel Zelivansky from Twistlock for the security report (#1053)
    • โšก๏ธ Sending to client libraries an updated MaxPayload through INFO protocol when a bound account's MaxPayload is not the same as the server the client is connected to (#1059)
    • Routing of responses across leafnodes (#1060)
    • Subscriptions were not propagated correctly upon new leafnode joining the network. Thanks to @antmanler for the report and fix! (#1067)
    • Prevent multiple solicited leafnodes from forming cycles. Thanks to @ripienaar for the report (#1070)
    • Report possible error starting the monitoring port. Thanks to @andyxning for the contribution (#1064)
    • ๐Ÿ‘ Allow use of insecure for remote leafnode and gateways again. Thanks to @ripienaar for the report (#1071, #1073)
    • Report authorization error and use TLS hostname for IPs on leafnodes (#1072)
    • Leafnode URLs may be missing in INFO protocol sent to Leafnodes connections (#1074)
    • Server now read pending data on closed connection to be able to report error (for instance in case of an authorization error sent by remote server) (#1075)

    Complete Changes

    v2.0.0...v2.0.2

  • v2.0.0 Changes

    June 05, 2019

    ๐Ÿ”„ Changelog

    Go Version

    • ๐Ÿš€ 1.11.10: Both release executables and Docker images are built with this Go release.

    Backward incompatibility

    • ๐Ÿ‘ The routing protocol has been dramatically improved and adds support for accounts and multi-tenancy. The new protocol is not backward compatible with servers <2.0.0.
    • For users embedding NATS Server and using Varz() to get server statistics should be aware of some changes described in #989

    ๐Ÿ”„ Changed

    • Repository and server name have changed: gnatsd becomes nats-server (#985)
    • With go.mod, users embedding NATS Server should change their import path to include /v2. For instance:

      import (

      natsd "github.com/nats-io/nats-server/v2/server" 
      

      )

    • ๐Ÿšš Cluster permissions moved out of cluster's authorization section (#747)

    • ๐Ÿšš The utility mkpasswd.go file was moved to its own directory util/mkpasswd to enable go get to install this tool (#996)

    โž• Added

    • ๐Ÿ‘ NKey support (#743)
    • ๐Ÿ‘ Accounts support (#755)
    • ๐Ÿ‘ JWT Support (#804)
    • Gateways (#808)
    • Leaf Nodes (#928)
    • System events (#823)
    • ๐Ÿ‘Œ Support of TLS certificate subject for users authentication (#896, #909)
    • ๐Ÿ‘Œ Support of SANs in TLS certificate for user permissions. Thanks to @twrobel3 for the report (#966)
    • Ability to disable TLS server name verification for routes. Thanks to @softkot for the contribution (#921)
    • Ability to explicitly set server name for TLS in Gateways. Thanks to @danielsdeleo for the contribution (#922)
    • ๐Ÿ”ง Configuration check with -t command line parameter (#745)
    • ๐Ÿ‘Œ Support for route permissions configuration reload (#753)
    • Lame duck mode (#780)
    • ๐Ÿ‘Œ Support for path as argument to --signal. Thanks to @pires for the contribution (#838)
    • ๐Ÿ”ฆ Expose connection remote address in ClientAuthentication. Thanks to @ripienaar for the contribution (#837)
    • ntp.service dependency to the systemd service file. Thanks to @andyxning for the contribution (#880)
    • ๐Ÿ”ง Configuration parameter to select the frequency at which failed route, gateways and leaf nodes connections are reported. Thanks to @santo74 for the feedback (#1000, #1001)
    • List or route URLs in cluster{} from /varz endpoint (#1012)
    • ๐Ÿ”ง Ability to ignore top-level unknown configuration field (#1024)

    ๐Ÿ‘Œ Improved

    • ๐Ÿ†• New route protocol (#786)
    • Fan in/out scenarios (#876)
    • Various optimizations (#897)
    • Utility mkpasswd's help output. Thanks to @andyxning for the contribution (#881)
    • You can now have unquoted strings that start with number (#893)
    • ๐Ÿ‘‰ Use of https for README's links. Thanks to @huynq0911 for the contribution (#914)
    • ๐Ÿ”ง Warning on plaintext password in configuration and redact them from log statements (#743, #776)

    ๐Ÿ›  Fixed

    • Misleading "Slow Consumer" error message during a TLS Handshake (#836)
    • Report "Slow Consumer" only for clients that do complete the connect process (#861)
    • ๐Ÿ”ง Configuration reload of boolean flags. Thanks to @sazo for the report (#879)
    • ๐Ÿ”ง Runaway process when parsing a configuration file with missing a } or ) (#887)
    • ๐Ÿ›ฐ Don't allow overruns for message payloads. Thanks to @valichek for the report (#889)
    • Possible delays in delivering messages (#895)
    • Possible slow consumer when routes exchange their subscriptions list (#912)
    • ๐Ÿ“œ Protocol Parser type safety. Thanks to @nmiculinic for the contribution (#908)
    • ๐Ÿ”ง Use of custom authentication with configuration reload. Thanks to @Will2817 for the report (#924)
    • ๐Ÿ Issue with utility mkpasswd on Windows platform. Thanks to @Ryner51 for the report (#935)
    • โœ๏ธ Some typos. Thanks to @huynq0911, @JensRantil for their contributions.
    • ๐Ÿ”„ Changes to Varz content and fixed race conditions (#989)

    Complete Changes

    v1.4.1...v2.0.0