Skip to content

Releases: ValkyrieStudios/validator

9.19.0

21 Jul 14:38
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @valkyriestudios/utils to 12.17.0
  • deps: Upgrade @types/node to 20.14.11
  • deps: Upgrade @typescript-eslint/eslint-plugin to 7.16.1
  • deps: Upgrade @typescript-eslint/parser to 7.16.1

9.18.0

16 Jul 00:28
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @valkyriestudios/utils to 12.14.0

9.17.0

15 Jul 21:35
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @valkyriestudios/utils to 12.13.0

9.16.0

07 Jul 15:29
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @valkyriestudios/utils to 12.12.0
  • deps: Upgrade @types/node to 20.14.10
  • misc: Remove 'use strict' statements in favor of strict: true as part of tsconfig

9.15.0

04 Jul 20:22
Compare
Choose a tag to compare

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

02 Jun 13:33
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @valkyriestudios/utils to 12.10.0

9.13.0

01 Jun 12:30
Compare
Choose a tag to compare

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

27 May 07:15
Compare
Choose a tag to compare

Improved

  • deps: Upgrade @typescript-eslint/eslint-plugin to 7.10.0
  • deps: Upgrade @typescript-eslint/parser to 7.10.0
  • deps: Upgrade @valkyriestudios/utils to 12.9.0

9.11.0

18 May 11:39
Compare
Choose a tag to compare

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

02 May 20:55
Compare
Choose a tag to compare

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