Releases: ValkyrieStudios/validator
Releases · ValkyrieStudios/validator
9.19.0
9.18.0
9.17.0
9.16.0
9.15.0
Improved
- perf: ~5-10% performance improvement for coldstart validate/check validators
- perf: ~5% performance improvement on validate with existing validator instances
- deps: Upgrade @valkyriestudios/utils to 12.11.0
- deps: Upgrade @types/node to 20.14.9
- deps: Upgrade @typescript-eslint/eslint-plugin to 7.15.0
- deps: Upgrade @typescript-eslint/parser to 7.15.0
- deps: Upgrade nyc to 17.0.0
- deps: Upgrade typescript to 5.5.3
9.14.0
9.13.0
Added
- feat:
url_vid
rule as a way to validate whether or not a value is a valid video url - feat:
url_aud
rule as a way to validate whether or not a value is a valid audio url - feat:
url_med
rule as a way to validate whether or not a value is either a valid video/image/audio url - dx: functions/vContinent now exports a Continent type
- dx: functions/vCountry now exports a CountryAlpha2 type
- dx: functions/vCountryAlpha3 now exports a CountryAlpha3 type
- dx: functions/vTimeZone now exports a TimeZone type
Improved
- dx: functions/vContinent now has a more refined typeguard working with a union type
- dx: functions/vCountry now has a more refined typeguard working with a union type
- dx: functions/vCountryAlpha3 now has a more refined typeguard working with a union type
- dx: functions/vTimeZone now has a more refined typeguard working with a union type
- dx: Validator.rules.integer now has a typeguard behind it
- dx: Validator.rules.number now has a typeguard behind it
- deps: Upgrade @types/node to 20.13.0
- deps: Upgrade @typescript-eslint/eslint-plugin to 7.11.0
- deps: Upgrade @typescript-eslint/parser to 7.11.0
9.12.0
9.11.0
Added
- feat:
base64
rule as a way to validate whether or not a value is a valid base64 encoded string
Improved
- perf: ~6-8% performance improvement in phone validation rule thanks to reduction in unnecessary internal operations
- deps: Upgrade @types/node to 20.12.2
- deps: Upgrade @typescript-eslint/eslint-plugin to 7.9.0
- deps: Upgrade @typescript-eslint/parser to 7.9.0
- deps: Upgrade @valkyriestudios/utils to 12.8.0
9.10.0
Improved
- dx: functions/vAlphaNumSpaces now acts as a typeguard
- dx: functions/vAlphaNumSpacesMultiline now acts as a typeguard
- dx: functions/vColorHex now acts as a typeguard
- dx: functions/vContinent now acts as a typeguard
- dx: functions/vCountry now acts as a typeguard
- dx: functions/vCountryAlpha3 now acts as a typeguard
- dx: functions/vDateString now acts as a typeguard
- dx: functions/vEmail now acts as a typeguard
- dx: functions/vFalse now acts as a typeguard
- dx: functions/vGeoLatitude now acts as a typeguard
- dx: functions/vGeoLongitude now acts as a typeguard
- dx: functions/vGuid now acts as a typeguard
- dx: functions/vPhone now acts as a typeguard
- dx: functions/vSysIPv4 now acts as a typeguard
- dx: functions/vSysIPv4_or_v6 now acts as a typeguard
- dx: functions/vSysIPv6 now acts as a typeguard
- dx: functions/vSysMac now acts as a typeguard
- dx: functions/vSysPort now acts as a typeguard
- dx: functions/vTimeZone now acts as a typeguard
- dx: functions/vTrue now acts as a typeguard
- dx: functions/vUrl now acts as a typeguard
- dx: functions/vUrlImage now acts as a typeguard
- dx: functions/vUrlNoQuery now acts as a typeguard