flatcar / nebraska

Update monitor & manager for applications using the Omaha protocol, optimized for Flatcar Container Linux.
https://www.flatcar.org/docs/latest/nebraska
Apache License 2.0
170 stars 43 forks source link

build(deps): bump github.com/deepmap/oapi-codegen from 1.12.4 to 1.16.2 in /backend #745

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

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.

v1.16.2: Further improve documentation notices

What's Changed

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.16.1...v1.16.2

v1.16.1: Ensure deprecation comments appear correctly

What's Changed

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.16.0...v1.16.1

v1.16.0: Reduce runtime dependencies

As part of the final preparation towards the v2 release, this release finalises the use of the new multi-repo packages, and deprecates all internal packages ahead of next week's release removing them.

Key callouts

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.15.0...v1.16.0

v1.13.4

What's Changed

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.13.3...v1.13.4

v1.13.3

What's Changed

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.13.2...v1.13.3

Fix: Allow multiple JSON types to be generated

What's Changed

Full Changelog: https://github.com/deepmap/oapi-codegen/compare/v1.13.1...v1.13.2

v1.13.1: Various fixes post-release

What's Changed

... (truncated)

Commits
  • 5d2cd60 Add missing types to deprecation URLs
  • 81b4e34 Add pkg.go.dev links to deprecation warnings
  • eb5e119 Fix: Ensure deprecations are parsed correctly
  • d663b6c Add deprecation notice for testutil
  • 6d98312 Migrate to separate testutil package
  • 82cbf4a Replace Echo-specific handler call
  • 46d2694 Onboard to Renovate
  • 58e3d16 Deprecate existing middleware
  • 2d349f4 Migrate middleware to their own Go modules
  • af55078 Bump Iris to remove Go 1.21 dependency
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dongsupark commented 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
dongsupark commented 6 months ago

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.

dongsupark commented 6 months ago

Closing due to too many merge conflicts

dependabot[bot] commented 6 months ago

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.