Skip to content

Latest commit

 

History

History
318 lines (202 loc) · 8.04 KB

changelog.rst

File metadata and controls

318 lines (202 loc) · 8.04 KB

Changelog

2.8.0

Performance improvements

  • added simple cache to SchemaBuilder by @CosmoV in #87

Authors

2.7.0

Refactoring and relationships update fixes

Authors

2.6.0

Fix JOINS by relationships

Authors

2.5.1

Fix custom sql filtering, bring back backward compatibility

  • Fix custom sql filtering support: bring back backward compatibility by @mahenzon in #74
  • Read version from file by @mahenzon in #74

Authors

2.5.0

Fix relationships filtering, refactor alchemy helpers

Authors

2.4.2

Separate helper methods for relationships query

  • fix run validator: sometimes it requires model field by @mahenzon in #70

Authors

2.4.1

Separate helper methods for relationships query

  • remove resource manager example since no resource manager exists by @mahenzon in #66
  • create separate methods for building query for fetching related objects by @mahenzon in #67
  • update ruff linter by @mahenzon in #69

Authors

2.4.0

Relationship loading, filtering improvements, fixes

Authors

2.3.2

Duplicated entities in response fix

  • fix duplicates in list response #48

Authors

2.3.1

Pydantic validators inheritance fix

  • fix schema validators passthrough #45
  • fix doc build

Authors

2.3.0

Current Atomic Operation context var

  • create context var for current atomic operation #46
  • create example and coverage for universal dependency both for generic views and atomic operations
  • tests refactoring

Authors

2.2.2

Atomic Operation dependency resolution fixes

  • fixed Atomic Operation dependency resolution #43

Authors

2.2.1

OpenAPI generation fixes

  • fixed openapi generation for custom id type #40

Authors

2.2.0

Support for pydantic validators

  • Pydantic validators are applied to generated schemas now

Authors

2.1.0

Atomic Operations

Authors

2.0.0

Generic views, process relationships

Note

Backward-incompatible changes

Authors

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 <include_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 <custom_sql_filtering>`;
  • 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