oauth2-proxy/pkg/apis/options
Edward Viaene abb0a35bf3
feat: bump to go1.24.5 and full dependency update (#3116)
* upgrade to go1.24.5

dependency updates

lint fixes

chore(deps): upgrade github.com/spf13/viper to v1.20.1

Note that this upgrade also implied to upgrade github.com/mitchellh/mapstructure
(nowadays unmaintained: https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc)
to github.com/go-viper/mapstructure/v2.

fix: adapt tests to match mapstructure v2 error messages

pkg/apis/options/load_test.go: skip tests on Go 1.23

Add a compile guard for Go < 1.24 for the pkg/apis/options/load_test.go
because the LoadYAML test depends on error messages produced by
encoding/json that changed slightly (names of embedded structs are now
reported). As we updated the test for go1.24, the test now fails on
1.23, but just for a slight difference, so we disable the test there.

fix: adapt tests to match mapstructure v2 error messages

remove pre 1.24 disclaimer

add changelog entry

Signed-off-by: Jan Larwig <jan@larwig.com>

Co-Authored-By: Olivier Mengué <dolmen@cpan.org>

* add exclusion for 'avoid meaningless package names' in .golangci.yml

* chore(dep): upgrade all dependencies

Signed-off-by: Jan Larwig <jan@larwig.com>

---------

Signed-off-by: Jan Larwig <jan@larwig.com>
Co-authored-by: Olivier Mengué <dolmen@cpan.org>
Co-authored-by: Jan Larwig <jan@larwig.com>
2025-07-13 21:55:57 +02:00
..
testutil chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
util chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
alpha_options.go docs: clear up multiple-providers is unimplemented (#3046) 2025-04-28 23:52:27 +02:00
app.go Allow specifying URL as input for custom sign in logo (#1330) 2021-09-05 09:23:22 -07:00
common.go Generate reference page in configuration 2021-01-18 09:57:44 +00:00
common_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
cookie.go Add flags to define CSRF cookie expiration time and to allow CSRF cookies per request (#1708) 2022-08-31 23:27:56 +01:00
doc.go deps: remove tools/reference-gen from go.mod 2025-03-19 00:37:11 +01:00
header.go docs: additional notes about available claims for HeaderValue (#2674) 2024-07-18 22:31:19 +02:00
legacy_options.go feat: allow to set non-default authorization request response mode (#3001) 2025-03-31 10:04:19 +02:00
legacy_options_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
load.go feat: bump to go1.24.5 and full dependency update (#3116) 2025-07-13 21:55:57 +02:00
load_test.go feat: bump to go1.24.5 and full dependency update (#3116) 2025-07-13 21:55:57 +02:00
logging.go feat: readiness check (#1839) 2022-12-23 09:08:12 +00:00
login_url_parameters.go Fix Linting Errors (#1835) 2022-10-21 11:57:51 +01:00
options.go Add --bearer-token-login-fallback option (#2924) 2025-04-21 13:40:39 +01:00
options_suite_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
providers.go docs: clear up multiple-providers is unimplemented (#3046) 2025-04-28 23:52:27 +02:00
server.go Added ability to specify allowed TLS cipher suites. 2022-08-31 17:55:06 -07:00
sessions.go Add ability to configure username for Redis cluster connections (#2381) 2024-01-20 20:00:02 +00:00
upstreams.go Clarify what rewriteTarget means for a file: upstream 2024-09-02 11:27:28 +01:00