Skip to content

Releases: enylin/taiwan-id-validator

v2.0.0-0

26 May 22:55
b599313
Compare
Choose a tag to compare
v2.0.0-0 Pre-release
Pre-release

What's Changed

Bug Fixes

  • api: remove redundant national id and ui number functions to simplify codebase (8c98911)
  • ban: rename GUI number to BAN to align with official government terminology (7e461de)
  • cdc: rename isCitizenDigitalCertificateNumber to isCdcNumber to simplify API call (9b7dc6a)
  • donate-code: rename isEInvoiceDonateCode to isDonateCode to simplify API call (4f6e105)
  • eslint: fix typescript type indent rules conflict issue between prettier and eslint (77860c8)
  • gui: use object as function parameter to extend options (8ed1bb7)
  • mobile-barcode: rename isEInvoiceCellPhoneBarcode to align with official government terminology (2cff03c)
  • npm: update dependencies to address security vulnerabilities (64a1060)
  • remove function aliases (af9e339)
  • rename options key name (79fabe9)
  • use shorter names for functions (16577ee)
  • webpack: fix critical dependency warning (12b530f)

Features

  • gui: use new format rule as default validation rule (ed45d89)
  • id-card-number: support more validating options in new ui numbers (068bb1e)
  • national-id: add isIdCardNumber function (1cf788a)

BREAKING CHANGES

  • donate-code: rename isEInvoiceDonateCodeValid to isDonateCode
  • mobile-barcode: rename isEInvoiceCellPhoneBarcodeValid to isMobileBarcode
  • cdc: rename isCitizenDigitalCertificateNumberValid to isCdcNumber
  • ban: rename isGuiNumberValid to isBan
  • api: Remove isNationalIdentificationNumberValid and isResidentCertificateNumberValid
  • remove "valid" part from function names
  • all function aliases are removed
  • gui: should pass object instead of boolean to use new format
  • gui: use new rule as default rule

Full Changelog: v1.5.0...v2.0.0-0

v1.5.0

28 Dec 12:01
Compare
Choose a tag to compare

1.5.0 (2022-12-28)

Bug Fixes

  • js: replace "substr" (deprecated) by "substring" (0177111)

Features

  • credit-card: support credit card validation (669f4ff)

Full Changelog: v1.4.1...v1.5.0

v1.4.1

14 Dec 14:55
Compare
Choose a tag to compare

What's Changed

  • fix: make project compatible with es5 environment by @enylin in #25

Full Changelog: v1.4.0...v1.4.1

v1.4.0

28 Oct 06:27
Compare
Choose a tag to compare

What's Changed

  • feat(gui): support extended GUI format validation by @enylin in #22

Full Changelog: v1.3.1...v1.4.0

v1.3.1

11 Sep 16:20
Compare
Choose a tag to compare
build: release 1.3.1

v1.3.0

11 Sep 06:43
Compare
Choose a tag to compare
build: release 1.3.0

v1.2.0

22 Aug 09:22
Compare
Choose a tag to compare
build: release 1.2.0

v1.1.0

21 Aug 10:09
Compare
Choose a tag to compare

Bug Fixes

  • cdc: rename isCitizenDigitalCertificateValid to isCitizenDigitalCertificateNumberValid (4abeacc)
  • error: throw error when input format incorrect (59a0ce6)
  • eslint: fix eslint "Cannot read property 'loc' of undefined" (4daef7a)
  • test: fix typo (b5a0a78)

Features

  • alias: add function aliases (a56c256)
  • resident-certificate: support new resident certificate format (245441e)

Release 0.0.9

11 Apr 04:51
Compare
Choose a tag to compare
release 0.0.9

Release 0.0.7

02 Apr 09:56
Compare
Choose a tag to compare
release 0.0.7