git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #463 from pusher/release-5.1.0

Update Changelog for Release 5.1.0

commit4cdedc8f50aeae16777c7852f35b8b16756012a7 authorJoel Speed <Joel.speed@hotmail.co.uk> dateSun 29 Mar 2020, 13:41 (7 years ago) parent362cdf79dcd825
8 files changed+27−13
.travis.yml+1−2 CHANGELOG.md+15 Dockerfile+1−1 Dockerfile.arm64+1−1 Dockerfile.armv6+1−1 configure+4−4 dist.sh+3−3 go.mod+1−1
.travis.yml+1−2
@@ -1,10 +1,9 @@
11language: go
22go:
3− - 1.13.x
43 - 1.14.x
54install:
65 # Fetch dependencies
7− - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.23.6
6+ - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.24.0
87 - GO111MODULE=on go mod download
98script:
109 - ./configure && make test
CHANGELOG.md+15
@@ -2,10 +2,25 @@
22
33## Release Hightlights
44
5+## Important Notes
6+
7+## Breaking Changes
8+
9+## Changes since v5.1.0
10+
11+# v5.1.0
12+
13+## Release Hightlights
14+- Bump to Go 1.14
15+- Reduced number of Google API requests for group validation
16+- Support for Redis Cluster
17+- Support for overriding hosts in hosts file
18+
519## Important Notes
620- [#335] The session expiry for the OIDC provider is now taken from the Token Response (expires_in) rather than from the id_token (exp)
721
822## Breaking Changes
23+N/A
924
1025## Changes since v5.0.0
1126
Dockerfile+1−1
@@ -1,7 +1,7 @@
11FROM golang:1.14-buster AS builder
22
33# Download tools
4−RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6
4+RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
55
66# Copy sources
77WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
Dockerfile.arm64+1−1
@@ -1,7 +1,7 @@
11FROM golang:1.14-buster AS builder
22
33# Download tools
4−RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6
4+RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
55
66# Copy sources
77WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
Dockerfile.armv6+1−1
@@ -1,7 +1,7 @@
11FROM golang:1.14-buster AS builder
22
33# Download tools
4−RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6
4+RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
55
66# Copy sources
77WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy
configure+4−4
@@ -5,8 +5,8 @@ GREEN='\033[0;32m'
55BLUE='\033[0;34m'
66NC='\033[0m'
77
8−if [ -z "${BASH_VERSINFO}" ] || [ -z "${BASH_VERSINFO[0]}" ] || [ ${BASH_VERSINFO[0]} -lt 4 ]; then
9− echo "This script requires Bash version >= 4"; exit 1;
8+if [ -z "${BASH_VERSINFO}" ] || [ -z "${BASH_VERSINFO[0]}" ] || [ ${BASH_VERSINFO[0]} -lt 4 ]; then
9+ echo "This script requires Bash version >= 4"; exit 1;
1010fi
1111
1212declare -A tools=()
@@ -81,7 +81,7 @@ check_for() {
8181check_go_version() {
8282 echo -n "Checking go version... "
8383 GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}')
84− vercomp $GO_VERSION 1.12
84+ vercomp $GO_VERSION 1.14
8585 case $? in
8686 0) ;&
8787 1)
@@ -91,7 +91,7 @@ check_go_version() {
9191 ;;
9292 2)
9393 printf "${RED}"
94− echo "$GO_VERSION < 1.12"
94+ echo "$GO_VERSION < 1.14"
9595 exit 1
9696 ;;
9797 esac
dist.sh+3−3
@@ -7,10 +7,10 @@ if [[ -z ${BINARY} ]] || [[ -z ${VERSION} ]]; then
77 exit 1
88fi
99
10−# Check for Go version 1.13.*
10+# Check for Go version 1.14.*
1111GO_VERSION=$(go version | awk '{print $3}')
12−if [[ ! "${GO_VERSION}" =~ ^go1.13.* ]]; then
13− echo "Go version must be >= go1.13"
12+if [[ ! "${GO_VERSION}" =~ ^go1.14.* ]]; then
13+ echo "Go version must be >= go1.14"
1414 exit 1
1515fi
1616
go.mod+1−1
@@ -1,6 +1,6 @@
11module github.com/pusher/oauth2_proxy
22
3−go 1.13
3+go 1.14
44
55require (
66 github.com/BurntSushi/toml v0.3.1