chore(deps): bump github.com/oapi-codegen/oapi-codegen/v2 from 2.4.1 to 2.7.1 in /apps/cli-go#5896
Conversation
Bumps [github.com/oapi-codegen/oapi-codegen/v2](https://github.com/oapi-codegen/oapi-codegen) from 2.4.1 to 2.7.1. - [Release notes](https://github.com/oapi-codegen/oapi-codegen/releases) - [Commits](oapi-codegen/oapi-codegen@v2.4.1...v2.7.1) --- updated-dependencies: - dependency-name: github.com/oapi-codegen/oapi-codegen/v2 dependency-version: 2.7.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@00b87abae9fe555a48c1230d778aaa59e9145aaaPreview package for commit |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 00b87abae9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| github.com/nishanths/predeclared v0.2.2 // indirect | ||
| github.com/nunnatsa/ginkgolinter v0.23.0 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.7.1 // indirect |
There was a problem hiding this comment.
Bump oapi-codegen past vulnerable v2.7.1
This pins the go tool oapi-codegen generator to v2.7.1, which upstream advisories GHSA-jwgf-6xff-4hvp and GHSA-xrqw-w576-xgj2 list as vulnerable to Go code injection when generating from an attacker-controlled or attacker-influenced OpenAPI spec. Since main.go runs this tool against a remote spec URL via go generate, a compromised or malicious spec could produce generated code that executes at package init or route registration; please bump to a release with the v2.7.2 fixes or newer instead of stopping at v2.7.1.
Useful? React with 👍 / 👎.
| github.com/nishanths/predeclared v0.2.2 // indirect | ||
| github.com/nunnatsa/ginkgolinter v0.23.0 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect | ||
| github.com/oapi-codegen/oapi-codegen/v2 v2.7.1 // indirect |
There was a problem hiding this comment.
Regenerate the API outputs with the new generator
The cli-go-ci.yml Codegen job runs go generate in apps/cli-go and then fails if anything under pkg changes, but this update changes the selected go tool oapi-codegen version while leaving the committed pkg/api/*.gen.go files generated by v2.4.1. On the next codegen check, the v2.7.1 generator will rewrite those files at least to update the generated-by headers (and possibly other generator output), causing the diff check to fail until the regenerated pkg outputs are committed with the dependency bump.
Useful? React with 👍 / 👎.
Bumps github.com/oapi-codegen/oapi-codegen/v2 from 2.4.1 to 2.7.1.
Release notes
Sourced from github.com/oapi-codegen/oapi-codegen/v2's releases.
... (truncated)
Commits
19c6282Improve string escaping and add tests (#2396)b363ca5refactor(codegen): better Swagger compression, modern naming (#1909)08b3018Route server enums through general enums codegen (#2358)fbc8e0drevert external-ref carve-out in strict-server response embedding (#2010) (#2...7517e09respect output file path on gofmt failure (#2356)9643421fix example codegen (#2354)036a54bper-operation middleware in Echo (#2353)3338f93Strict server: gate no-content response headers on nullable/optional (#2351)218effeSynchronize strict servers (#2350)81b9d95Overhaul anonymous schema hoisting (#2348)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.