Graphannis

Latest version: v3.1.1

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 15

0.31.2

Fixed

- Synchronize REST API error output for bad AQL requests with the OpenAPI specification.

0.31.1

Fixed

- Fix compilation issues in interaction with lalrpop v0.19.5

0.31.0

Changed

- Using the new `SmallVec`-based `MatchGroup` type instead of `Vec<Match>`.
- The `FixedMaxMemory` `CacheStrategy` now uses Megabytes instead of bytes.
- The graphannis and core crates now use their own error type instead of the one provided by the `anyhow` crate.
- Bundle commonly used search query parameters in `SearchQuery` struct.
- Query execution methods now have an optional `timeout` after which an query is aborted.
- Annotation keys and values in the `AnnoKey` and `Annotation` structs now use inlined strings from the `smartstrings` crate.

Removed

- Replaced the `update_statistics` function in `CorpusStorage` with the more general `reoptimize_implementation` function.
The new function is available via the `re-optimize` command in the CLI.

Added

- The webservice configuration now allows to configure the size of the in-memory corpus cache.
- There can be multiple `--cmd` arguments for the CLI, which are executed in the order they are given.

Fixed

- Importing a relANNIS corpus could fail because the integer would wrap around from negative to a large value when calculating the `tok-whitespace-after` annotation value. This large value would then be used to allocate memory, which will fail.
- Adding `\$` to the escaped input sequence in the relANNIS import, fixing issues with some old SFB 632 corpora
- Unbound near-by-operator (`^*`) was not limited to 50 in quirks mode
- Workaround for duplicated document names when importing invalid relANNIS corpora
- Corpus names with non-ASCII characters where not listed with their decoded name
- Fix memory consumption of AQL parser in repeated calls (like the webservice).
- Limit the memory which is reserved for an internal result vector to avoid out-of-memory errors when the estimation is wrong.

0.30.0

Changed

- Updated graphANNIS version to 0.30.0

0.29.2

Fixed

- Travis did add the webservice executables to the release

0.29.1

Fixed

- `cargo release` did not release all crates

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.