Skip to content

v0.16.0

Choose a tag to compare

@proycon proycon released this 22 Sep 15:18
· 83 commits to master since this release
  • Breaking API changes:
    • TextResourceBuilder was simplified, the build() method is no longer public
    • AnnotationStore.add() got renamed to AnnotationStore.with_item() but is a lower-level function that should be used less.
    • Use the new AnnotationStore.add_resource() and AnnotationStore.add_dataset() instead (or the variants with_resource() and
      with_dataset()).
    • @include behaviour is now more strictly defined (STAM v1.1.1). Relative files are always interpreted relative to the working directory (either an explicitly set working directory in the configuration, or the actual system's cwd) (annotation/stam#31)
  • API changes
    • Expanded substore API, added AnnotationStore.annotations_no_substores(), Annotation.substore(), TextResource.substores(), AnnotationDataSets.substores()
    • Added AnnotationDataSetBuilder, to be used with AnnotationStore.add_dataset()
    • query: Added support for substores as contraints (SUBSTORE keyword).
  • Fixes for annotation/stam#31
    • Fixed relative path handling (@include mechanism)
    • Deserialisation fixes for @include mechanism.
    • Substores can have multiple parents