fastapi/fastapi
Pat Lasswell c434bea96a fix: allow_inf_nan option for Param subclasses
There was a typo in the __init__ method of the Param class which
misnamed the allow_inf_nan option in the kwargs passed to the
underlying Pydantic FieldInfo initializer.  This resulted in the
validator failing to enforce the constraint, and hence inf and nan
values being passed to the route handler where they should not have.
2024-05-15 06:53:19 -07:00
..
dependencies 🐛 Fix parameterless `Depends()` with generics (#9479) 2024-04-01 21:52:56 -05:00
middleware Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 2023-12-25 18:57:35 +01:00
openapi ♻️ Simplify Pydantic configs in OpenAPI models in `fastapi/openapi/models.py` (#10886) 2024-04-18 17:49:33 -05:00
security ✏️ Fix typo in `fastapi/security/api_key.py` (#11481) 2024-04-23 17:29:18 -05:00
__init__.py 🔖 Release version 0.111.0 2024-05-02 15:50:18 -07:00
_compat.py Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
applications.py ♻️ Update mypy (#11049) 2024-04-01 21:48:51 -05:00
background.py ♻️ Update mypy (#11049) 2024-04-01 21:48:51 -05:00
concurrency.py Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 2023-12-25 18:57:35 +01:00
datastructures.py ♻️ Update mypy (#11049) 2024-04-01 21:48:51 -05:00
encoders.py 🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` (#9929) 2024-04-18 16:56:59 -05:00
exception_handlers.py Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030) 2023-06-11 21:08:14 +02:00
exceptions.py ♻️ Update mypy (#11049) 2024-04-01 21:48:51 -05:00
logger.py 🔊 Refactor logging (#781) 2019-12-09 20:02:44 +01:00
param_functions.py Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
params.py fix: allow_inf_nan option for Param subclasses 2024-05-15 06:53:19 -07:00
py.typed add py.typed to ship typing information (#209) 2019-05-11 13:43:47 +04:00
requests.py ⬆ Require Pydantic > 1.0 (#1862) 2020-08-09 22:17:08 +02:00
responses.py Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 2023-10-18 16:36:40 +04:00
routing.py ♻️ Update mypy (#11049) 2024-04-01 21:48:51 -05:00
staticfiles.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
templating.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
testclient.py Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 2020-12-20 19:50:00 +01:00
types.py 🔥 Remove unused NoneType (#10774) 2023-12-12 00:29:03 +00:00
utils.py Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
websockets.py Export `WebSocketState` in `fastapi.websockets` (#4376) 2022-09-04 17:12:10 +02:00