Skip to content

Releases: mr-fatalyst/fastopenapi

v0.7.0

27 Apr 13:42
Compare
Choose a tag to compare

Changed

  • Replaced json.dumps/json.loads with pydantic_core to_json/from_json
  • _serialize_response: model list mapping now handled by Pydantic instead of manual recursion

Fixed

  • Issue with parsing repeated query parameters in URL.

Removed

  • The use_aliases from BaseRouter and reverted changes from 0.6.0.

v0.6.0

16 Apr 19:44
Compare
Choose a tag to compare

Added

  • The use_aliases parameter was added to the BaseRouter constructor. Default is True. To preserve the previous behavior (without using aliases from Pydantic), set use_aliases=False.

Changed

  • The _serialize_response method is now an instance method (was a @staticmethod) — to support use_aliases.
  • The _get_model_schema method was temporarily changed from a @classmethod to a regular method — for consistent behavior with use_aliases.

Deprecated

  • use_aliases is deprecated and will be removed in version 0.7.0.

v0.5.0

13 Apr 15:02
Compare
Choose a tag to compare

Added

  • AioHttpRouter for integration with the AioHttp framework
  • Class-level cache for model schemas
  • response_errors for routers
  • error_handler for standard error responses
  • Some python types as response_model (int, float, bool, str)

v0.4.0

13 Apr 15:02
e9cc3aa
Compare
Choose a tag to compare

Added

  • ReDoc UI and default URL (host:port/redoc)
  • TornadoRouter for integration with the Tornado framework

Changed

  • Revised and updated all tests.

Fixed

  • Status code for error response fixed: 422 -> 500

Removed

  • Removed the add_docs_route and add_openapi_route from BaseRouter.

v0.3.1

13 Apr 15:01
Compare
Choose a tag to compare

Fixed

  • router imports ModuleNotFoundError

v0.3.0

13 Apr 15:01
Compare
Choose a tag to compare

Added

  • QuartRouter for integration with the Quart framework.
  • Initial Documentation

Changed

  • Import of routers. You can use from fastopenapi.routers import YourRouter

Fixed

  • Fixed retrieving parameters for BaseModel as arguments in GET routes.

v0.2.1

13 Apr 15:01
Compare
Choose a tag to compare

Fixed

  • Fixed an issue in _serialize_response where BaseModel was converted to a dictionary incorrectly.
  • Resolved a bug causing DataLoader to crash when processing empty datasets.
  • Added tests.
  • Added CHANGELOG.md.

v0.2.0

13 Apr 15:00
Compare
Choose a tag to compare

Added

  • Implemented resolve_endpoint_params in BaseRouter.
  • Added the prefix parameter to the include_router method.
  • Implemented status_code support for responses.

Changed

  • Refactored all routers.

Removed

  • Removed the register_routes method from Starlette.

v0.1.0

13 Apr 14:58
Compare
Choose a tag to compare

Added

  • Initial release of FastOpenAPI.
  • Implemented core modules: base, falcon, flask, sanic, starlette.
  • Added basic documentation and tests.