Changelog

2.1.0

Atomic Operations

  • Atomic Operations (see example, JSON:API doc)

  • Create view now accepts BaseJSONAPIItemInSchema as update view does

Authors

2.0.0

Generic views, process relationships

  • Automatically create all CRUD views based on schemas (see example)

  • Allow to pass Client-Generated IDs (see example, JSON:API doc)

  • Process relationships on create / update (see example, JSON:API doc)

  • Accept pydantic model with any dependencies on it (see example)

  • handle exceptions (return errors, JSON:API doc)

  • refactor data layers

  • tests coverage

Authors

1.1.0

Generic views

  • Create generic view classes #28

@CosmoV

1.0.0

Backward-incompatible changes, improvements, bug fixes

  • Includes (see 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 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