build(deps): bump the production-dependencies group with 2 updates
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(9 months ago)
(9 months ago)
(9 months ago)
by kyleconroy
:wrench: golang dependencies go size:XS
Bumps the production-dependencies group with 2 updates: github.com/spf13/cobra and github.com/spf13/pflag.
Updates github.com/spf13/cobra from 1.9.1 to 1.10.1
Release notes
Sourced from github.com/spf13/cobra's releases.
v1.10.1
🐛 Fix
- chore: upgrade pflags v1.0.9 by
@jpmcbin spf13/cobra#2305v1.0.9 of pflags brought back
ParseErrorsWhitelistand marked it as deprecatedFull Changelog: https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1
v1.10.0
What's Changed
🚨 Attention!
- Bump pflag to 1.0.8 by
@tomasaschanin spf13/cobra#2303This version of
pflagcarried a breaking change: it renamedParseErrorsWhitelisttoParseErrorsAllowlistwhich can break builds if bothpflagandcobraare dependencies in your project.
- If you use both
pflag andcobra, upgradepflagto 1.0.8 andcobrato1.10.0`- or use the newer, fixed version of
pflagv1.0.9 which keeps the deprecatedParseErrorsWhitelistMore details can be found here: spf13/cobra#2303
✨ Features
- Flow context to command in SetHelpFunc by
@Frasslein spf13/cobra#2241- The default ShellCompDirective can be customized for a command and its subcommands by
@albersin spf13/cobra#2238🐛 Fix
- Upgrade golangci-lint to v2, address findings by
@scopin spf13/cobra#2279🪠 Testing
- Test with Go 1.24 by
@harryzcyin spf13/cobra#2236- chore: Rm GitHub Action PR size labeler by
@jpmcbin spf13/cobra#2256📝 Docs
- Remove traling curlybrace by
@yedayakin spf13/cobra#2237- Update command.go by
@styeein spf13/cobra#2248- feat: Add security policy by
@jpmcbin spf13/cobra#2253- Update Readme (Warp) by
@ericdachenin spf13/cobra#2267- Add Periscope to the list of projects using Cobra by
@anishathalyein spf13/cobra#2299New Contributors
@harryzcymade their first contribution in spf13/cobra#2236@yedayakmade their first contribution in spf13/cobra#2237@Frasslemade their first contribution in spf13/cobra#2241
... (truncated)
Commits
7da941cchore: Bump pflag to v1.0.9 (#2305)51d6751Bump pflag to 1.0.8 (#2303)3f3b818Update README.md with new logodcaf42eAdd Periscope to the list of projects using Cobra (#2299)6dec1aeThe default ShellCompDirective can be customized for a command and its subcom...c8289c1chore(golangci-lint): add some exclusion presets4af7b64refactor: apply golangci-lint autofixes, work around false positives75790e4chore(golangci-lint): upgrade to v2db3ddb5Adding sponsorship to README.md67171d6putting sponsorship below header- Additional commits viewable in compare view
Updates github.com/spf13/pflag from 1.0.7 to 1.0.9
Release notes
Sourced from github.com/spf13/pflag's releases.
v1.0.9
What's Changed
- fix: Restore ParseErrorsWhitelist name for now by
@tomasaschanin spf13/pflag#446Full Changelog: https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9
v1.0.8
:warning: Breaking Change
This version, while only a patch bump, includes a (very minor) breaking change: the
flag.ParseErrorsWhiteliststruct and correspondingFlagSet.parseErrorsWhitelistfield have been renamed toParseErrorsAllowlist.This should result in compilation errors in any code that uses these fields, which can be fixed by adjusting the names at call sites. There is no change in semantics or behavior of the struct or field referred to by these names. If your code compiles without errors after bumping to/past v1.0.8, you are not affected by this change.
The breaking change was reverted in v1.0.9, by means of re-introducing the old names with deprecation warnings. The plan is still to remove them in a future release, so if your code does depend on the old names, please change them to use the new names at your earliest convenience.
What's Changed
- Remove Redundant "Unknown-Flag" Error by
@vaguecoderin spf13/pflag#364- Switching from whitelist to Allowlist terminology by
@dubriein spf13/pflag#261- Omit zero time.Time default from usage line by
@mologiein spf13/pflag#438- implement CopyToGoFlagSet by
@pohlyin spf13/pflag#330- flag: Emulate stdlib behavior and do not print ErrHelp by
@tmcin spf13/pflag#407- Print Default Values of String-to-String in Sorted Order by
@vaguecoderin spf13/pflag#365- fix: Don't print ErrHelp in ParseAll by
@tomasaschanin spf13/pflag#443- Reset args on re-parse even if empty by
@tomasaschanin spf13/pflag#444New Contributors
@vaguecodermade their first contribution in spf13/pflag#364@dubriemade their first contribution in spf13/pflag#261@mologiemade their first contribution in spf13/pflag#438@pohlymade their first contribution in spf13/pflag#330@tmcmade their first contribution in spf13/pflag#407@tomasaschanmade their first contribution in spf13/pflag#443Full Changelog: https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8
Commits
1043857Merge pull request #446 from spf13/fix-backwards-compat7412009fix: Restore ParseErrorsWhitelist name for nowb9c16faMerge pull request #444 from spf13/reset-args-even-if-empty40abc49Merge pull request #443 from spf13/silence-errhelp1bf832cUse errors.Is instead of equality checkd25dd24Reset args on re-parse even if empty094909dMerge pull request #365 from vaguecoder/str2str-sortedccb49e5Print Default Values of String-to-String in Sorted Orderb55ffb6fix: Don't print ErrHelp in ParseAll7c651d1Merge pull request #407 from tmc/fix-errhelp- Additional commits viewable in compare view
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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
2
+6
-7
Package Dependencies
Technical Details
| ID: | 6747088 |
| UUID: | 2795472735 |
| Node ID: | PR_kwDOC4Nl586mn4df |
| Host: | GitHub |
| Repository: | sqlc-dev/sqlc |
| Merge State: | Unknown |