Skip to content

Releases: annotation/stam-rust

v0.18.6

10 Nov 10:34

Choose a tag to compare

  • translate: fix in finding all embedded reference texts

v0.18.5

08 Oct 12:56

Choose a tag to compare

Previous release was premature, this minor release downgrades another dependency (minicbor) so we don't require edition2024 yet and also run on older rust compilers.

v0.18.4

08 Oct 12:14

Choose a tag to compare

This minor release downgrades a dependency (base16ct) so we don't require edition2024 yet and also run on older rust compilers.

v0.18.3

27 Sep 10:57

Choose a tag to compare

Fixes:

  • webanno: fix in serialising multiple namespace prefixes
  • webanno: when a value looks like an IRI where the base corresponds to one of the extra contexts, then strip this prefix and reduce the IRI value to an alias

v0.18.2

21 Sep 19:58

Choose a tag to compare

Various fixes and improvements

  • webanno: properly translate multiple identical keys to a list
  • webanno: allow multiple extra target templates
  • webanno: added {resource_iri} variable for extra targets, and {resource} now yields only the ID
  • fixed parsing IdStrategy
  • implemented textselection_count() function on ResultItem
  • translate/transpose: big performance improvement by pre-computing some things
  • Added AnnotationStore.reannotate() method to modify existing annotations

v0.18.1

12 Sep 11:07

Choose a tag to compare

  • fix: extra guards against empty textselectionsets
  • fix: translate() and transpose() now return StamError::NoText() if called on annotations that have no text
  • new: implemented deserialisation of IdStrategy from String

v0.18.0

08 Sep 15:14

Choose a tag to compare

This release implements STAM v1.3.0

New

  • STAM translate: updated for changes in this extension - Added a translate() function

Other

  • Dependency updates

v0.17.0

18 Jul 14:10

Choose a tag to compare

This release implements STAM v1.2.

New

  • core: Added a `DataValue::Map`` type, supporting arbitrary nested maps
  • core: Added `DataOperator::GetKey`` to access keys in maps
  • query: Added . operator in to access keys in maps
  • web annotations: implemented conversion of maps
  • web annotations: allow specifying JSON-LD contexts and using STAM keys as aliases.
  • web annotations: added skip_context parameter to skip serialisation of JSON-LD contexts, useful in situations where it is already done in a prior stage.

Bugfixes

  • web annotations: prevent duplicate anno.jsonld in context and map rdfs:type properly without full IRI

Other

  • extra tests
  • dependency updates

v0.16.7

08 Jul 09:04

Choose a tag to compare

Minor update

  • implemented From<(isize,isize)> for Offset, facilitates quick conversion from tuples
  • and added TryFrom<&str> for Offset, The latter parses a string to an offset. The string is in the form
    start:end or start,end where start and end are (possibly signed)
    integers. Either may also be omitted.

v0.16.6

28 May 21:48

Choose a tag to compare

New

  • improved error feedback when IDs in queries can not be found, this introduces the or_fail_for_id(id) method to be used instead of

Bugfixes

  • improved error feedback when IDs in queries can not be found
  • allow OPTIONAL subqueries to fail with not found errors (instead of crashing the query engine)

Updates

  • most dependencies were updated to their latest versions