Changelog ######### **2.1.0** ********* Atomic Operations ================= * Atomic Operations (see :ref:`example `, `JSON:API doc `_) * Create view now accepts ``BaseJSONAPIItemInSchema`` as update view does Authors """"""" * `@mahenzon`_ **2.0.0** ********* Generic views, process relationships ==================================== Backward-incompatible changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * Automatically create all CRUD views based on schemas (see :ref:`example `) * Allow to pass Client-Generated IDs (see :ref:`example `, `JSON:API doc `_) * Process relationships on create / update (see :ref:`example `, `JSON:API doc `_) * Accept pydantic model with any dependencies on it (see :ref:`example `) * handle exceptions (return errors, `JSON:API doc `_) * refactor data layers * tests coverage Authors """"""" * `@mahenzon`_ * `@CosmoV`_ * `@tpynio`_ **1.1.0** ********* Generic views ============= * Create generic view classes `#28 `_ `@CosmoV`_ **1.0.0** ********* Backward-incompatible changes, improvements, bug fixes ====================================================== * Includes (see :ref:`example with many-to-many `) - any level of includes is now supported (tested with 4); * View Classes generics (Detail View and List View); * View Classes now use instance-level methods (breaking change, previously ``classmethods`` were used); * Pydantic schemas now have to be inherited from custom BaseModel methods (breaking change, previously all schemas were supported). It uses custom `registry class `_, so we can collect and resolve all schemas. Maybe there's some workaround to collect all known schemas; * Improved interactive docs, request and response examples now have more info, more schemas appear in docs; * Reworked schemas resolving and building; * Fixed filtering (schemas resolving fix); * Create custom sql filters :ref:`example `; * Add linters: black, ruff; * Add pre-commit; * Add autotests with pytest; * Add poetry, configure dependencies groups; * Add GitHub Action with linting and testing; * Upgrade examples; * Update docs. `@mahenzon`_ **0.2.1** ********* Enhancements and bug fixes ========================== * Fix setup.py for docs in PYPI - `@znbiz`_ **0.2.0** ********* Enhancements and bug fixes ========================== * Rename `from fastapi_rest_jsonapi import...` to `from fastapi_jsonapi import ...` - `@znbiz`_ * Add documentation - `@znbiz`_ .. _`@znbiz`: https://github.com/znbiz .. _`@mahenzon`: https://github.com/mahenzon .. _`@CosmoV`: https://github.com/CosmoV .. _`@tpynio`: https://github.com/tpynio