Skip to content

fix(deps): update module github.com/gookit/validate to v1.6.0#72

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-gookit-validate-1.x
Open

fix(deps): update module github.com/gookit/validate to v1.6.0#72
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-gookit-validate-1.x

Conversation

@renovate

@renovate renovate Bot commented May 27, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/gookit/validate v1.5.4v1.6.0 age confidence

Release Notes

gookit/validate (github.com/gookit/validate)

v1.6.0

Compare Source

Internal performance refactor. No public API changes — drop-in upgrade.

Performance
  • Cache per-type reflection metadata (field index, tags, kinds, interface
    checks) in a concurrency-safe type cache; access struct fields via
    FieldByIndex instead of FieldByName.
  • Cache the parsed rule template for "static" struct types (no
    ptr-to-struct / slice-of-struct / map-of-struct) and clone it per
    validation, skipping the per-instance tag walk and rule parsing. Dynamic
    types keep the original per-value path.
  • Share built-in error messages instead of copying ~150 entries into every
    Translator; resolve with a custom→builtin fallback.
  • Build the built-in context validators (required*, *Field, file checks)
    lazily on first use instead of eagerly per instance.

Measured (Go 1.25, count=6): static struct validation ~-78% time / -74%
allocations
(10403→2295 ns/op, 132→34 allocs/op); map validation -65% /
-42%; slice-of-struct -37% / -20%. Behavior is byte-identical, guarded by a
rule-collection golden test.

Fixes
  • Fix a stack overflow when building metadata for self-referential or
    mutually-recursive struct types.
  • Fix a data race in Val/Var: concurrent calls shared one validation
    instance and raced on its error/validator maps; each call now uses a
    pooled instance.

v1.5.7

Compare Source

What's Changed

New Contributors

Full Changelog: gookit/validate@v1.5.6...v1.5.7

v1.5.6

Compare Source

Change Log

Fixed
Feature
  • feat: add option to restore request body after reading (#​307) aff7898
Other
  • Add comprehensive GitHub Copilot instructions for gookit/validate (#​306) a96441d
  • ⬆️ dep: upgrade actions and deps to latest version 3dc6a3f
  • 🎨 chore: update some code styles, update git ignore config 0abf62c

What's Changed

New Contributors

Full Changelog: gookit/validate@v1.5.5...v1.5.6

v1.5.5

Compare Source

Change Log

Feature
Other
  • build(deps): bump golangci/golangci-lint-action from 6 to 7 (#​288) 8844616
  • build(deps): bump golangci/golangci-lint-action from 7 to 8 (#​291) 20ea74a
  • 📝 style: modify some code style 8e7eaea
  • 📝 chore: update some code style and some comments 133c917
  • 📝 chore: update some code style and add some testcases 43de360

New Contributors

Full Changelog: gookit/validate@v1.5.4...v1.5.5


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented May 27, 2025

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: docker/go.sum
Command failed: go get -t ./...
go: downloading github.com/gookit/validate v1.6.0
go: downloading github.com/gookit/filter v1.2.3
go: downloading github.com/gookit/goutil v0.7.6
go: dagger/docker imports
	dagger/docker/internal/dagger: package dagger/docker/internal/dagger is not in std (/opt/containerbase/tools/golang/1.26.1/src/dagger/docker/internal/dagger)

@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 352e72e to 0643ba2 Compare August 10, 2025 13:14
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 0643ba2 to 4f2f4b4 Compare September 6, 2025 08:36
@renovate renovate Bot changed the title fix(deps): update module github.com/gookit/validate to v1.5.5 fix(deps): update module github.com/gookit/validate to v1.5.6 Sep 6, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch 2 times, most recently from 2353870 to 40e72d4 Compare October 11, 2025 12:41
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 40e72d4 to c3d9515 Compare December 15, 2025 17:02
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from c3d9515 to a2d916c Compare February 2, 2026 21:10
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from a2d916c to 73ead00 Compare February 12, 2026 11:33
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 73ead00 to e5c29d2 Compare February 24, 2026 17:35
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from e5c29d2 to 2aad50c Compare March 5, 2026 18:36
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 2aad50c to 5b833ed Compare March 31, 2026 11:12
@renovate renovate Bot changed the title fix(deps): update module github.com/gookit/validate to v1.5.6 fix(deps): update module github.com/gookit/validate to v1.5.7 Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 5b833ed to 12526c4 Compare March 31, 2026 13:45
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 12526c4 to d5fb6fa Compare March 31, 2026 15:30
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from d5fb6fa to cad5af5 Compare April 29, 2026 13:38
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from cad5af5 to fbd7100 Compare April 30, 2026 14:37
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from fbd7100 to 693d92a Compare May 12, 2026 09:43
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from 693d92a to cfd1a8a Compare May 18, 2026 11:54
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from cfd1a8a to b7b96bc Compare May 28, 2026 21:13
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from b7b96bc to c937537 Compare June 3, 2026 19:57
@renovate renovate Bot changed the title fix(deps): update module github.com/gookit/validate to v1.5.7 fix(deps): update module github.com/gookit/validate to v1.6.0 Jun 3, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from c937537 to d7642d1 Compare June 18, 2026 10:20
@renovate
renovate Bot force-pushed the renovate/github.com-gookit-validate-1.x branch from d7642d1 to b39fcce Compare July 12, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants