Skip to content

Commit 53300dc

Browse files
committed
chore: prepare for release 0.36.0
1 parent cd6facb commit 53300dc

5 files changed

Lines changed: 42 additions & 7 deletions

File tree

‎CHANGES.md‎

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,46 @@ Note to self: Breaking changes must increment either
99
1010
-->
1111

12-
## Unreleased
12+
## 0.36.0 (2026-10-10)
1313

14-
_**Fixes**_
14+
_**Breaking**_ ⚠️
15+
16+
* Drops support for Python `v3.9` and `v3.10`. Python `v3.11` or newer is required. ([#488](https://github.com/python-validators/validators/pull/488))
17+
* Stricter validation: the following inputs, previously accepted by mistake, are now rejected.
18+
* `isin()` now verifies the check digit, which was previously ignored. Lowercase ISINs are still accepted. ([#464](https://github.com/python-validators/validators/pull/464))
19+
* `cusip()` and `sedol()` require a numeric check digit. ([#487](https://github.com/python-validators/validators/pull/487))
20+
* `md5()`, `sha1()`, `sha224()`, `sha256()`, `sha384()`, `sha512()`, `base16()`, `base32()`, `base58()` and `base64()` reject trailing characters, such as a trailing newline. ([#486](https://github.com/python-validators/validators/pull/486))
21+
* `ind_pan()` requires a full-string match. ([#478](https://github.com/python-validators/validators/pull/478))
22+
* `fr_ssn()` no longer accepts a comma as the gender or Corsica department character. ([#469](https://github.com/python-validators/validators/pull/469), merged as [#491](https://github.com/python-validators/validators/pull/491))
23+
* `domain()` rejects an underscore in the last label ([#485](https://github.com/python-validators/validators/pull/485)) and names longer than 253 octets once IDNA-encoded, as defined by RFC 1035. ([#461](https://github.com/python-validators/validators/pull/461))
24+
* `mastercard()` accepts only the 2221-2720 range of the 2-series BINs. ([#467](https://github.com/python-validators/validators/pull/467))
25+
* `eth_address()` rejects non-hexadecimal characters. ([#466](https://github.com/python-validators/validators/pull/466))
26+
* `mac_address()` rejects mixed separators. ([#432](https://github.com/python-validators/validators/pull/432))
27+
* `slug()` rejects a trailing newline, and telnet URIs reject control characters. ([#492](https://github.com/python-validators/validators/pull/492))
28+
29+
_**Features**_
30+
31+
* feat(uri): add telnet URI validation per RFC 4248 by @tofetpuzo in [#446](https://github.com/python-validators/validators/pull/446)
32+
* Accept `file://` URLs per RFC 8089 by @itzzdev09 in [#483](https://github.com/python-validators/validators/pull/483)
33+
* cron: accept a step over a range (e.g. `1-5/2`) and in list items by @itzzdev09 in [#482](https://github.com/python-validators/validators/pull/482)
34+
* Accept lowercase IBANs in `iban()` by @sayantanmandal1 in [#471](https://github.com/python-validators/validators/pull/471)
35+
* fix(cron): accept day-of-week `7` as a Sunday alias by @binggao1230 in [#470](https://github.com/python-validators/validators/pull/470)
36+
* Accept a trailing dot on simple hostnames with `rfc_1034` by @assinscreedFC in [#462](https://github.com/python-validators/validators/pull/462)
37+
* fix(crypto_addresses): accept testnet (`tb`) segwit addresses by @Jordan-Bourillot in [#466](https://github.com/python-validators/validators/pull/466)
38+
39+
_**Maintenance**_
1540

16-
* Reject an underscore in the last domain label. ([#484](https://github.com/python-validators/validators/issues/484))
41+
* chore(deps): bump requests from 2.32.3 to 2.32.4 in /package by @dependabot in [#430](https://github.com/python-validators/validators/pull/430)
42+
* fix: reject MAC addresses with mixed separators by @iCasture in [#432](https://github.com/python-validators/validators/pull/432)
43+
* feat: Optimize slug. Extend tests. by @welder87 in [#439](https://github.com/python-validators/validators/pull/439)
44+
* chore: update codebase to reflect new username by @nandgator in [#447](https://github.com/python-validators/validators/pull/447)
45+
* docs: correct PossibleValueTypes note in between to include None by @SAY-5 in [#460](https://github.com/python-validators/validators/pull/460)
46+
* chore!: drop Python 3.9 and 3.10, bump vulnerable dev dependencies by @nandgator in [#488](https://github.com/python-validators/validators/pull/488)
47+
* fix: restore certifi and jinja2 pins downgraded by stale lock by @nandgator in [#489](https://github.com/python-validators/validators/pull/489)
48+
* chore: use native pyproject config for tox and pytest by @nandgator in [#490](https://github.com/python-validators/validators/pull/490)
49+
* test: cover RFC length limits for domain() and hostname() by @nandgator in [#493](https://github.com/python-validators/validators/pull/493)
50+
51+
**Full Changelog**: [`0.35.0...0.36.0`](https://github.com/python-validators/validators/compare/0.35.0...0.36.0)
1752

1853
## 0.35.0 (2025-05-01)
1954

‎LICENSE.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013 - 2025 Konsta Vesterinen
3+
Copyright (c) 2013 - 2026 Konsta Vesterinen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

‎SECURITY.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Version | Supported |
66
| ---------- | ------------------ |
7-
| `>=0.35.0` | :white_check_mark: |
7+
| `>=0.36.0` | :white_check_mark: |
88

99
## Reporting a Vulnerability
1010

‎mkdocs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extra:
6363
provider: mike
6464
default: stable
6565

66-
copyright: Copyright © 2013 - 2025 Konsta Vesterinen
66+
copyright: Copyright © 2013 - 2026 Konsta Vesterinen
6767

6868
nav:
6969
- Home: index.md

‎src/validators/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@
112112
"validator",
113113
)
114114

115-
__version__ = "0.35.0"
115+
__version__ = "0.36.0"

0 commit comments

Comments
 (0)