All Versions
15
Latest Version
Avg Release Cycle
54 days
Latest Release
1290 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.2.5
November 19, 2020 -
v1.2.4
October 09, 2020 -
v1.2.3 Changes
September 25, 2020- ⚡️ update deps
- ⚡️ update readme
- ➕ add tests on go
1.15
- 🛠 fix: custome error not work on use alias name
- refacting languages register logic
-
v1.2.2
July 07, 2020 -
v1.2.1 Changes
June 21, 2020🚀 Release v1.2.1
- ⚡️ update readme
- 🛠 some bugs fixed
⚡️ Update
- 🆕 new: add new method for add bulitin message
- 🆕 new: allow setting field map from struct tags, defualt is
json
- 🆕 new: allow set message from struct tag
- 🆕 new: add github actions tests
更新
- 新增:添加用于添加内置消息的新方法
- 新增:允许从struct标记设置字段映射,tag默认为
json
- 新增:允许从struct标记设置错误消息,tag默认为
message
- 新增:添加github actions测试
-
v1.2.0 Changes
December 18, 2019⚡️ Update
- 👌 Supports setting default values for fields. eg:
"required|default:tom"
- Important : When using
filter
on a structure, the filtered value will be updated to the structure - ➕ Added
requiredXXX
series validators - ➕ Added
stringContains|startsWith|endsWith
and other validators - 💅 Camel-style validator names now have underlined aliases.
endsWith
can also be written asends_with
- 🛠 Fix some known issues
- ⚡️ Update README
更新记录
- 0️⃣ 支持设置字段的默认值。eg:
"required|default:tom"
- 重要 :结构体上使用
filter
时,将会更新过滤后的值到结构体上 - 新增
requiredXXX
系列验证器 - 新增
stringContains|startsWith|endsWith
等验证器 - 驼峰式的验证器名称现在都添加了下划线式的别名。
endsWith
也可以写为ends_with
- 修复一些已知问题
- 更新README
- 👌 Supports setting default values for fields. eg:
-
v1.1.4 Changes
December 17, 2019 -
v1.1.3 Changes
August 30, 2019- ⚡️ update some logic for file validate
- ⚡️ optimize message format on validator func has variadic args
- 🛠 fix #17 use regex validate will panic
- ➕ add more unit tests
- ⚡️ update readme
-
v1.1.2 Changes
August 25, 2019- 🛠 fix: call rule.beforeFunc position is error
- ➕ add more unit tests
- ⚡️ update readme
-
v1.1.1 Changes
June 03, 2019