Published September 22, 2024
| Version v0.16.0
Software
Open
annotation/stam-rust: v0.16.0
Authors/Creators
- 1. KNAW Humanities Cluster & CLST, Radboud University
- 2. @knaw-huc
Description
- Breaking API changes:
TextResourceBuilderwas simplified, thebuild()method is no longer publicAnnotationStore.add()got renamed toAnnotationStore.with_item()but is a lower-level function that should be used less.- Use the new
AnnotationStore.add_resource()andAnnotationStore.add_dataset()instead (or the variantswith_resource()andwith_dataset()). @includebehaviour 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 withAnnotationStore.add_dataset() - query: Added support for substores as contraints (
SUBSTOREkeyword).
- Expanded substore API, added
- Fixes for https://github.com/annotation/stam/issues/31
- Fixed relative path handling (
@include mechanism) - Deserialisation fixes for
@includemechanism. - Substores can have multiple parents
- Fixed relative path handling (
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
- Is supplement to
- Software: https://github.com/annotation/stam-rust/tree/v0.16.0 (URL)