GitPedia
mts-ai

mts-ai/FastAPI-JSONAPI

JSON:API for FastAPI

24 Releases
Latest: 1y ago
3.0.0Latest
m-antonovm-antonov·1y ago·March 13, 2025
GitHub

📋 Changes

  • Removed support pydantic v1
  • Updated minimal fastapi version fastapi>=0.112.3
  • Updated minimal pydantic version pydantic>=2.6.0
  • Added required dependency orjson>=3.10.0
  • Updated framework API
  • Added support of pydantic v2
  • Improved sqla orm query building
  • Updated logic of creation custom sql filters
  • + 4 more
2.8.0 Add simple cache to SchemaBuilder2.8.0
mahenzonmahenzon·2y ago·April 27, 2024
GitHub

📋 What's Changed

  • added simple cache by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/87
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.7.0...2.8.0
2.7.0 Refactoring and relationships update fixes2.7.0
mahenzonmahenzon·2y ago·April 12, 2024
GitHub

📋 What's Changed

  • Feature/customizable request attributes by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/80
  • Fix cascade changes by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/81
  • Fix update relationship by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/82
  • Sqla dl refactor by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/83
  • Upgrade poetry config, disable package-mode since we're using hatchling by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/84
  • bump version to 2.7.0 by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/86
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.6.0...2.7.0
2.6.0 Fix JOINS by relationships2.6.0
mahenzonmahenzon·2y ago·February 16, 2024
GitHub

📋 What's Changed

  • Fix JOINS by rerlationships by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/78
  • Bump to 2.6.0, update changelog by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/79
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.5.1...2.6.0
2.5.1 Fix custom sql filtering backward compatibility2.5.1
mahenzonmahenzon·2y ago·January 19, 2024
GitHub

📋 What's Changed

  • Fix custom sql filtering support: bring back backward compatibility by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/74
  • Read version from file by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/74 and [7e2514e](https://github.com/mts-ai/FastAPI-JSONAPI/commit/7e2514eb517c20e05df1354ab904ad21edb7431c)
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.5.0...2.5.1
2.5.0 Fix filter by relationships2.5.0
mahenzonmahenzon·2y ago·January 18, 2024
GitHub

📋 What's Changed

  • Fix filter by relationships by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/52
  • Add Codecov by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/72
  • Set RoutersJSONAPI class on AtomicViewHandler by @mahenzon in [#7b2557f](https://github.com/mts-ai/FastAPI-JSONAPI/commit/7b2557f9e341c1210200efce0f7b47c15d4cac4e)
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.4.2...2.5.0
2.4.2 Fix running validators that require model field2.4.2
mahenzonmahenzon·2y ago·December 21, 2023
GitHub

📋 What's Changed

  • fix run validator: sometimes it requires model field by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/70
  • bump version to 2.4.2 and fix tables formatting in quickstart by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/71
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.4.1...2.4.2
2.4.1 Separate helper methods for relationships query2.4.1
mahenzonmahenzon·2y ago·December 19, 2023
GitHub

📋 What's Changed

  • remove resource manager example since no resource manager exists by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/66
  • create separate methods for building query for fetching related objects by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/67
  • update ruff linter by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/69
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.4.0...2.4.1
2.4.0 Relationship loading, filtering improvements, fixes2.4.0
mahenzonmahenzon·2y ago·December 15, 2023
GitHub

📋 What's Changed

  • pass request to data layer by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/61
  • fix loading multi relationships by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/59
  • Fix type cast in filters by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/62
  • Fix null value filtering by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/60
  • add py.typed by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/64
  • limit view methods by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/63
  • bump version to 2.4.0 by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/65
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.3.2...2.4.0
2.3.2 fixed duplicated entities in list response2.3.2
mahenzonmahenzon·2y ago·October 27, 2023
GitHub

📋 What's Changed

  • Fix duplicated entities in list response by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/48
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.3.1...2.3.2
2.3.1 schemas validators passthrough2.3.1
mahenzonmahenzon·2y ago·October 17, 2023
GitHub

📋 What's Changed

  • fix docs build by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/47
  • fix schemas validators passthrough by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/45
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.3.0...2.3.1
2.3.0 Current Atomic Operation context var2.3.0
mahenzonmahenzon·2y ago·September 28, 2023
GitHub

📋 What's Changed

  • context var for current atomic operation by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/46
  • coverage for dependency helper by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/44
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.2.2...2.3.0
2.2.2 Fix atomic operations method config resolution2.2.2
mahenzonmahenzon·2y ago·September 27, 2023
GitHub

📋 What's Changed

  • fix atomic operations method config resolution by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/43
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.2.1...2.2.2
2.2.1 Fix OpenAPI generation for custom id type2.2.1
mahenzonmahenzon·2y ago·September 18, 2023
GitHub

📋 What's Changed

  • fixed openapi generation by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/40
  • custom dependencies test coverage by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/41
  • upgrade rtd theme by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/42
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.2.0...2.2.1
2.2.0 apply pydantic validators2.2.0
mahenzonmahenzon·2y ago·September 14, 2023
GitHub

📋 What's Changed

  • added origin validators to attributes schema by @CosmoV in https://github.com/mts-ai/FastAPI-JSONAPI/pull/39
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.1.0...2.2.0
2.1.0 Atomic operations2.1.0
mahenzonmahenzon·2y ago·September 13, 2023
GitHub

📋 What's Changed

  • fix GitHub Actions badge by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/36
  • Atomic operations by @mahenzon in https://github.com/mts-ai/FastAPI-JSONAPI/pull/33
  • Full Changelog: https://github.com/mts-ai/FastAPI-JSONAPI/compare/2.0.0...2.1.0
2.0.0 Generic views (for real), relationships, refactoring2.0.0
mahenzonmahenzon·2y ago·August 24, 2023
GitHub

📋 Backward-incompatible changes

  • Automatically create all CRUD views based on schemas (see [example](https://mts-ai.github.io/FastAPI-JSONAPI/minimal_api_example.html))
  • Allow to pass Client-Generated IDs (see [example](https://mts-ai.github.io/FastAPI-JSONAPI/client_generated_id.html#client-generated-id), [JSON:API doc](https://jsonapi.org/format/#crud-creating-client-ids))
  • Process relationships on create / update (see [example](https://mts-ai.github.io/FastAPI-JSONAPI/relationships.html#relationships), [JSON:API doc](https://jsonapi.org/format/#crud-updating-resource-relationships))
  • Accept pydantic model with any dependencies on it (see [example](https://mts-ai.github.io/FastAPI-JSONAPI/view_dependencies.html#view-dependencies))
  • handle exceptions (return errors, [JSON:API doc](https://jsonapi.org/format/#errors))
  • refactor data layers
  • tests coverage
  • Authors:
  • + 3 more
1.1.0 Generic views1.1.0
mahenzonmahenzon·2y ago·July 14, 2023
GitHub

📋 Changes

  • Create generic view classes #28 - @CosmoV
Upgrade build system to Hatch1.0.1
mahenzonmahenzon·3y ago·June 21, 2023
GitHub

Upgrade build system to Hatch #25

1.0.0
ZnbizZnbiz·3y ago·June 1, 2023
GitHub

🐛 Backward-incompatible changes, improvements, bug fixes

  • Includes (see example with [many-to-many](https://fastapi-jsonapi.readthedocs.io/en/latest/include_many_to_many.html)) -
  • 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](https://github.com/mts-ai/FastAPI-JSONAPI/blob/188093e967bb80b7a1f0a86e754a52e47f252044/fastapi_jsonapi/schema_base.py#L33),
  • + 15 more
0.2.2
ZnbizZnbiz·3y ago·March 11, 2023
GitHub

Fix: add tortoise-orm in requirements.txt

0.2.1
ZnbizZnbiz·3y ago·March 10, 2023
GitHub

📋 Changes

  • Fix setup.py for docs in PYPI
0.2.0
ZnbizZnbiz·3y ago·March 10, 2023
GitHub

📋 Changes

  • Rename `from fastapi_rest_jsonapi import...` to `from fastapi_jsonapi import ...`
  • Add documentation
0.1.0
ZnbizZnbiz·3y ago·March 10, 2023
GitHub