Releases: python-validators/validators
Releases · python-validators/validators
0.21.1
Breaking
No breaking changes were introduced in this version.
Features
No features were introduced in this version.
Maintenance
- fix:
source .venv/bin/activatebefore build by @yozachar in #260 - fix: id-token write permission at job level by @yozachar in #261
- feat: docs can be built with both sphinx & mkdocs by @yozachar in #262
- fix: improves build process by @yozachar in #263
- fix: removes 64-char limit for url path & query by @yozachar in #264
Full Changelog: 0.21.0...0.21.1
v0.21.0
Breaking
- Drops support for all Python versions below
v3.8. - Makes API's primary parameter,
positional, and the remaining,keyword-only. - Keyword-only parameters like
maxandmin, has been renamed tomax_valandmin_valrespectively. domainAPI now accepts two new keyword-only arguments:rfc_1034: bool = Falseandrfc_2782: bool = False.extremes.pyrenamed to_extremes.pyand is no longer exposed.truthywas discarded in favour of simplebool()function.ipv4_cidr()andipv6_cidr()has been dropped in favour ofcidr: bool = Trueandcidr: bool = Truekeyword-only parameters.email()API now accepts the following keyword-only arguments:simple_host: bool = False,ipv6_address: bool = False,ipv4_address: bool = False,rfc_1034: bool = Falseandrfc_2782: bool = False.
whitelist=Nonehas been removed fromemail().url()has been refactored, it accepts the following keyword-only arguments:skip_ipv6_addr: bool = False,skip_ipv4_addr: bool = False,may_have_port: bool = True,simple_host: bool = False,rfc_1034: bool = Falseandrfc_2782: bool = False.
public=Falsekeyword argument has been removed fromurl().- Exposes
i18nfunctions directly via__init__.py. @validatordecorator catchesException.
Features
- Adds
hostnamevalidator.
Maintenance
- feat: add build for pypi workflow by @yozachar in #255
- feat: @validator now catches
Exceptionby @yozachar in #254 - maint: improves
i18npackage by @yozachar in #252 - maint: misc changes to dev and ci by @yozachar in #251
- maint: misc fixes and improvements by @yozachar in #249
- maint: improves state of package development by @yozachar in #248
- fix: generate dynamic reference docs by @yozachar in #247
- maint: moving docs from
.rstto.mdby @yozachar in #246 - maint: improves
urlmodule by @yozachar in #245 - maint: improve
domain,email&hostnameby @yozachar in #244 - maint: simplified
hostnamemodule by @yozachar in #242 - maint: update
emailmodule by @yozachar in #241 - feat: adds
hostnamevalidator by @yozachar in #240 - maint: improves
ip_addressmodule by @yozachar in #239 - fix: misc fixes, use bandit by @yozachar in #238
- Create SECURITY.md by @yozachar in #237
- maint: improves
mac_address,sluganduuidby @yozachar in #236 - maint: improve
hashesandibanmodules by @yozachar in #235 - feat: auto docs using mkdocstrings by @yozachar in #234
- maint: improves
emailmodule by @yozachar in #233 - maint: minor improvements by @yozachar in #232
- maint: improves
domainmodule by @yozachar in #231 - maint: reformats
cardmodule, fix typo by @yozachar in #230 - feat: formats google pydoc style for mkdocstring by @yozachar in #229
- maint: refresh
btc_addressmodule by @yozachar in #228 - maint: improve type annotations by @yozachar in #227
- maint: improves
betweenandlengthmodules by @yozachar in #225 - maint: follows google's python style guide for docstrings by @yozachar in #224
- feat: type hints in utils.py, gh-actions by @yozachar in #223
- feat: add pyproject.toml, README.md, upd gitignore by @yozachar in #221
- remove Travis CI settings by @ktdreyer in #196
Full Changelog: 0.20.0...0.21.0