There is a newer version of the record available.

Published September 22, 2024 | Version v0.16.0
Software Open

annotation/stam-rust: v0.16.0

  • 1. KNAW Humanities Cluster & CLST, Radboud University
  • 2. @knaw-huc

Description

  • 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. 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) (https://github.com/annotation/stam/issues/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 https://github.com/annotation/stam/issues/31
    • Fixed relative path handling (@include mechanism)
    • Deserialisation fixes for @include mechanism.
    • Substores can have multiple parents

Files

annotation/stam-rust-v0.16.0.zip

Files (263.7 kB)

Name Size Download all
md5:4cd1ccc836334d645cd227947869a56e
263.7 kB Preview Download

Additional details

Related works