Skip to content

Commit

Permalink
build: release 2.0.0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
enylin committed May 26, 2024
1 parent 46b0898 commit b599313
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
# [2.0.0-0](https://github.com/enylin/taiwan-id-validator/compare/v1.5.0...v2.0.0-0) (2024-05-26)


### Bug Fixes

* **api:** remove redundant national id and ui number functions to simplify codebase ([8c98911](https://github.com/enylin/taiwan-id-validator/commit/8c989113482383df4823db495563184e0f10263d))
* **ban:** rename GUI number to BAN to align with official government terminology ([7e461de](https://github.com/enylin/taiwan-id-validator/commit/7e461de58d1379efef832634bc61b1b63508e782))
* **cdc:** rename isCitizenDigitalCertificateNumber to isCdcNumber to simplify API call ([9b7dc6a](https://github.com/enylin/taiwan-id-validator/commit/9b7dc6a172fc78509d97b652d8911a571a5b59a1))
* **donate-code:** rename isEInvoiceDonateCode to isDonateCode to simplify API call ([4f6e105](https://github.com/enylin/taiwan-id-validator/commit/4f6e1053ef5fda557a19056fd64fe42bb646f427))
* **eslint:** fix typescript type indent rules conflict issue between prettier and eslint ([77860c8](https://github.com/enylin/taiwan-id-validator/commit/77860c83918767d02de16b618038d54bc8ca0f3d))
* **gui:** use object as function parameter to extend options ([8ed1bb7](https://github.com/enylin/taiwan-id-validator/commit/8ed1bb7aadc5c43f6ae06d37c659e03cf32bc6f4))
* **mobile-barcode:** rename isEInvoiceCellPhoneBarcode to align with official government terminology ([2cff03c](https://github.com/enylin/taiwan-id-validator/commit/2cff03ce9d51332153b1e2980fc8d1557fe88780))
* **npm:** update dependencies to address security vulnerabilities ([64a1060](https://github.com/enylin/taiwan-id-validator/commit/64a1060b5d0426fa088a574fab4f67d0ffce3b63))
* remove function aliases ([af9e339](https://github.com/enylin/taiwan-id-validator/commit/af9e33906d6bf722a4f25cf60405b4618f3804e6))
* rename options key name ([79fabe9](https://github.com/enylin/taiwan-id-validator/commit/79fabe9257c7aedaf5dee5d9cc605c9eae92447b))
* use shorter names for functions ([16577ee](https://github.com/enylin/taiwan-id-validator/commit/16577ee693def6f3be8743a8cb4268255595c42e))
* **webpack:** fix critical dependency warning ([12b530f](https://github.com/enylin/taiwan-id-validator/commit/12b530fb63d5dff71cee20d5b2bead2d8890f7b7))


### Features

* **gui:** use new format rule as default validation rule ([ed45d89](https://github.com/enylin/taiwan-id-validator/commit/ed45d893a5d0c3d6667e247f87ad75a6c6757b13))
* **id-card-number:** support more validating options in new ui numbers ([068bb1e](https://github.com/enylin/taiwan-id-validator/commit/068bb1e67c55bec4e22e8891e12e87e6aadc69ee))
* **national-id:** add isIdCardNumber function ([1cf788a](https://github.com/enylin/taiwan-id-validator/commit/1cf788a96f8f46197aeafa2ca8edb1c3c9ec076b))


### 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](https://github.com/enylin/taiwan-id-validator/compare/v1.4.1...v1.5.0) (2022-12-28)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taiwan-id-validator",
"version": "1.5.0",
"version": "2.0.0-0",
"description": "中華民國統一編號、外籍人士居留證統一編號、身分證字號驗證規則、電子發票號碼等規則驗證",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit b599313

Please sign in to comment.