Skip to content

1.0.0

Compare
Choose a tag to compare
@Znbiz Znbiz released this 01 Jun 15:54
· 377 commits to main since this release
bd9ddad

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