Skip to content

Commit a9ef490

Browse files
committed
📖 docs: v1.4.2
1 parent da9305f commit a9ef490

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ CHANGELOG
44
UNRELEASED
55
----------
66

7+
8+
1.4.2 (2023-08-21)
9+
------------------
10+
711
* 🐛 fix: unexported fields will get ignored to prevent unwanted behavior
812

913
1.4.1 (2023-08-20)

validator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func (o *validatorS) Validate(input interface{}, translator ...Translator) inter
167167
panic(fmt.Sprintf("value on %s is not valid", fieldName))
168168
}
169169

170+
// If not exported
170171
if !found || typeOnKeyInput.PkgPath != "" {
171172
break
172173
}

0 commit comments

Comments
 (0)