Graphannis

Latest version: v3.1.1

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

Scan your dependencies

Page 1 of 15

3.1.1

Changed

- Update to graphANNIS 3.1.1

3.1.0

Added

- Allow to execute AQL directly on loaded `AnnotationGraph` objects by using the
new `aql::execute_query_on_graph` and `aql::parse` functions. This is an
alternative for using a `CorpusStorage` when only one corpus is handled.
- New `Graph::ensure_loaded_parallel` function to load needed graph storages in
parallel.
- Added `graphannis_core::graph::serialization::graphml::export_stable_order`
function that allows to export to GraphML, but with a guaranteed order of the
elements.

Fixed

- Do not attempt to unload corpora that are not loaded when trying to free
memory.
- Improve performance of loading a main memory corpus by using the standard
`HashMap` for fields that are deserialized.

3.0.0

Added

- Add `has_node_name` function to `AnnotationStorage` that can be more efficient
than `get_node_id_name`.

Changed

- Changed API to use new types `NodeAnnotationStorage` and
`EdgeAnnotationStorage` instead of `AnnoStorageImpl<NodeID>` or
`AnnoStorageImpl<NodeID>`. (backward incompatible change in the Rust API)
- `get_node_id_from_name` is now a function of the `AnnotationStorage` instead
of the `Graph`. This allows for more specific and efficient implementations
based on the type of annotation storage.
- Improved performance of the `Graph::apply_update` function.
- Use jemalloc memory allocator for webservice and CLI.

Removed

- Remove all heap size estimation code. This also means that information about
heap consumption of a single corpus has been removed, like the fields of the
`graphannis::corpusstorage::LoadStatus` enum.
- Remove `EvictionStrategy::MaximumBytes` for `DiskMap`.

Fixed

- Polling when importing a web corpus through the webservice could fail because
the background job list was not shared between the web server threads.

2.4.8

Changed

- Update to graphANNIS 2.4.8.
- Changed minimal Python version to 3.8

2.4.7

Fixed

- When an optional node (for negation without existence) was not at the end of
the query, `find` queries could give an empty output (267).
- Create default components for the graph type when importing GraphML files.

2.4.6

Changed

- Compile release for macOS on version 11 (Big Sur). This is necessary, since
GitHub actions deprecated the older macOS version.

Page 1 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.