🔄Update content
| Features | Update Notes |
|---|---|
@CDateRange |
Provides LocalDateTime type support and fixes time zone issues. max date automatically supplements the last time. For example: if you enter 2022-06-30, the judgment will be 2022-06-30 23:59:59. |
| Field allowNull | All annotations are added with the null field allowNull, which defaults to true and is allowed to be empty |
🆕 New Feature
| Annotations | Description |
|---|---|
@CBankCard |
BankCard Validation |
@CUrl |
URL Validation |
@CMoney |
Money Validation |
@CMacAddress |
Mac Address Validation |
@CIpv6 |
IPv6 Validation |
🔄 Update
| Annotations | Description |
|---|---|
@Account / @Password |
Added min and max parameters, which can be used to control the minimum-maximum length |
@Domain |
Domain name rules are enhanced to support Chinese domain names and - identifiers |
New Features
- ✨ Added fast validation method in
CValid - 🔒 Provides more convenient and safer validation results
Internationalization
- 🌐 Added i18n multi-language support
Dependency Upgrades
- ⬆️
hibernate-validator: 6.2.0.Final → 6.2.5.Final - ⬆️
hutool-core: 5.8.40 → 5.8.41
Bug Fixes
- 🐞 Fixed group inheritance issue
❌ Contains group inheritance bug — not recommended
- 🗂 Updated project structure
- 🏷 Renamed some annotations
Enhancements
- 🚗 Added license plate validation
- 📄 Added file validation
Initial Release
- 🏷 Provided first 7 custom validation annotations
- 🔗 Included 5 default validation groups
- 🧰 Added manual validation utility class
- 🧪 Included test examples
If you need a version without emojis, a more compact variant, or a different visual style (badges, color blocks, or plain text), tell me which and I will generate it.