Skip to content

Commit 4aa94c6

Browse files
committed
maint: rectifies changelog
1 parent c2d3fb7 commit 4aa94c6

File tree

20 files changed

+129
-175
lines changed

20 files changed

+129
-175
lines changed

CHANGES.md

Lines changed: 122 additions & 72 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ True
3333
[sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml
3434
[pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg
3535
[pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml
36-
[docs-badge]: https://github.com/python-validators/validators/actions/workflows/docs.yaml/badge.svg
37-
[docs-link]: https://github.com/python-validators/validators/actions/workflows/docs.yaml
36+
[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
37+
[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment
3838
[vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue
3939
[vs-link]: https://pypi.python.org/pypi/validators/
4040
[dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ True
3333
[sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml
3434
[pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg
3535
[pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml
36-
[docs-badge]: https://github.com/python-validators/validators/actions/workflows/docs.yaml/badge.svg
37-
[docs-link]: https://github.com/python-validators/validators/actions/workflows/docs.yaml
36+
[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
37+
[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment
3838
[vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue
3939
[vs-link]: https://pypi.python.org/pypi/validators/
4040
[dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue

src/validators/_extremes.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class AbsMax:
1919
# Output: True
2020
>>> AbsMax > 99999999999999999
2121
# Output: True
22-
23-
> *New in version 0.2.0*.
2422
"""
2523

2624
def __ge__(self, other: Any):
@@ -42,8 +40,6 @@ class AbsMin:
4240
# Output: True
4341
>>> AbsMin < ''
4442
# Output: True
45-
46-
> *New in version 0.2.0*.
4743
"""
4844

4945
def __le__(self, other: Any):

src/validators/btc_address.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def btc_address(value: str, /):
4646
If `value` is a valid bitcoin address.
4747
(ValidationError):
4848
If `value` is an invalid bitcoin address.
49-
50-
> *New in version 0.18.0*.
5149
"""
5250
if not value:
5351
return False

src/validators/card.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def card_number(value: str, /):
3030
If `value` is a valid generic card number.
3131
(ValidationError):
3232
If `value` is an invalid generic card number.
33-
34-
> *New in version 0.15.0*.
3533
"""
3634
if not value:
3735
return False
@@ -63,8 +61,6 @@ def visa(value: str, /):
6361
If `value` is a valid Visa card number.
6462
(ValidationError):
6563
If `value` is an invalid Visa card number.
66-
67-
> *New in version 0.15.0*.
6864
"""
6965
pattern = re.compile(r"^4")
7066
return card_number(value) and len(value) == 16 and pattern.match(value)
@@ -89,8 +85,6 @@ def mastercard(value: str, /):
8985
If `value` is a valid Mastercard card number.
9086
(ValidationError):
9187
If `value` is an invalid Mastercard card number.
92-
93-
> *New in version 0.15.0*.
9488
"""
9589
pattern = re.compile(r"^(51|52|53|54|55|22|23|24|25|26|27)")
9690
return card_number(value) and len(value) == 16 and pattern.match(value)
@@ -115,8 +109,6 @@ def amex(value: str, /):
115109
If `value` is a valid American Express card number.
116110
(ValidationError):
117111
If `value` is an invalid American Express card number.
118-
119-
> *New in version 0.15.0*.
120112
"""
121113
pattern = re.compile(r"^(34|37)")
122114
return card_number(value) and len(value) == 15 and pattern.match(value)
@@ -141,8 +133,6 @@ def unionpay(value: str, /):
141133
If `value` is a valid UnionPay card number.
142134
(ValidationError):
143135
If `value` is an invalid UnionPay card number.
144-
145-
> *New in version 0.15.0*.
146136
"""
147137
pattern = re.compile(r"^62")
148138
return card_number(value) and len(value) == 16 and pattern.match(value)
@@ -167,8 +157,6 @@ def diners(value: str, /):
167157
If `value` is a valid Diners Club card number.
168158
(ValidationError):
169159
If `value` is an invalid Diners Club card number.
170-
171-
> *New in version 0.15.0*.
172160
"""
173161
pattern = re.compile(r"^(30|36|38|39)")
174162
return card_number(value) and len(value) in {14, 16} and pattern.match(value)
@@ -193,8 +181,6 @@ def jcb(value: str, /):
193181
If `value` is a valid JCB card number.
194182
(ValidationError):
195183
If `value` is an invalid JCB card number.
196-
197-
> *New in version 0.15.0*.
198184
"""
199185
pattern = re.compile(r"^35")
200186
return card_number(value) and len(value) == 16 and pattern.match(value)
@@ -219,8 +205,6 @@ def discover(value: str, /):
219205
If `value` is a valid Discover card number.
220206
(ValidationError):
221207
If `value` is an invalid Discover card number.
222-
223-
> *New in version 0.15.0*.
224208
"""
225209
pattern = re.compile(r"^(60|64|65)")
226210
return card_number(value) and len(value) == 16 and pattern.match(value)

src/validators/domain.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ def domain(value: str, /, *, rfc_1034: bool = False, rfc_2782: bool = False):
3636
If `value` is a valid domain name.
3737
(ValidationError):
3838
If `value` is an invalid domain name.
39-
40-
Note:
41-
- *In version 0.10.0*:
42-
- Added support for internationalized domain name (IDN) validation.
43-
44-
> *New in version 0.9.0*.
4539
"""
4640
if not value:
4741
return False

src/validators/email.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ def email(
5656
If `value` is a valid eMail.
5757
(ValidationError):
5858
If `value` is an invalid eMail.
59-
60-
> *New in version 0.1.0*.
6159
"""
6260
if not value or value.count("@") != 1:
6361
return False

src/validators/hashes.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def md5(value: str, /):
2626
If `value` is a valid MD5 hash.
2727
(ValidationError):
2828
If `value` is an invalid MD5 hash.
29-
30-
> *New in version 0.12.1*
3129
"""
3230
return re.match(r"^[0-9a-f]{32}$", value, re.IGNORECASE) if value else False
3331

@@ -51,8 +49,6 @@ def sha1(value: str, /):
5149
If `value` is a valid SHA1 hash.
5250
(ValidationError):
5351
If `value` is an invalid SHA1 hash.
54-
55-
> *New in version 0.12.1*
5652
"""
5753
return re.match(r"^[0-9a-f]{40}$", value, re.IGNORECASE) if value else False
5854

@@ -76,8 +72,6 @@ def sha224(value: str, /):
7672
If `value` is a valid SHA224 hash.
7773
(ValidationError):
7874
If `value` is an invalid SHA224 hash.
79-
80-
> *New in version 0.12.1*
8175
"""
8276
return re.match(r"^[0-9a-f]{56}$", value, re.IGNORECASE) if value else False
8377

@@ -104,8 +98,6 @@ def sha256(value: str, /):
10498
If `value` is a valid SHA256 hash.
10599
(ValidationError):
106100
If `value` is an invalid SHA256 hash.
107-
108-
> *New in version 0.12.1*
109101
"""
110102
return re.match(r"^[0-9a-f]{64}$", value, re.IGNORECASE) if value else False
111103

@@ -133,7 +125,5 @@ def sha512(value: str, /):
133125
If `value` is a valid SHA512 hash.
134126
(ValidationError):
135127
If `value` is an invalid SHA512 hash.
136-
137-
> *New in version 0.12.1*
138128
"""
139129
return re.match(r"^[0-9a-f]{128}$", value, re.IGNORECASE) if value else False

src/validators/hostname.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ def hostname(
104104
If `value` is a valid hostname.
105105
(ValidationError):
106106
If `value` is an invalid hostname.
107-
108-
> *New in version 0.21.0*.
109107
"""
110108
if not value:
111109
return False

0 commit comments

Comments
 (0)