Skip to content

Latest commit

 

History

History
111 lines (55 loc) · 5.86 KB

CHANGELOG.md

File metadata and controls

111 lines (55 loc) · 5.86 KB

2.0.0-0 (2024-05-26)

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

1.5.0 (2022-12-28)

Bug Fixes

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

Features

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

1.4.1 (2021-12-14)

Bug Fixes

  • make project compatible with es5 environment (9cb9a44)

1.4.0 (2021-10-28)

Features

  • gui: support extended GUI format validation (617920a)

1.3.1 (2021-09-11)

Bug Fixes

  • nodejs: fix self is not defined issue on node js (961fd8f)

1.3.0 (2021-09-11)

1.2.0 (2021-08-22)

Features

  • input: support more types of input (5ff9b2a)

1.1.0 (2021-08-21)

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)