Merge pull request #463 from pusher/release-5.1.0
Update Changelog for Release 5.1.0
This commit is contained in:
		
						commit
						4cdedc8f50
					
				|  | @ -1,10 +1,9 @@ | ||||||
| language: go | language: go | ||||||
| go: | go: | ||||||
|   - 1.13.x |  | ||||||
|   - 1.14.x |   - 1.14.x | ||||||
| install: | install: | ||||||
|   # Fetch dependencies |   # Fetch dependencies | ||||||
|   - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.23.6 |   - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.24.0 | ||||||
|   - GO111MODULE=on go mod download |   - GO111MODULE=on go mod download | ||||||
| script: | script: | ||||||
|   - ./configure && make test |   - ./configure && make test | ||||||
|  |  | ||||||
							
								
								
									
										15
									
								
								CHANGELOG.md
								
								
								
								
							
							
						
						
									
										15
									
								
								CHANGELOG.md
								
								
								
								
							|  | @ -2,10 +2,25 @@ | ||||||
| 
 | 
 | ||||||
| ## Release Hightlights | ## Release Hightlights | ||||||
| 
 | 
 | ||||||
|  | ## Important Notes | ||||||
|  | 
 | ||||||
|  | ## Breaking Changes | ||||||
|  | 
 | ||||||
|  | ## Changes since v5.1.0 | ||||||
|  | 
 | ||||||
|  | # v5.1.0 | ||||||
|  | 
 | ||||||
|  | ## Release Hightlights | ||||||
|  | - Bump to Go 1.14 | ||||||
|  | - Reduced number of Google API requests for group validation | ||||||
|  | - Support for Redis Cluster | ||||||
|  | - Support for overriding hosts in hosts file | ||||||
|  | 
 | ||||||
| ## Important Notes | ## Important Notes | ||||||
| - [#335] The session expiry for the OIDC provider is now taken from the Token Response (expires_in) rather than from the id_token (exp) | - [#335] The session expiry for the OIDC provider is now taken from the Token Response (expires_in) rather than from the id_token (exp) | ||||||
| 
 | 
 | ||||||
| ## Breaking Changes | ## Breaking Changes | ||||||
|  | N/A | ||||||
| 
 | 
 | ||||||
| ## Changes since v5.0.0 | ## Changes since v5.0.0 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| FROM golang:1.14-buster AS builder | FROM golang:1.14-buster AS builder | ||||||
| 
 | 
 | ||||||
| # Download tools | # Download tools | ||||||
| RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6 | RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0 | ||||||
| 
 | 
 | ||||||
| # Copy sources | # Copy sources | ||||||
| WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| FROM golang:1.14-buster AS builder | FROM golang:1.14-buster AS builder | ||||||
| 
 | 
 | ||||||
| # Download tools | # Download tools | ||||||
| RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6 | RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0 | ||||||
| 
 | 
 | ||||||
| # Copy sources | # Copy sources | ||||||
| WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| FROM golang:1.14-buster AS builder | FROM golang:1.14-buster AS builder | ||||||
| 
 | 
 | ||||||
| # Download tools | # Download tools | ||||||
| RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6 | RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0 | ||||||
| 
 | 
 | ||||||
| # Copy sources | # Copy sources | ||||||
| WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | WORKDIR $GOPATH/src/github.com/pusher/oauth2_proxy | ||||||
|  |  | ||||||
|  | @ -81,7 +81,7 @@ check_for() { | ||||||
| check_go_version() { | check_go_version() { | ||||||
|   echo -n "Checking go version... " |   echo -n "Checking go version... " | ||||||
|   GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') |   GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') | ||||||
|   vercomp $GO_VERSION 1.12 |   vercomp $GO_VERSION 1.14 | ||||||
|   case $? in |   case $? in | ||||||
|     0) ;& |     0) ;& | ||||||
|     1) |     1) | ||||||
|  | @ -91,7 +91,7 @@ check_go_version() { | ||||||
|       ;; |       ;; | ||||||
|     2) |     2) | ||||||
|       printf "${RED}" |       printf "${RED}" | ||||||
|       echo "$GO_VERSION < 1.12" |       echo "$GO_VERSION < 1.14" | ||||||
|       exit 1 |       exit 1 | ||||||
|       ;; |       ;; | ||||||
|   esac |   esac | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								dist.sh
								
								
								
								
							
							
						
						
									
										6
									
								
								dist.sh
								
								
								
								
							|  | @ -7,10 +7,10 @@ if [[ -z ${BINARY} ]] || [[ -z ${VERSION} ]]; then | ||||||
| 	exit 1 | 	exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # Check for Go version 1.13.* | # Check for Go version 1.14.* | ||||||
| GO_VERSION=$(go version | awk '{print $3}') | GO_VERSION=$(go version | awk '{print $3}') | ||||||
| if [[ ! "${GO_VERSION}" =~ ^go1.13.* ]]; then | if [[ ! "${GO_VERSION}" =~ ^go1.14.* ]]; then | ||||||
| 	echo "Go version must be >= go1.13" | 	echo "Go version must be >= go1.14" | ||||||
| 	exit 1 | 	exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue