Skip to content

Commit

Permalink
fix(deps): Update module github.com/go-playground/validator/v10 to v1…
Browse files Browse the repository at this point in the history
…0.17.0 (#143)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-playground/validator/v10](https://togithub.com/go-playground/validator) | indirect | minor | `v10.14.0` -> `v10.17.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>go-playground/validator (github.com/go-playground/validator/v10)</summary>

### [`v10.17.0`](https://togithub.com/go-playground/validator/releases/tag/v10.17.0): Release 10.17.0

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.16.0...v10.17.0)

#### What's new

-   Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Taiwan.

#### What's fixed

-   Fix errors translation to work properly for aliases.

### [`v10.16.0`](https://togithub.com/go-playground/validator/releases/tag/v10.16.0): Release 10.16.0

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.5...v10.16.0)

#### What's new or fixed?

-   Added new `issn` validator. TY [@&#8203;mrcook](https://togithub.com/mrcook) for the [PR](https://togithub.com/go-playground/validator/pull/1166)
-   Added improvement/fix to the file url validation. TY [@&#8203;nodivbyzero](https://togithub.com/nodivbyzero) for the [PR](https://togithub.com/go-playground/validator/pull/1171)
-   Fix onof tag in examples. TY [@&#8203;gren236](https://togithub.com/gren236) for the [PR](https://togithub.com/go-playground/validator/pull/1184)
-   Add `fmt.Stringer` interface support to `uuid` validations allowing most UUID validation libraries which implement it to work transparently now. TY [@&#8203;JoshGlazebrook](https://togithub.com/JoshGlazebrook) for the [PR](https://togithub.com/go-playground/validator/pull/1189)
-   Added new `omitnil` similar to `omitempty` but for pointers. this is mainly for code generation ease. TY [@&#8203;tarampampam](https://togithub.com/tarampampam) for the [PR](https://togithub.com/go-playground/validator/pull/1187)

### [`v10.15.5`](https://togithub.com/go-playground/validator/releases/tag/v10.15.5): Release 10.15.5

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.4...v10.15.5)

#### What was fixed?

Fixed `CIDRIPv4` validation, ty [@&#8203;martinlehoux](https://togithub.com/martinlehoux) for the [PR](https://togithub.com/go-playground/validator/pull/945)

### [`v10.15.4`](https://togithub.com/go-playground/validator/releases/tag/v10.15.4): Release 10.15.4

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.3...v10.15.4)

##### What was fixed?

Corrected a regression of skipping `required` for `time.Time` accidentally introduced in `v10.15.2`

### [`v10.15.3`](https://togithub.com/go-playground/validator/releases/tag/v10.15.3): Release 10.15.3

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.2...v10.15.3)

#### What was fixed?

Fix regression for invalid type check before calling reflect values type. Thank you [@&#8203;MysteriousPotato](https://togithub.com/MysteriousPotato) for the [PR](https://togithub.com/go-playground/validator/pull/1156)

### [`v10.15.2`](https://togithub.com/go-playground/validator/releases/tag/v10.15.2): Release 10.15.2

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.1...v10.15.2)

##### What was fixed?

-   Refactored [#&#8203;1122](https://togithub.com/go-playground/validator/issues/1122) to support `or`'s in tags + updated to `required` behaving the same as before `v10.50.0` to support the community as there was a lot of code relying on the before behaviour, correct or not.
    -   Added a way to opt-in to the new functionality, which is recommended, using [WithRequiredStructEnabled](https://togithub.com/go-playground/validator/blob/master/\_examples/simple/main.go#L33)

### [`v10.15.1`](https://togithub.com/go-playground/validator/releases/tag/v10.15.1): Release 10.15.1

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.15.0...v10.15.1)

##### What was fixed?

Corrected a few validations including `gt`, `lt`, ... when using floating point values, specifically `float32`, in this [PR](https://togithub.com/go-playground/validator/pull/1146)

### [`v10.15.0`](https://togithub.com/go-playground/validator/releases/tag/v10.15.0): Release 10.15.0

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.14.1...v10.15.0)

##### What's new?

-   Applying `tag` validations on `structs` is now a reality thank to [@&#8203;MysteriousPotato](https://togithub.com/MysteriousPotato) in this [PR](https://togithub.com/go-playground/validator/pull/1122)
-   Added `oneof` tag to examples in this [PR](https://togithub.com/go-playground/validator/pull/1135)
-   Added `Spice DB` validations in this [PR](https://togithub.com/go-playground/validator/pull/1125)

#### What was fixed?

-   Fixed the REAMD logo link in this [PR](https://togithub.com/go-playground/validator/pull/1134)
-   Fixed `filepath` validation when path is a directory in this [PR](https://togithub.com/go-playground/validator/pull/1133)
-   Correct to docs in this [PR](https://togithub.com/go-playground/validator/pull/1121)

### [`v10.14.1`](https://togithub.com/go-playground/validator/releases/tag/v10.14.1): Release 10.14.1

[Compare Source](https://togithub.com/go-playground/validator/compare/v10.14.0...v10.14.1)

#### What was fixed?

-   Add allowance to valid JSOn for types convertible to such as `json.RawMessage` in [this PR](https://togithub.com/go-playground/validator/pull/1110)
-   Fix URL validation with only schema in [this PR](https://togithub.com/go-playground/validator/pull/1114)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
cq-bot authored Feb 1, 2024
1 parent 4c48509 commit b6bf191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require (
github.com/gin-gonic/gin v1.9.1 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-playground/validator/v10 v10.17.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js=
github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/go-playground/validator/v10 v10.17.0 h1:SmVVlfAOtlZncTxRuinDPomC2DkXJ4E5T9gDA0AIH74=
github.com/go-playground/validator/v10 v10.17.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
Expand Down

0 comments on commit b6bf191

Please sign in to comment.