Skip to content

chore(deps): bump github.com/go-ozzo/ozzo-validation/v4 from 4.3.0 to 4.4.1 - #5

Merged
devaccuracy merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-ozzo/ozzo-validation/v4-4.4.1
Oct 10, 2026
Merged

devaccuracy merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-ozzo/ozzo-validation/v4-4.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 9, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/go-ozzo/ozzo-validation/v4 from 4.3.0 to 4.4.1.

Release notes

Sourced from github.com/go-ozzo/ozzo-validation/v4's releases.

v4.4.1 — Performance: 36% fewer allocations

Performance

Struct field offset cache eliminates repeated reflect.StructField allocations.

Benchmark v4.4.0 v4.4.1 Improvement
ValidateStruct (6 fields) 59 allocs, 4.7 KB, 6.7µs 38 allocs, 2.3 KB, 3.6µs -36% allocs, -50% memory, -46% time
ValidateWithConditional 34 allocs, 3.8µs 19 allocs, 1.7µs -44% allocs, -56% time

Also fixes benchmark to pre-compile regex (was inflating alloc count).

Full Changelog: go-ozzo/ozzo-validation@v4.4.0...v4.4.1

v4.4.0 — Revival Release

Revival release — ozzo-validation is actively maintained again after 6 years.

12 community PRs merged, maintainer bug fixes, modernized CI infrastructure.

Added

Fixed

  • E.164 phone validation now requires + prefix per ITU-T standard (#208 by @​Yanhu007)
  • Domain regex allows uppercase in final character (#197 by @​mhargrove)
  • Each() now passes pointers correctly to By() callbacks (#160 by @​dane)
  • IsEmpty() treats all zero-valued structs as empty (#144 by @​soranoba)
  • Errors.Error() no longer panics on nil values (#212)
  • Min()/Max() now validate zero values instead of silently skipping them (#212)
  • README install command, code examples, documentation

Breaking Changes

These are bug fixes — the old behavior was incorrect:

  • is.E164 rejects phone numbers without + prefix (spec-correct)
  • Each() with By() on pointer slices passes *T instead of T
  • IsEmpty() returns true for zero-valued structs (was only time.Time{})
  • Min()/Max() validate numeric zero and time.Time{} (were silently skipped)

Thank You

Thanks to all contributors who waited patiently — some PRs were open for 5+ years.

... (truncated)

Changelog

Sourced from github.com/go-ozzo/ozzo-validation/v4's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.4.0] - 2026-08-04

Project revived after 6 years of inactivity. New maintainer: @​kolkov.

Added

  • is.UUIDv7 validation rule per RFC 9562 (#205 by @​dmitryzhvinklis)
  • is.ULID validation rule (#171 by @​upamune)
  • is.Origin validation rule for CORS origins (#198 by @​nguyenvantuan2391996)
  • OptionalKey() and DynamicMap() convenience constructors (#151 by @​Jessinra)
  • EachUntilFirstError() rule for large collections (#93 by @​geekflyer)
  • GitHub Actions CI with Go 1.22/1.23 test matrix
  • golangci-lint integration with enterprise config
  • Codecov OIDC integration (99.5% coverage)
  • Benchmark infrastructure (PR comparison + historical tracking)
  • CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, CODEOWNERS

Fixed

  • E.164 phone validation now requires + prefix per ITU-T standard (#208 by @​Yanhu007) — fixes #195
  • Domain regex allows uppercase in final character (#197 by @​mhargrove)
  • Each() now passes pointers correctly to By() callbacks (#160 by @​dane)
  • IsEmpty() treats all zero-valued structs as empty, not just time.Time{} (#144 by @​soranoba) — fixes #143
  • Errors.Error() no longer panics on nil values (#212) — fixes #147
  • Min()/Max() now validate zero values instead of silently skipping them (#212) — fixes #165, #180
  • README install command corrected to v4 module path (#194 by @​apuatcfbd)
  • README code examples: single quotes → double quotes (#178 by @​Hannes-tallied)
  • README city validation example uses realistic Length(1, 50) (#175 by @​tuan-nxcr)
  • Code formatting for Go 1.19+ doc comment style
  • Various golangci-lint issues (whitespace, bool comparison, if-else chains)

Changed

  • Badges: Travis CI → GitHub Actions, Coveralls → Codecov
  • govalidator dependency updated
  • Removed dead Travis CI configuration

Breaking Changes

  • is.E164 now rejects phone numbers without + prefix (spec-correct behavior)
  • Each() with By() on pointer slices now passes *T instead of T (correct behavior)
  • IsEmpty() returns true for zero-valued structs (was only time.Time{} before)
  • Min()/Max() now validate numeric zero and time.Time{} instead of skipping them
Commits
  • 0fb4d5a perf: struct field cache — 36% fewer allocations
  • 0283606 fix: pre-compile regex in benchmark (59 vs 106 allocs baseline)
  • d69c89a release: v4.4.0
  • 4ac85c1 chore: add enterprise-level benchmark infrastructure
  • 19f6be2 fix: nil pointer dereference in Errors.Error() and Min/Max zero value bypass
  • ce2965c Merge pull request #144 from soranoba/issue-143/structure-isEmpty
  • 25ba193 style: format util_test.go for Go 1.19+
  • 199d280 Merge branch 'master' into issue-143/structure-isEmpty
  • de1fed7 Merge pull request #198 from nguyenvantuan2391996/is-origin
  • d8c398a fix: resolve merge conflicts, improve Origin regex and tests
  • 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 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)

Bumps [github.com/go-ozzo/ozzo-validation/v4](https://github.com/go-ozzo/ozzo-validation) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/go-ozzo/ozzo-validation/releases)
- [Changelog](https://github.com/go-ozzo/ozzo-validation/blob/master/CHANGELOG.md)
- [Commits](go-ozzo/ozzo-validation@v4.3.0...v4.4.1)

---
updated-dependencies:
- dependency-name: github.com/go-ozzo/ozzo-validation/v4
  dependency-version: 4.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 9, 2026
@devaccuracy
devaccuracy merged commit d5a96a3 into main Oct 10, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/go-ozzo/ozzo-validation/v4-4.4.1 branch October 10, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant