From 70c7e4c6c685fb87ec285c288aa02b3ba01c3b3e Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Mon, 2 Nov 2020 09:26:18 -0700 Subject: [PATCH] Release v2.1.9 This is based on branch_2_1_x and includes the following fixes: - Possible panic if server receives a maliciously crafted JWT. - User and claims activation revocation checks. - Panic on shutdown while accepting TLS client connections. - Added defensive code for handling of Leafnode connections. Signed-off-by: Ivan Kozlovic --- .goreleaser.yml | 7 +++++++ README.md | 8 ++++---- server/const.go | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index fc9fad12..8ce80fe9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -52,6 +52,13 @@ archives: files: - README.md - LICENSE + - name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}' + id: targz-archives + wrap_in_directory: true + format: tar.gz + files: + - README.md + - LICENSE checksum: name_template: 'SHA256SUMS' diff --git a/README.md b/README.md index 3619ae73..f7f91d5f 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ If you are interested in contributing to NATS, read about our... [License-Image]: https://img.shields.io/badge/License-Apache2-blue.svg [Fossa-Url]: https://app.fossa.io/projects/git%2Bgithub.com%2Fnats-io%2Fgnatsd?ref=badge_shield [Fossa-Image]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnats-io%2Fgnatsd.svg?type=shield -[Build-Status-Url]: https://travis-ci.org/nats-io/nats-server -[Build-Status-Image]: https://travis-ci.org/nats-io/nats-server.svg?branch=master -[Release-Url]: https://github.com/nats-io/nats-server/releases/tag/v2.1.8 -[Release-image]: https://img.shields.io/badge/release-v2.1.8-1eb0fc.svg +[Build-Status-Url]: https://travis-ci.com/github/nats-io/nats-server +[Build-Status-Image]: https://travis-ci.com/nats-io/nats-server.svg?branch=master +[Release-Url]: https://github.com/nats-io/nats-server/releases/tag/v2.1.9 +[Release-image]: https://img.shields.io/badge/release-v2.1.9-1eb0fc.svg [Coverage-Url]: https://coveralls.io/r/nats-io/nats-server?branch=master [Coverage-image]: https://coveralls.io/repos/github/nats-io/nats-server/badge.svg?branch=master [ReportCard-Url]: https://goreportcard.com/report/nats-io/nats-server diff --git a/server/const.go b/server/const.go index cc5a24d8..cc6feda5 100644 --- a/server/const.go +++ b/server/const.go @@ -40,7 +40,7 @@ var ( const ( // VERSION is the current version for the server. - VERSION = "2.1.8" + VERSION = "2.1.9" // PROTO is the currently supported protocol. // 0 was the original