git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge branch 'master' into advisory-fix-1
commit8c765779b58db9d6b04848d96e55f5440346c4bd authorDavid Stark <david.stark@pusher.com> dateWed 29 Jan 2020, 12:24 (7 years ago) parent0198dd6fc59a6d
2 files changed+22−3
CHANGELOG.md+20−1 dist.sh+2−2
CHANGELOG.md+20−1
@@ -1,16 +1,35 @@
11# Vx.x.x (Pre-release)
22
3+## Release Hightlights
4+
35## Important Notes
46
57## Breaking Changes
68
9+## Changes since v5.0.0
10+
11+# v5.0.0
12+
13+## Release Hightlights
14+- Disabled CGO (binaries will work regardless og glibc/musl)
15+- Allow whitelisted redirect ports
16+- Nextcloud provider support added
17+- DigitalOcean provider support added
18+
19+## Important Notes
20+N/A
21+
22+## Breaking Changes
23+
724- [#321](https://github.com/pusher/oauth2_proxy/pull/331) Add reverse proxy boolean flag to control whether headers like `X-Real-Ip` are accepted.
825 This defaults to false. **Usage behind a reverse proxy will require this flag to be set to avoid logging the reverse proxy IP address**.
926
1027## Changes since v4.1.0
1128
29+- [#331](https://github.com/pusher/oauth2_proxy/pull/331) Add reverse proxy setting (@martin-css)
30+- [#365](https://github.com/pusher/oauth2_proxy/pull/365) Build with CGO=0 (@tomelliff)
1231- [#339](https://github.com/pusher/oauth2_proxy/pull/339) Add configuration for cookie 'SameSite' value. (@pgroudas)
13−- [#347](https://github.com/pusher/oauth2_proxy/pull/347) Update keycloak provider configuration documentation
32+- [#347](https://github.com/pusher/oauth2_proxy/pull/347) Update keycloak provider configuration documentation. (@sushiMix)
1433- [#325](https://github.com/pusher/oauth2_proxy/pull/325) dist.sh: use sha256sum (@syscll)
1534- [#179](https://github.com/pusher/oauth2_proxy/pull/179) Add Nextcloud provider (@Ramblurr)
1635- [#280](https://github.com/pusher/oauth2_proxy/pull/280) whitelisted redirect domains: add support for whitelisting specific ports or allowing wildcard ports (@kamaln7)
dist.sh+2−2
@@ -27,10 +27,10 @@ for ARCH in "${ARCHS[@]}"; do
2727
2828 # Create architecture specific binaries
2929 if [[ ${GO_ARCH} == "armv6" ]]; then
30− GO111MODULE=on GOOS=${GO_OS} GOARCH=arm GOARM=6 go build -ldflags="-X main.VERSION=${VERSION}" \
30+ GO111MODULE=on GOOS=${GO_OS} GOARCH=arm GOARM=6 CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
3131 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
3232 else
33− GO111MODULE=on GOOS=${GO_OS} GOARCH=${GO_ARCH} go build -ldflags="-X main.VERSION=${VERSION}" \
33+ GO111MODULE=on GOOS=${GO_OS} GOARCH=${GO_ARCH} CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
3434 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
3535 fi
3636