Skip to content

chore(deps): bump github.com/go-playground/validator/v10 from 10.26.0 to 10.27.0 #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2025

Bumps github.com/go-playground/validator/v10 from 10.26.0 to 10.27.0.

Release notes

Sourced from github.com/go-playground/validator/v10's releases.

Release 10.27.0

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.26.0...v10.27.0

Commits
  • bc77d03 use golangci lint file for disables (#1447)
  • 4a1bc2f disable way too aggressive and disagreeable linters (#1445)
  • cf2267f fix: make "file://" fail url validation (#1444)
  • 3fd4678 docs: typos (#1440)
  • ec374ef Fix: Validator panics when 'nil' is used along with required if for slices an...
  • 0e3e2f9 Omitzero does not work with slice and map bug (#1436)
  • dfc7ccd Fix: support validation for map values with struct types (#1433)
  • 5b9542b fix: panics when private field is validated (#1423)
  • f9a5a1f feat(translation): add en translation for urn_rfc2141 (#1431)
  • 20f7df6 Bump golangci/golangci-lint-action from 7 to 8 (#1425)
  • 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 <dependency name> 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)

Summary by Sourcery

Upgrade github.com/go-playground/validator/v10 from v10.26.0 to v10.27.0, bringing in new translation features, multiple bug fixes around validation rules and panic scenarios, lint and dependency updates, and documentation corrections.

New Features:

  • Add support for tagging custom validation functions with validateFn
  • Include a translation example for error messages
  • Add English translation for the urn_rfc2141 validation rule

Bug Fixes:

  • Fix Russian E.164 error message
  • Prevent panics when validating private struct fields
  • Support validation of map values with struct types
  • Correct Omitzero behavior for slices and maps
  • Prevent panics when using nil with required_if on slices and maps
  • Reject file:// URLs in url validation

Enhancements:

  • Align required_without rule behavior with documentation
  • Update lint configuration: re-enable linters, disable aggressive ones, and use a golangci-lint config file
  • Bump golangci/golangci-lint-action to v8 and auxiliary example dependencies (golang.org/x/crypto, golang.org/x/net)

Documentation:

  • Fix typos and mention RegisterTagNameFunc usage for FieldError.Field
  • Correct the release version badge on the README

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.26.0 to 10.27.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](go-playground/validator@v10.26.0...v10.27.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the gomod label Jul 7, 2025
Copy link

sourcery-ai bot commented Jul 7, 2025

Reviewer's Guide

This PR updates the github.com/go-playground/validator/v10 dependency from v10.26.0 to v10.27.0 by modifying the module requirement and regenerating checksum data.

File-Level Changes

Change Details Files
Bump validator dependency version
  • Updated require directive in go.mod to v10.27.0
  • Regenerated go.sum to include updated checksums
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

deepsource-io bot commented Jul 7, 2025

Here's the code health analysis summary for commits bcb3ba2..74db809. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Go LogoGo✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@bcb3ba2). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage        ?   91.71%           
=======================================
  Files           ?       65           
  Lines           ?     2582           
  Branches        ?        0           
=======================================
  Hits            ?     2368           
  Misses          ?      186           
  Partials        ?       28           
Flag Coverage Δ
Unit-Tests 91.71% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cnlangzi cnlangzi merged commit 76b4b4e into main Jul 8, 2025
7 checks passed
@cnlangzi cnlangzi deleted the dependabot/go_modules/github.com/go-playground/validator/v10-10.27.0 branch July 8, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant