v0.4.1
v0.4.1 (2024-01-17)
Chore
-
chore: add .venv to ignore files (
c7aa6b8) -
chore: fixed linting/type checking (
7021e47) -
chore: lint/type check (
0539a1c)
Ci
- ci: adjust job steps (
d168194)
Documentation
-
docs: update docs on serialization (
03d740f) -
docs: update docs on running test suite (
0a9c914) -
docs: add docs for pydantic version and supported features (
99546ca) -
docs: add docs for running test suits (
f24f62c) -
docs: fix format issues for tables (
1f0fa1e)
Fix
-
fix: fix schema missing indexes/constraints if schemas reference each other (
eb4d666) -
fix: update CustomGenerateJsonSchema class to add index/constraint info (
2a64464) -
fix: add missing index/constraint to model schema (
01e2a9d) -
fix: use enum values for string representation of RelationshipProperty (
8889c62) -
fix: fix relationship properties always being included in serialization in V1 (
2ba47b9) -
fix: only use CustomGenerateJsonSchema when IS_PYDANTIC_V2 is true, check exclude before adding id and element_id (
3f621f6) -
fix: implement custom GenerateJsonSchema class for v2 schema generation (
fff7fea) -
fix: fix schema generation for pydantic v1 (
13cbde8) -
fix: update schema generation (
abe2035) -
fix: fix issue where serialization would not work if nodes for relationship properties where fetched (
4d0aa1e)
Refactor
-
refactor: implement model_serializer instead of overwriting methods (
cfd8e0e) -
refactor: adjust validation for custom pydantic types and dict/json conversion for pydantic v2 (
5c4b61c) -
refactor: adjust validation for custom pydantic types and dict/json conversion (
cfe9f03) -
refactor: remove arbitrary_types_allowed and add custom type for RelationshipProperty (
0c59e73)
Test
-
test: update schema test case (
6c7553d) -
test: update schema test cases (
e5054e8) -
test: fix test case since pydantic generates different schemas depending on python version (
021b5d9) -
test: add update_forward_refs when tests run on V1 of pydantic (
6f4a9d9) -
test: add test case for schema generation (
26a9d74) -
test: update test case for model serialization (
e51be3c)