Skip to content

fix: removes 64-char limit for url path & query #264

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

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ repos:
args: ["--branch", "master"]
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.21.1 (2023-04-10)

- fix: `source .venv/bin/activate` before build by @joe733 in [#260](https://github.com/python-validators/validators/pull/260)
- fix: id-token write permission at job level by @joe733 in [#261](https://github.com/python-validators/validators/pull/261)
- feat: docs can be built with both sphinx & mkdocs by @joe733 in [#262](https://github.com/python-validators/validators/pull/262)
- fix: improves build process by @joe733 in [#263](https://github.com/python-validators/validators/pull/263)
- fix: removes 64-char limit for url path & query by @joe733 in [#264](https://github.com/python-validators/validators/pull/264)

**Full Changelog**: [0.21.0...0.21.1](https://github.com/python-validators/validators/compare/0.21.0...0.21.1)

## 0.21.0 (2023-03-25)

- feat: add build for pypi workflow by @joe733 in [#255](https://github.com/python-validators/validators/pull/255)
Expand Down
102 changes: 41 additions & 61 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "validators"
version = "0.21.0"
version = "0.21.1"
description = "Python Data Validation for Humans™"
authors = ["Konsta Vesterinen <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -28,16 +28,16 @@ include = ["CHANGES.md", "docs/*", "docs/validators.1", "validators/py.typed"]
python = "^3.8"

[tool.poetry.group.dev.dependencies]
tox = "^4.4.8"
tox = "^4.4.11"

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^9.1.4"
mkdocs-material = "^9.1.6"
mkdocstrings = { extras = ["python"], version = "^0.20.0" }
pyaml = "^21.10.1"

[tool.poetry.group.hooks.dependencies]
pre-commit = "^3.2.1"
pre-commit = "^3.2.2"

[tool.poetry.group.sast.dependencies]
bandit = "^1.7.5"
Expand All @@ -48,14 +48,14 @@ myst-parser = "^1.0.0"
pypandoc-binary = "^1.11"

[tool.poetry.group.tests.dependencies]
pytest = "^7.2.2"
pytest = "^7.3.0"

[tool.poetry.group.type-lint-format.dependencies]
black = "^23.1.1"
black = "^23.3.0"
flake8 = "^5.0.4"
flake8-docstrings = "^1.7.0"
isort = "^5.12.0"
pyright = "^1.1.301"
pyright = "^1.1.302"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 2 additions & 0 deletions tests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"http://президент.рф/",
"http://10.24.90.255:83/",
"https://travel-usa.com/wisconsin/旅行/",
"http://:::::::::::::@exmp.com",
"http://-.~_!$&'()*+,;=:%40:80%2f::::::@example.com",
# when simple_host=True
# "http://localhost",
# "http://localhost:8000",
Expand Down
2 changes: 1 addition & 1 deletion validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"fi_ssn",
)

__version__ = "0.20.0"
__version__ = "0.21.1"
Loading