Releases: annotation/stam-rust
Releases · annotation/stam-rust
v0.5.0
v0.4.0
This release is ready for experimentation, but not for production use yet. The API hasn't stabilized yet.
- reimplemented search_text() to return results in textual order and implemented support for disallowing overlapping results
- reimplemented utf8byte_to_charpos to be more efficient (using byte2charmap index now)
- changed passing Config , required in more places (and with ownership)
- renamed from_str() to from_json()
- adding method positionindex_len() to TextResource
v0.3.0
This third release makes the library ready for experimentation, but not for production use yet.
A lot has been implemented:
- auto-generated IDs, enabled by default
- support for reading from stdin and outputting to stdout instead of reading from/to file
- searching in working directory when loading/saving files
- add multiple annotations from a json file (annotate_from_file())
- merge multiple annotation stores into one
- powerful regular expression based text search via search_text()
- unicode character position to utf8 byte conversion
- configurability via the Config class
- Serialisation/deserialisation to/from stand-off files via the
@include
mechanism - Renamed to_string() to to_json()
- Ordered iteration over text selections in a resource
- a position index that aids in mapping text offsets to annotations and enforces an ordering
- Initial support for internal ranged selectors, improving the space efficiency of complex selectors (annotation/stam#11)
- More efficient unicode points to utf8 byte conversion
- Improved JSON error feedback, and error feedback in general
- Many bugfixes and major refactoring
v0.2.0
This is a second initial release. This library is an an early stage of development. Not ready for production use yet.
A lot has been implemented in this release, iterators and reverse indices being one of the new features, and a lot from the previous release has been refactored and improved.