Skip to content
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

Make private fields validation configurable #202

Merged
merged 7 commits into from
Apr 6, 2023

Conversation

SharkFourSix
Copy link
Contributor

Please reference #179

@SharkFourSix
Copy link
Contributor Author

@inhere Do you need to update the workflow for this?

https://github.com/gookit/validate/actions/runs/4627415626/jobs/8185320442?pr=202

@inhere
Copy link
Member

inhere commented Apr 6, 2023

@inhere Do you need to update the workflow for this?

gookit/validate/actions/runs/4627415626/jobs/8185320442?pr=202

@SharkFourSix Thanks, I'll fix it later. 👍

@inhere inhere self-assigned this Apr 6, 2023
@inhere inhere added the enhancement New feature or request label Apr 6, 2023
@inhere inhere merged commit 4d16ee9 into gookit:master Apr 6, 2023
5 of 6 checks passed
bjw-s pushed a commit to bjw-s/lego-auto that referenced this pull request Jul 26, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/gookit/validate](https://togithub.com/gookit/validate) |
require | minor | `v1.4.6` -> `v1.5.0` |

---

### Release Notes

<details>
<summary>gookit/validate (github.com/gookit/validate)</summary>

### [`v1.5.0`](https://togithub.com/gookit/validate/releases/tag/v1.5.0)

[Compare
Source](https://togithub.com/gookit/validate/compare/v1.4.6...v1.5.0)

#### Change Log

##### **Note:** 💥 Starting from `v1.5.0`, go version < 1.18 will
not be supported.

##### Update

- up: replace the assert pkg from stretchr/testify to gookit/goutil
gookit/validate@b04bd7a
- 👔 up: update some method usage and update some tests
gookit/validate@9a0269c
- ♻️ update: refactoring the slice item validate logic
gookit/validate@b5f1569
- 💥 update: replace interface{} to any in some files
gookit/validate@6b58d86
- 💥 update: replace interface{} to any in remaining go files
gookit/validate@526cd5a
- Make private fields validation configurable
([#&#8203;202](https://togithub.com/gookit/validate/issues/202))
gookit/validate@4d16ee9

##### Fixed

- bug: fix required rule for map with nested slice
([#&#8203;210](https://togithub.com/gookit/validate/issues/210))
gookit/validate@97df2bd

##### Other

- build(deps): bump github.com/gookit/goutil from 0.4.0 to 0.6.0 in
/\_examples/httpdemo2
([#&#8203;199](https://togithub.com/gookit/validate/issues/199))
gookit/validate@3e23b0a
- build(deps): bump github.com/gookit/goutil from 0.5.15 to 0.6.6
([#&#8203;197](https://togithub.com/gookit/validate/issues/197))
gookit/validate@ad2520a
- build(deps): bump github.com/gookit/goutil from 0.6.6 to 0.6.7
([#&#8203;200](https://togithub.com/gookit/validate/issues/200))
gookit/validate@51bb1d6
- ⬆️ chore(ci): add tests on go1.10 and remove support go < 1.18
gookit/validate@acc96a7
- build(deps): bump github.com/gookit/goutil from 0.6.7 to 0.6.8
([#&#8203;201](https://togithub.com/gookit/validate/issues/201))
gookit/validate@e86513d
- ⬆️ chore(go): use the io.ReadAll instead of the ioutil.ReadAll
gookit/validate@e01fae9
- bug: fix required rule for map with nested slice
([#&#8203;210](https://togithub.com/gookit/validate/issues/210))
gookit/validate@97df2bd
- build(deps): bump github.com/gookit/goutil from 0.6.8 to 0.6.9
([#&#8203;212](https://togithub.com/gookit/validate/issues/212))
gookit/validate@c0e6083
- build(deps): bump github.com/gookit/goutil from 0.6.9 to 0.6.10
([#&#8203;214](https://togithub.com/gookit/validate/issues/214))
gookit/validate@bd322ae
- build(deps): bump github.com/gookit/filter from 1.1.4 to 1.2.0
([#&#8203;216](https://togithub.com/gookit/validate/issues/216))
gookit/validate@4f76cdb
- ⬆️ chore: update dep to latest, replace some interface{} to
any
gookit/validate@5dfa4ac
- ⬆️ dep: upgrade dep to latest and update the README
gookit/validate@0041602
- 💚 ci: add codeql action script, fix some comment words
error
gookit/validate@266cb62
- 💚 ci: add codeql action script, fix setup go error
gookit/validate@020a8b4
- 📝 doc: update README, add go.mod Go version badge
gookit/validate@025951a

#### What's Changed

- Make private fields validation configurable by
[@&#8203;SharkFourSix](https://togithub.com/SharkFourSix) in
[gookit/validate#202
- bug: fix required rule for map with nested slice by
[@&#8203;sujit-baniya](https://togithub.com/sujit-baniya) in
[gookit/validate#210

#### New Contributors

- [@&#8203;SharkFourSix](https://togithub.com/SharkFourSix) made their
first contribution in
[gookit/validate#202
- [@&#8203;sujit-baniya](https://togithub.com/sujit-baniya) made their
first contribution in
[gookit/validate#210

***

**Full Changelog**:
gookit/validate@v1.4.6...v1.5.0

</details>

---

### Configuration

📅 **Schedule**: 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.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNi4yMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants