Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 2.87 KB

CHANGELOG.md

File metadata and controls

72 lines (43 loc) · 2.87 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Docs

  • Aligned this changelog with actual github releases
  • Updated project URL pointing to this changelog (for PyPi)

0.1.4 - 2024-11-08

Fixed

  • Fixed the content type of the default problem details response in the generated FastAPI OpenAPI specification to application/problem+json (#720e154)

Docs

  • Add a troubleshooting section in the documentation about a small workaround when dealing with FastAPI APIRouter routers (#447df1e)

0.1.3 - 2024-11-04

Fixed

  • Fixed incorrect problem details openapi schema examples (#b9769fb)

Docs

  • Updated the doc examples to align with changes made in previous release
  • Add a section explaining how to document and register additional problem details
  • Mention that null values are stripped from returned problem details
  • Mention that all error handlers can be overriden

0.1.2 - 2024-08-01

Fixed

  • Remove unexpected ge and lt properties from generated JSON Schema for status property of Problem schema.

0.1.1 - 2024-08-01

Added

  • Added external documentation pointing to the official Problem details RFC in the Problem OpenAPI Schema

Changed

  • exc_type simplified property returned in problem responses for unhandled errors (was <class 'path.to.module.YourError'>, now path.to.module.YourError)
  • null/None values are now omitted from Problem response. Problem JSON Schema has been updated to reflect that

Fixed

  • Constraints on Problem status code (100 <= status code < 600) is now properly displayed in the Problem JSON Schema

0.1.0 - 2024-07-30

Added

  • Add ability to register the plugin to transform unhandled, validation and http errors as problem details response
  • Add ability to raise ProblemException directly for returning problem details responses
  • Add ability to returns ProblemResponse objects for returning problem details responses