chore(deps): update module github.com/ryancurrah/gomodguard to v2#10
chore(deps): update module github.com/ryancurrah/gomodguard to v2#10renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
v1.4.1→v2.1.3Release Notes
ryancurrah/gomodguard (github.com/ryancurrah/gomodguard)
v2.1.3Compare Source
v2.1.1Compare Source
What's Changed
Full Changelog: ryancurrah/gomodguard@v2.1.0...v2.1.1
v2.1.0Compare Source
Breaking changes
New configuration schema. The
.gomodguard.yamlformat has been redesigned. Run gomodguard migrate to automatically convert a v1 config to v2.Before (v1):
After (v2):
Key differences:
allowed.modulesandallowed.domainsare replaced by a flat list where each entry has amodulefield and an optionalmatch-typefield (exact,prefix,regex)blocked.modulesandblocked.versionsare merged into a single flat list where each entry has amodulefieldmatch_typeis nowmatch-type(hyphen, not underscore)local_replace_directivesmoves fromblockedto the top levelNew features
Layered match type precedence. Rules can now match by
exact(default),prefix, orregex. When multiple rules overlap,exactbeatsprefixbeatsregex, with longestprefixwinning amongprefixrules.Regex support. Block or allow entire namespaces with regex patterns:
local_replace_directives. Block modules with local filesystem replace directives to catch accidental commits of dev overrides. Multi-module repo aware — sibling modules whose replacement path contains a matchinggo.modare automatically permitted.The
gomodguard migratecommand converts a v1.gomodguard.yamlto v2 format and prints to stdout.-version flag. Prints the installed version.Split module layout. The library (
github.com/ryancurrah/gomodguard/v2) and CLI (github.com/ryancurrah/gomodguard/cmd/gomodguard/v2) are now separate Go modules, allowing the library to be imported without pulling in CLI dependencies.Changelog
082be15feat: use array with module field for allowed and blocked configConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.