validators breaking changes
Updated December 4, 2026
On this page
Latest version 0.36.0, released October 11, 2026. Source repository
Its 0.36.0 release requires Python 3.11 or later. Python end of life dates.
validators 0.36.0 breaking changes
- Removed
Python 3.11 or newer is now required. Users on Python 3.9 or 3.10 must upgrade their interpreter. github.com - Behavior changed
base16
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
base32
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
base58
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
base64
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
cusip
Values without a numeric check digit are now rejected. github.com - Behavior changed
domain
Domains with an underscore in the last label are now rejected. github.com - Behavior changed
eth_address
Addresses containing non-hexadecimal characters are now rejected. github.com - Behavior changed
fr_ssn
A comma is no longer accepted as the gender or Corsica department character. github.com - Behavior changed
ind_pan
Values that only partly match the PAN format are now rejected. github.com - Behavior changed
isin
ISINs with an incorrect check digit are now rejected. Lowercase ISINs are still accepted. github.com - Behavior changed
mac_address
MAC addresses that mix separators are now rejected. github.com - Behavior changed
mastercard
Only the 2221-2720 range of the 2-series BINs is now accepted. github.com - Behavior changed
md5
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
sedol
Values without a numeric check digit are now rejected. github.com - Behavior changed
sha1
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
sha224
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
sha256
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
sha384
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
sha512
Inputs with trailing characters, such as a trailing newline, are now rejected. github.com - Behavior changed
slug
Slugs with a trailing newline are now rejected. github.com
validators 0.35.0 breaking changes
- Removed
Python 3.8 is no longer supported in this release, so users on Python 3.8 must stay on 0.34.0 or upgrade their Python. github.com - Signature changed
validators.uri.url
Was def url(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, simple_host: bool = False, strict_query: bool = True, consider_tld: bool = False, private: Optional[bool] = None... pypi.org - Signature changed
validators.url.url
Was def url(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, simple_host: bool = False, strict_query: bool = True, consider_tld: bool = False, private: Optional[bool] = None... pypi.org
validators 0.29.0 breaking changes
- Removed
btc_address
btc_address was moved to crypto_addresses; code importing btc_address must switch to crypto_addresses. github.com - Removed
validators.btc_address.validator
validators.btc_address.validator was removed in validators 0.29.0 pypi.org - Renamed
validators.btc_address.btc_address
Use validators.crypto_addresses.btc_address.btc_address instead. pypi.org - Signature changed
validators.btc_address
Was module validators.btc_address; now module validators.crypto_addresses.btc_address. pypi.org
validators 0.28.0 breaking changes
- Removed
validators.country_code.alpha_2
validators.country_code.alpha_2 was removed in validators 0.28.0 pypi.org - Removed
validators.country_code.alpha_3
validators.country_code.alpha_3 was removed in validators 0.28.0 pypi.org - Removed
validators.country_code.country_code
validators.country_code.country_code was removed in validators 0.28.0 pypi.org - Removed
validators.country_code.get_code_type
validators.country_code.get_code_type was removed in validators 0.28.0 pypi.org - Removed
validators.country_code.numeric
validators.country_code.numeric was removed in validators 0.28.0 pypi.org - Removed
validators.country_code.validator
validators.country_code.validator was removed in validators 0.28.0 pypi.org - Renamed
country_code
The country_code module was moved to a new country module. Update imports from country_code to country. github.com - Signature changed
validators.country_code
Was module validators.country_code; now def country_code(value: str, /, *, iso_format: str = 'auto', ignore_case: bool = False). pypi.org - Signature changed
validators.domain.domain
Was def domain(value: str, /, *, rfc_1034: bool = False, rfc_2782: bool = False); now def domain(value: str, /, *, consider_tld: bool = False, rfc_1034: bool = False, rfc_2782: bool = False). pypi.org - Signature changed
validators.email.hostname
Was def hostname(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, maybe_simple: bool = True, private: Optional[bool] = None, rfc_1034: bool = False, rfc_2782: bool = False); now def... pypi.org
And 4 more in this version. Sign up to see every change
validators 0.27.0 breaking changes
- Renamed
validators.hashes.base58
The base58 validator moved into encoding. Update code that imports or calls it from its old location to use encoding instead. pypi.org - Renamed
validators.hashes.base64
The base64 validator moved into encoding. Update code that imports or calls it from its old location to use encoding instead. pypi.org - Signature changed
validators.email.hostname
Was def hostname(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, maybe_simple: bool = True, rfc_1034: bool = False, rfc_2782: bool = False); now def hostname(value: str, /, *... pypi.org - Signature changed
validators.hostname.hostname
Was def hostname(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, maybe_simple: bool = True, rfc_1034: bool = False, rfc_2782: bool = False); now def hostname(value: str, /, *... pypi.org - Signature changed
validators.ip_address.ipv4
Was def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False, host_bit: bool = True); now def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False, private: Optional[bool] = None, host_bit: bool = True). pypi.org - Signature changed
validators.ipv4
Was def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False, host_bit: bool = True); now def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False, private: Optional[bool] = None, host_bit: bool = True). pypi.org - Signature changed
validators.url.url
Was def url(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, simple_host: bool = False, strict_query: bool = True, rfc_1034: bool = False, rfc_2782: bool = False); now def url(value... pypi.org
validators 0.25.0 breaking changes
- Behavior changed
domain
The domain validator now gives more consistent results across RFCs, so some inputs may now validate differently. Check code that relies on domain validation results. github.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
validators 0.24.0 breaking changes
- Behavior changed
The release changes when validation failures raise ValidationError. Code that relies on the previous return or raise behavior should be checked. github.com
validators 0.23.0 breaking changes
- Signature changed
validators.url.url
Was def url(value: str, /, *, skip_ipv6_addr: bool = False, skip_ipv4_addr: bool = False, may_have_port: bool = True, simple_host: bool = False, rfc_1034: bool = False, rfc_2782: bool = False); now def url(value: str, /, *, skip_ipv6_addr... pypi.org
validators 0.22.0 breaking changes
- Signature changed
validators.ip_address.ipv4
Was def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False); now def ipv4(value: str, /, *, cidr: bool = True, strict: bool = False, host_bit: bool = True). pypi.org - Signature changed
validators.ip_address.ipv6
Was def ipv6(value: str, /, *, cidr: bool = True, strict: bool = False); now def ipv6(value: str, /, *, cidr: bool = True, strict: bool = False, host_bit: bool = True). pypi.org
And 2 more in this version.
validators 0.21.0 breaking changes
- Removed
Python versions below 3.8 are no longer supported. Code running on those versions must upgrade Python. github.com - Removed
extremes.py
The extremes.py module is renamed to _extremes.py and is no longer exposed. Code importing it must stop doing so. github.com
And 102 more in this version.
validators 0.20.0 breaking changes
- Behavior changed
ipv4
Addresses with digit groups of unexpected length may now fail validation. Check inputs that previously passed ipv4 validation. github.com
validators 0.19.0 breaking changes
- Removed
Python 3.4 is no longer supported. Code that must run on Python 3.4 should stay on the 0.18.x releases. github.com - Removed
validators.domain.text_type
validators.domain.text_type was removed in validators 0.19.0 pypi.org
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.