Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release staging: November 2021 release (13.7.0) #1853

Closed
wants to merge 69 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
d1a9b6d
fix(isISO8601): disallow prepended and appended strings to RFC 3339 d…
Apr 21, 2021
907bb07
feat: added support for indonesian passport number (#1656)
rubiin May 24, 2021
2595554
feat: Export list of country codes that implement IBAN (#1669)
drorheller Jul 16, 2021
b82d4e1
feat:(isMobilePhone): add mobile number prefix 162 and 165 to zh-CN l…
laulujan Jul 16, 2021
c87956a
feat(isLicensePlate): Add Czech license plates (#1565)
filiptronicek Jul 16, 2021
044159d
feat(isBoolean) Add loose option to isBoolean validator (#1676)
Jul 16, 2021
01eeaef
feat(isMobilePhone): change the german prefix from '+490' to '+49' or…
AnnaMariaJansen Jul 16, 2021
cff8a2e
fix: npm installation error (#1697)
rubiin Jul 16, 2021
e08e79a
fix(sMobilePhone): regexp for Vietnamese phone number (#1689)
luisrivas Jul 16, 2021
d36f79c
chore: Increase coverage and make codecov more precise (#1658)
tux-tn Jul 16, 2021
f5f4fcd
feat(isIdentityCard): add TH (Thai) (#1657)
tithanayut Jul 16, 2021
8c4b3b3
chore: update pull_request_template.md (#1699)
fedeci Jul 19, 2021
5b04cc5
perf(isISO31661Alpha2): use a Set along with .has instead of includes…
jmpaya Sep 20, 2021
7376945
fix(isMagnetURI): update validation regex (#1730)
tux-tn Sep 21, 2021
f34112d
feat(isISO4217): add currency code validator (#1706)
jmpaya Sep 26, 2021
5b649c6
perf(isISO31661Alpha3): use a Set along with .has instead of includes…
jmpaya Sep 26, 2021
b0d49bd
fix(isDate): fix isdate format validation (#1711)
flymans Sep 26, 2021
69881b6
feat(isPassportNumber): fix regex for CN (#1714)
anirudhgiri Sep 26, 2021
e84623b
feat(isCreditCard): Fixed regex for Union Pay Credit cards with 81 ra…
shreyassai123 Sep 26, 2021
b069167
feat(isAlpha, isAlphanumeric): Adds Hindi (hi-IN) language support ad…
mikr13 Sep 26, 2021
a3497bd
fix(isEmail): replace all dots in gmail length validation (#1718)
DasDingGehtNicht Sep 26, 2021
326cfb9
feat(isURL): add `allow_fragments` and `allow_query_components` (#1721)
cowboy-bebug Sep 26, 2021
c899b31
feat(isMobilePhone): add validation for Venezuela phone numbers (#172…
islasjuanp Sep 26, 2021
05e382b
refactor: run scripts in parallel for build and clean (#1747)
sachinraja Oct 2, 2021
04b73ad
feat(isEmail): add `host_blacklist` option (#1641)
fedeci Oct 2, 2021
f2a1587
feat(isIdentityCard): Add PL locale (#1745)
wiktorwojcik112 Oct 2, 2021
4ec30b7
fix(isMobilePhone.js): regex for Belgium locale (#1746)
divikshrivastava Oct 2, 2021
13651ea
feat(isUrl): higher priority to whitelist (#1748)
deepanshu2506 Oct 5, 2021
622184e
feat(isFQDN): add `allow_wildcard` option (#1647)
fasenderos Oct 30, 2021
6b213cf
fix(isMobilePhone): use a loose and future-oriented way to verify Chi…
yisibl Oct 30, 2021
60dffb9
fix(isUrl): allow url with column and no port (#1751)
MatteoPierro Oct 30, 2021
29ed3a0
feat(isMobilePhone): add Cuba validation (#1765)
pasagedev Oct 30, 2021
9347d6d
fix(isUUID): fix for null version argument supply (#1777)
theteladras Oct 30, 2021
050a424
fix(isMobilePhone): regex for Pakistan(PK) (#1778)
hammad20120 Oct 30, 2021
5ed7db1
fix(isMobilePhone): update Sri Lanka locale (#1785)
Madhavi96 Oct 30, 2021
dc9f843
feat(isIdentityCard): add 'LK' (Sri Lanka) locale (#1786)
nimanthadilz Oct 30, 2021
8451206
feat(isPostalCode): add `LK` (Sri Lanka) locale (#1788)
nimanthadilz Oct 30, 2021
526417a
feat(isLicensePlate): add finnish locale (#1790)
Marcholio Oct 30, 2021
6eed6a4
fix(isFQDN): check more special chars (#1799)
MatteoPierro Oct 30, 2021
a837e6f
fix(isPassportNumber): update Poland country code (#1809)
Ronqn Oct 30, 2021
ba4106f
fix(isMobilePhone): update Hungarian locale (#1826)
danielTiringer Oct 30, 2021
c42b2d9
feat(isMobilePhone): add Bermuda en-BM locale (#1769)
HackProAIT Oct 30, 2021
7835db1
fix(docs): add missing locale (#1845)
profnandaa Oct 30, 2021
28f899d
feat(isUrl): urls with empty user (#1833)
MiguelSavignano Oct 30, 2021
3fcf768
fix(unescape): fixed bug where intermediate string contains escaped c…
Marcholio Oct 30, 2021
2201869
feat: added finnish locale to isAlpha and isAlphanumeric (#1837)
Marcholio Oct 30, 2021
57cc14e
feat(isIdentityCard): add finnish locale (#1838)
Marcholio Oct 30, 2021
7bee611
add CDN use option with unpkg (#1844)
Oct 30, 2021
de1cb29
fix: Russian passport number regex (#1810)
Theta-Dev Oct 30, 2021
5773869
feat(isVAT): add dutch NL locale (#1825)
zeno4ever Oct 30, 2021
f2381e0
feat: (isMobilePhone): add Cameroon fr-CM locale (#1772)
tarob0ba Oct 31, 2021
769f6d5
feat(contains): add possibility to check that string contains seed mu…
Marcholio Oct 31, 2021
af2b43c
feat(isUUID): add support for validation of version v1 and v2 (#1848)
theteladras Oct 31, 2021
01d3da3
feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
mgnss Oct 31, 2021
fc0fefc
feat(isMobilePhone): add Bhutan dz-BT locale (#1770)
lakshayr003 Oct 31, 2021
5c2d69e
feat(isMobilePhone): regex for Burkina Faso fr-BF and Namibia en-NA l…
ZeeMangena Oct 23, 2021
c96d805
feat(isMobilePhone): add Maldives dv-MV locale
Prajwalrajbasnet Oct 25, 2021
ed60123
feat(isMobilePhone): add Tajikistan tg-TJ locale (#1846)
mgnss Oct 31, 2021
8627e48
feat(isMobilePhone): add Kiribati en-KI locale
c-tanner Oct 22, 2021
f7ff349
feat(isMobilePhone): add Frech Polynesia fr-PF locale
hereje Oct 16, 2021
0e5d5d4
feat(isMobilePhone): add Guyana en-GY locale
mfkrause Oct 12, 2021
26605f9
feat(isMobilePhone): add Turkmenistan tk-TM
husan-eshonqulov Oct 12, 2021
a3faa83
feat(isMobilePhone): add Botswana en-BW locale
mgndolan Oct 10, 2021
5b06703
feat(isMobilePhone): add Palestine ar-PS locale
brendan-c Oct 9, 2021
f17e220
feat(isMobilePhone): add El Salvador es-SV locale
hereje Oct 9, 2021
83cb7f8
chore: merge conflict clean-up
profnandaa Oct 31, 2021
45901ec
Merge pull request #1851 from validatorjs/chore/fix-merge-conflicts
profnandaa Oct 31, 2021
496fc8b
fix(rtrim): remove regex to prevent ReDOS attack (#1738)
tux-tn Nov 1, 2021
47ee5ad
13.7.0
profnandaa Nov 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Expand Up @@ -3,7 +3,7 @@ Add a descriptive title textbox above, e.g.
feat(validatorName): brief title of what has been done
-->

{{ briefly describe what you have done in this PR }}
<!--- briefly describe what you have done in this PR --->

## Checklist

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Expand Up @@ -23,11 +23,8 @@ jobs:
run: npm install
- name: Run tests
run: npm test
- if: matrix.node-version == 14
name: Generate coverage file
run: npm run test:ci > coverage.lcov
- if: matrix.node-version == 14
name: Send coverage info to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.lcov
file: ./coverage/cobertura-coverage.xml
89 changes: 89 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,92 @@
## 13.7.0

### New Features

- [#1706](https://github.com/validatorjs/validator.js/pull/1706) `isISO4217`, currency code validator @jpaya17

### New Features

- [#1706](https://github.com/validatorjs/validator.js/pull/1706) `isISO4217`, currency code validator @jpaya17

### Fixes and Enhancements

- [#1647](https://github.com/validatorjs/validator.js/pull/1647) `isFQDN`: add `allow_wildcard` option @fasenderos
- [#1654](https://github.com/validatorjs/validator.js/pull/1654) `isRFC3339`: Disallow prepended and appended strings to RFC 3339 date-time @jmacmahon
- [#1658](https://github.com/validatorjs/validator.js/pull/1658) maintenance: increase code coverage @tux-tn
- [#1669](https://github.com/validatorjs/validator.js/pull/1669) `IBAN` export list of country codes that implement IBAN @dror-heller @fedeci
- [#1676](https://github.com/validatorjs/validator.js/pull/1676) `isBoolean`: add `loose` option @brybrophy
- [#1697](https://github.com/validatorjs/validator.js/pull/1697) maintenance: fix npm installation error @rubiin
- [#1708](https://github.com/validatorjs/validator.js/pull/1708) `isISO31661Alpha3`: perf @jpaya17
- [#1711](https://github.com/validatorjs/validator.js/pull/1711) `isDate`: allow users to strictly validate dates with `.` as delimiter @flymans
- [#1715](https://github.com/validatorjs/validator.js/pull/1715) `isCreditCard`: fix for Union Pay cards @shreyassai123
- [#1718](https://github.com/validatorjs/validator.js/pull/1718) `isEmail`: replace all dots in GMail length validation @DasDingGehtNicht
- [#1721](https://github.com/validatorjs/validator.js/pull/1721) `isURL`: add `allow_fragments` and `allow_query_components` @cowboy-bebug
- [#1724](https://github.com/validatorjs/validator.js/pull/1724) `isISO31661Alpha2`: perf @jpaya17
- [#1730](https://github.com/validatorjs/validator.js/pull/1730) `isMagnetURI` @tux-tn
- [#1738](https://github.com/validatorjs/validator.js/pull/1738) `rtrim`: remove regex to prevent ReDOS attack @tux-tn
- [#1747](https://github.com/validatorjs/validator.js/pull/1747) maintenance: run scripts in parallel for build and clean @sachinraja
- [#1748](https://github.com/validatorjs/validator.js/pull/1748) `isURL`: higher priority to `whitelist` @deepanshu2506
- [#1751](https://github.com/validatorjs/validator.js/pull/1751) `isURL`: allow url with colon and no port @MatteoPierro
- [#1777](https://github.com/validatorjs/validator.js/pull/1777) `isUUID`: fix for `null` version argument @theteladras
- [#1799](https://github.com/validatorjs/validator.js/pull/1799) `isFQDN`: check more special chars @MatteoPierro
- [#1833](https://github.com/validatorjs/validator.js/pull/1833) `isURL`: allow URL with an empty user @MiguelSavignano
- [#1835](https://github.com/validatorjs/validator.js/pull/1835) `unescape`: fixed bug where intermediate string contains escaped @Marcholio
- [#1836](https://github.com/validatorjs/validator.js/pull/1836) `contains`: can check that string contains seed multiple times @Marcholio
- [#1844](https://github.com/validatorjs/validator.js/pull/1844) docs: add CDN instructions @luiscobits
- [#1848](https://github.com/validatorjs/validator.js/pull/1848) `isUUID`: add support for validation of `v1` and `v2` @theteladras
- [#1941](https://github.com/validatorjs/validator.js/pull/1641) `isEmail`: add `host_blacklist` option @fedeci

### New and Improved Locales

- `isAlpha`, `isAlphanumeric`:
- [#1716](https://github.com/validatorjs/validator.js/pull/1716) `hi-IN` @MiKr13
- [#1837](https://github.com/validatorjs/validator.js/pull/1837) `fi-FI` @Marcholio

- `isPassportNumber`:
- [#1656](https://github.com/validatorjs/validator.js/pull/1656) `ID` @rubiin
- [#1714](https://github.com/validatorjs/validator.js/pull/1714) `CN` @anirudhgiri
- [#1809](https://github.com/validatorjs/validator.js/pull/1809) `PL` @Ronqn
- [#1810](https://github.com/validatorjs/validator.js/pull/1810) `RU` @Theta-Dev

- `isPostalCode`:
- [#1788](https://github.com/validatorjs/validator.js/pull/1788) `LK` @nimanthadilz

- `isIdentityCard`:
- [#1657](https://github.com/validatorjs/validator.js/pull/1657) `TH` @tithanayut
- [#1745](https://github.com/validatorjs/validator.js/pull/1745) `PL` @wiktorwojcik112 @fedeci @tux-tn
- [#1786](https://github.com/validatorjs/validator.js/pull/1786) `LK` @nimanthadilz @tux-tn
- [#1838](https://github.com/validatorjs/validator.js/pull/1838) `FI` @Marcholio

- `isMobilePhone`:
- [#1679](https://github.com/validatorjs/validator.js/pull/1679) `de-DE` @AnnaMariaJansen
- [#1689](https://github.com/validatorjs/validator.js/pull/1689) `vi-VN` @luisrivas
- [#1695](https://github.com/validatorjs/validator.js/pull/1695) [#1682](https://github.com/validatorjs/validator.js/pull/1682) `zh-CN` @laulujan @yisibl
- [#1734](https://github.com/validatorjs/validator.js/pull/1734) `es-VE` @islasjuanp
- [#1746](https://github.com/validatorjs/validator.js/pull/1746) `nl-BE` @divikshrivastava
- [#1765](https://github.com/validatorjs/validator.js/pull/1765) `es-CU` @pasagedev
- [#1766](https://github.com/validatorjs/validator.js/pull/1766) `es-SV`, @hereje
- [#1767](https://github.com/validatorjs/validator.js/pull/1767) `ar-PS`, @brendan-c
- [#1769](https://github.com/validatorjs/validator.js/pull/1769) `en-BM` @HackProAIT
- [#1770](https://github.com/validatorjs/validator.js/pull/1770) `dz-BT` @lakshayr003
- [#1771](https://github.com/validatorjs/validator.js/pull/1771) `en-BW`, @mgndolan
- [#1772](https://github.com/validatorjs/validator.js/pull/1772) `fr-CM` @beckettnormington
- [#1778](https://github.com/validatorjs/validator.js/pull/1778) `en-PK` @ammad20120 @tux-tn
- [#1780](https://github.com/validatorjs/validator.js/pull/1780) `tk-TM`, @Husan-Eshonqulov
- [#1784](https://github.com/validatorjs/validator.js/pull/1784) `en-GY`, @mfkrause
- [#1785](https://github.com/validatorjs/validator.js/pull/1785) `si-LK` @Madhavi96
- [#1797](https://github.com/validatorjs/validator.js/pull/1797) `fr-PF`, @hereje
- [#1820](https://github.com/validatorjs/validator.js/pull/1820) `en-KI`, @c-tanner
- [#1826](https://github.com/validatorjs/validator.js/pull/1826) `hu-HU` @danielTiringer
- [#1834](https://github.com/validatorjs/validator.js/pull/1834) `fr-BF`, `en-NA` @lakshayr003
- [#1846](https://github.com/validatorjs/validator.js/pull/1846) `tg-TJ` @mgnss

- `isLicensePlate`:
- [#1565](https://github.com/validatorjs/validator.js/pull/1565) `cs-CZ` @filiptronicek
- [#1790](https://github.com/validatorjs/validator.js/pull/1790) `fi-FI` @Marcholio

- `isVAT`:
- [#1825](https://github.com/validatorjs/validator.js/pull/1825) `NL` @zeno4ever

#### 13.6.1

- **New features**:
Expand Down