feat(valid)!: promote to v1.0.0 — JSON tag name resolution, bump xerrors to v1.0.0

Resolve JSON tag name resolution roadmap item: field names in error context
now use the json struct tag when available, falling back to the Go field name.
Commits MessageProvider interface as stable. Bumps xerrors dependency from
v0.9.0 to v1.0.0. API committed as stable.
This commit is contained in:
2026-05-11 18:18:05 -06:00
parent 328b80c060
commit ab11fd2ace
4 changed files with 35 additions and 4 deletions

2
go.mod
View File

@@ -3,7 +3,7 @@ module code.nochebuena.dev/go/valid
go 1.25
require (
code.nochebuena.dev/go/xerrors v0.9.0
code.nochebuena.dev/go/xerrors v1.0.0
github.com/go-playground/validator/v10 v10.30.1
)