Closed dependabot[bot] closed 6 months ago
CI fails:
./tools/golangci-lint run --fix
level=warning msg="[runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive."
Error: pkg/server/server.go:108:8: SA1019: oapimiddleware.OapiRequestValidatorWithOptions is deprecated: This has been replaced by https://pkg.go.dev/github.com/oapi-codegen/echo-middleware#OapiRequestValidatorWithOptions (staticcheck)
e.Use(oapimiddleware.OapiRequestValidatorWithOptions(swagger, &oapimiddleware.Options{Options: openapi3filter.Options{AuthenticationFunc: nebraskaAuthenticationFunc(conf.AuthMode)}, Skipper: middlewareSkipper}))
^
make: *** [Makefile:101: code-checks] Error 1
Fixed the golangci-lint failure.
However, apart from that specific failure, I think it looks necessary to update oapi-codegen versions in other parts like Makefile. I am not sure I feel confident with touching the oapi-codegen part.
Closing due to too many merge conflicts
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore
condition with the desired update_types
to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Bumps github.com/deepmap/oapi-codegen from 1.12.4 to 1.16.2.
Release notes
Sourced from github.com/deepmap/oapi-codegen's releases.
... (truncated)
Commits
5d2cd60
Add missing types to deprecation URLs81b4e34
Add pkg.go.dev links to deprecation warningseb5e119
Fix: Ensure deprecations are parsed correctlyd663b6c
Add deprecation notice fortestutil
6d98312
Migrate to separatetestutil
package82cbf4a
Replace Echo-specific handler call46d2694
Onboard to Renovate58e3d16
Deprecate existing middleware2d349f4
Migrate middleware to their own Go modulesaf55078
Bump Iris to remove Go 1.21 dependencyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show