Skip to content

Latest commit

 

History

History
260 lines (171 loc) · 9.69 KB

CHANGES.rst

File metadata and controls

260 lines (171 loc) · 9.69 KB

Changes

0.4.2 (2023-02-28)

Fixes

  • Fix IRI serialization when add_value_types is True.

0.4.1 (2022-09-01)

Fixes

  • Remove usage of fields deprecated by marshmallow and don't forward calamus specific fields to prevent warnings.

0.4.0 (2022-04-05)

Features

  • Add support for marshmallow Meta properties on annotated classes (such as exclude).
  • Allow controlling rdf_type inheritance on annotated classes using the inherit_parent_types Boolean flag.
  • Support defining marshmallow hooks on annotated classes.

0.3.14 (2022-03-23)

Fixes

  • Fix schema inheritance not following class inheritance when using JsonLDAnnotation.

0.3.13 (2021-10-13)

Fixes

  • Fix imports to reduce import time of library

0.3.12 (2021-09-14)

Fixes

  • Remove SPARQL from rdflib extras to fix source distribution builds

0.3.11 (2021-09-14)

Fixes

  • Update rdflib to 6.0.0 to fix compatibility issues with rdflib-jsonld

0.3.10 (2021-08-24)

Fixes

  • Fix deserialization of @reverse fields with no data (PR #63)

0.3.9 (2021-08-23)

Fixes

  • Fixes empty IRI serialization and @reverse serialization of IRI. (PR #61)

0.3.8 (2021-04-26)

Features

  • Added a new field type RawJsonLD, that properly handles deserialization of raw field containing JSON-LD. (PR #58)

0.3.7 (2021-02-24)

Features

  • Upgraded RDFLib to version 5.0.0. (PR #56)

0.3.6 (2020-12-11)

Fixes

  • Fixed an issue when constructing classes with default parameters that are not positional-only. (PR #53)

0.3.5 (2020-12-10)

Features

  • Annotation support (PR #17)
  • Added additional DateTime fields (PR #41)
  • Added ontology verification to schema and namespace (PR #42)

Fixes

  • Fixed an issue with instantiating classes that have parameters with default value in their constructor. (PR #51)

0.3.4 (2020-09-22)

Fixes

  • Fixed lazy-loading when using flattened JSON-LD (PR #45)

0.3.3 (2020-09-09)

Features

  • Added automated @id generation for on schema objects, allowing ids to be generated on the fly on serialization. (PR #23)

Fixes

  • Fixed serialization of lazy-loading proxy-objects back to JSON-LD. (PR #30)
  • Fixed BlankNodeField to be a normal field like the Id field. (PR #23)

0.3.2 (2020-08-07)

Fixes

  • Fixed an issue where deserializing models with keyword arguments in their constructor raises an exception. (PR #39)

0.3.1 (2020-08-03)

Features

  • Added a Dict field that simply passes along the contained dictionary (which should be valid JSON-LD already). Added a Raw field that just returns the contained value. Added support for add_value_types at the field level. (PR #31)

Fixes

  • Fixed an issue with sorting of schemes inside Nested fields. Original sort order is now preserved to allow users to specify precedence (in case of ambiguous types). Fixed the propagation of the flattened keyword to child schemes. Fixed List field deserialization calling the wrong super() method. (PR #31)

0.3.0 (2020-06-30)

Features

  • Added lazy loading support (#12)

0.2.0 (2020-05-08)

Features

  • Added IRIField (#24)
  • Added BooleanField (1a93bdd)
  • Added init_name setting to fields for cases where the name of the property differs from the name in the __init__ method

Fixes

  • Fixed an issue where fields.Nested would not work when used inside fields.List

0.1.2 (2020-05-08)

Features

  • Allow serializing to a flat list (#5) (4289d86)
  • Allow deserializing from a flat list (#4) (e8d56b3)

0.1.1 (2020-05-01)

Features

  • Initial public release of calamus.