Skip to content

Commit

Permalink
Merge pull request #516 from apiflask/release-2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Dec 17, 2023
2 parents 838a0e7 + c4226f7 commit f23495b
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 68 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
fail-fast: false
matrix:
include:
- {name: Linux, python: '3.11', os: ubuntu-latest, tox: py311}
- {name: Windows, python: '3.11', os: windows-latest, tox: py311}
- {name: Mac, python: '3.11', os: macos-latest, tox: py311}
- {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}
- {name: Windows, python: '3.12', os: windows-latest, tox: py312}
- {name: Mac, python: '3.12', os: macos-latest, tox: py312}
- {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}
- {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
- {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Version 2.1.0

Released: -
Released: 2023/12/16

- Add `FileType` and `FileSize` validators ([issue #253][issue_253]).
- Allow adding multiple media types for a response ([issue #494][issue_494]).
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ For Windows:

If you find APIFlask useful, please consider [donating](https://opencollective.com/apiflask) today. Your donation keeps APIFlask maintained and evolving.

Thank you to all our backers and sponsors!

### Backers

[![](https://opencollective.com/apiflask/backers.svg?width=890)](https://opencollective.com/apiflask)

### Sponsors

[![](https://opencollective.com/apiflask/sponsors.svg?width=890)](https://opencollective.com/apiflask)

## Example

Expand Down
16 changes: 8 additions & 8 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,41 @@
-r typing.txt
build==1.0.3
# via pip-tools
cachetools==5.3.1
cachetools==5.3.2
# via tox
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
# via tox
distlib==0.3.7
distlib==0.3.8
# via virtualenv
filelock==3.12.4
filelock==3.13.1
# via
# tox
# virtualenv
identify==2.5.29
identify==2.5.33
# via pre-commit
nodeenv==1.8.0
# via pre-commit
pip-compile-multi==2.6.3
# via -r requirements/dev.in
pip-tools==7.3.0
# via pip-compile-multi
pre-commit==3.4.0
pre-commit==3.6.0
# via -r requirements/dev.in
pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
toposort==1.10
# via pip-compile-multi
tox==4.11.3
tox==4.11.4
# via -r requirements/dev.in
virtualenv==20.24.5
virtualenv==20.25.0
# via
# pre-commit
# tox
wheel==0.41.2
wheel==0.42.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
42 changes: 23 additions & 19 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,32 @@
#
# pip-compile-multi
#
babel==2.12.1
babel==2.14.0
# via mkdocs-material
certifi==2023.7.22
certifi==2023.11.17
# via requests
charset-normalizer==3.2.0
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via mkdocs
# via
# mkdocs
# mkdocstrings
colorama==0.4.6
# via
# griffe
# mkdocs-material
ghp-import==2.1.0
# via mkdocs
griffe==0.36.2
griffe==0.38.1
# via mkdocstrings-python
idna==3.4
idna==3.6
# via requests
jinja2==3.1.2
# via
# mkdocs
# mkdocs-material
# mkdocstrings
markdown==3.4.4
markdown==3.5.1
# via
# mkdocs
# mkdocs-autorefs
Expand All @@ -49,27 +51,29 @@ mkdocs==1.5.3
# mkdocstrings
mkdocs-autorefs==0.5.0
# via mkdocstrings
mkdocs-material==9.4.1
mkdocs-material==9.5.2
# via -r requirements/docs.in
mkdocs-material-extensions==1.2
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocstrings==0.23.0
mkdocstrings==0.24.0
# via
# -r requirements/docs.in
# mkdocstrings-python
mkdocstrings-python==1.7.0
mkdocstrings-python==1.7.5
# via -r requirements/docs.in
packaging==23.1
packaging==23.2
# via mkdocs
paginate==0.5.6
# via mkdocs-material
pathspec==0.11.2
pathspec==0.12.1
# via mkdocs
platformdirs==3.10.0
# via mkdocs
pygments==2.16.1
platformdirs==4.1.0
# via
# mkdocs
# mkdocstrings
pygments==2.17.2
# via mkdocs-material
pymdown-extensions==10.3
pymdown-extensions==10.5
# via
# mkdocs-material
# mkdocstrings
Expand All @@ -82,13 +86,13 @@ pyyaml==6.0.1
# pyyaml-env-tag
pyyaml-env-tag==0.1
# via mkdocs
regex==2022.10.31
regex==2023.10.3
# via mkdocs-material
requests==2.31.0
# via mkdocs-material
six==1.16.0
# via python-dateutil
urllib3==2.0.5
urllib3==2.1.0
# via requests
watchdog==3.0.0
# via mkdocs
18 changes: 9 additions & 9 deletions requirements/examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
#
authlib==1.2.1
# via -r requirements/examples.in
blinker==1.6.2
blinker==1.7.0
# via flask
cffi==1.15.1
cffi==1.16.0
# via cryptography
click==8.1.7
# via flask
cryptography==41.0.4
cryptography==41.0.7
# via authlib
flask==2.3.3
flask==3.0.0
# via flask-sqlalchemy
flask-sqlalchemy==3.1.1
# via -r requirements/examples.in
greenlet==2.0.2
greenlet==3.0.2
# via sqlalchemy
itsdangerous==2.1.2
# via flask
Expand All @@ -35,18 +35,18 @@ marshmallow-dataclass==8.6.0
# via -r requirements/examples.in
mypy-extensions==1.0.0
# via typing-inspect
packaging==23.1
packaging==23.2
# via marshmallow
pycparser==2.21
# via cffi
sqlalchemy==2.0.21
sqlalchemy==2.0.23
# via flask-sqlalchemy
typing-extensions==4.8.0
typing-extensions==4.9.0
# via
# marshmallow-dataclass
# sqlalchemy
# typing-inspect
typing-inspect==0.9.0
# via marshmallow-dataclass
werkzeug==2.3.7
werkzeug==3.0.1
# via flask
10 changes: 5 additions & 5 deletions requirements/min-versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ apispec==6.0.0
# via -r requirements/min-versions.in
authlib==1.2.1
# via -r requirements/min-versions.in
cffi==1.15.1
cffi==1.16.0
# via cryptography
click==8.1.7
# via flask
cryptography==41.0.4
cryptography==41.0.7
# via authlib
flask==2.0.0
# via
Expand All @@ -27,7 +27,7 @@ flask-marshmallow==0.12.0
# via -r requirements/min-versions.in
flask-sqlalchemy==2.5.1
# via -r requirements/min-versions.in
greenlet==2.0.2
greenlet==3.0.2
# via sqlalchemy
itsdangerous==2.1.2
# via flask
Expand All @@ -44,7 +44,7 @@ marshmallow-dataclass==8.5.0
# via -r requirements/min-versions.in
mypy-extensions==1.0.0
# via typing-inspect
packaging==23.1
packaging==23.2
# via
# apispec
# marshmallow
Expand All @@ -57,7 +57,7 @@ sqlalchemy==1.4.49
# via
# -r requirements/min-versions.in
# flask-sqlalchemy
typing-extensions==4.8.0
typing-extensions==4.9.0
# via typing-inspect
typing-inspect==0.9.0
# via marshmallow-dataclass
Expand Down
38 changes: 19 additions & 19 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,36 @@ attrs==23.1.0
# jsonschema
# pytest
# referencing
certifi==2023.7.22
certifi==2023.11.17
# via requests
charset-normalizer==3.2.0
charset-normalizer==3.3.2
# via requests
coverage[toml]==7.3.1
coverage[toml]==7.3.3
# via pytest-cov
idna==3.4
idna==3.6
# via requests
iniconfig==2.0.0
# via pytest
jsonschema==4.19.1
jsonschema==4.20.0
# via
# openapi-schema-validator
# openapi-spec-validator
jsonschema-spec==0.2.4
jsonschema-path==0.3.2
# via openapi-spec-validator
jsonschema-specifications==2023.7.1
jsonschema-specifications==2023.11.2
# via
# jsonschema
# openapi-schema-validator
lazy-object-proxy==1.9.0
lazy-object-proxy==1.10.0
# via openapi-spec-validator
openapi-schema-validator==0.6.1
openapi-schema-validator==0.6.2
# via openapi-spec-validator
openapi-spec-validator==0.6.0
openapi-spec-validator==0.7.1
# via -r requirements/tests.in
packaging==23.1
packaging==23.2
# via pytest
pathable==0.4.3
# via jsonschema-spec
# via jsonschema-path
pluggy==1.3.0
# via pytest
py==1.11.0
Expand All @@ -53,17 +53,17 @@ pytest==6.2.5
pytest-cov==4.1.0
# via -r requirements/tests.in
pyyaml==6.0.1
# via jsonschema-spec
referencing==0.30.2
# via jsonschema-path
referencing==0.31.1
# via
# jsonschema
# jsonschema-spec
# jsonschema-path
# jsonschema-specifications
requests==2.31.0
# via jsonschema-spec
# via jsonschema-path
rfc3339-validator==0.1.4
# via openapi-schema-validator
rpds-py==0.10.3
rpds-py==0.13.2
# via
# jsonschema
# referencing
Expand All @@ -73,7 +73,7 @@ toml==0.10.2
# via pytest
tomli==2.0.1
# via coverage
typing-extensions==4.8.0
typing-extensions==4.9.0
# via asgiref
urllib3==2.0.5
urllib3==2.1.0
# via requests
4 changes: 2 additions & 2 deletions requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
#
# pip-compile-multi
#
mypy==1.5.1
mypy==1.7.1
# via -r requirements/typing.in
mypy-extensions==1.0.0
# via mypy
tomli==2.0.1
# via mypy
typing-extensions==4.8.0
typing-extensions==4.9.0
# via mypy
2 changes: 1 addition & 1 deletion src/apiflask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
from .security import HTTPBasicAuth as HTTPBasicAuth
from .security import HTTPTokenAuth as HTTPTokenAuth

__version__ = '2.0.3-dev'
__version__ = '2.1.0'
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py3{11,10,9,8}
py3{12, 11,10,9,8}
pypy310
minimal
style
Expand Down

0 comments on commit f23495b

Please sign in to comment.