Gqlalchemy

Latest version: v1.5.1

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

Scan your dependencies

Page 2 of 3

1.3.0

Breaking Changes

- Renamed keyword argument `edge_label` to `relationship_type` in `to()` and `from()` methods in the query builder. [145](https://github.com/memgraph/gqlalchemy/pull/145)

Major Features and Improvements

- Added option to suppress warning `GQLAlchemySubclassNotFoundWarning`. [121](https://github.com/memgraph/gqlalchemy/pull/121)
- Added the possibility to import `Field` from `gqlalchemy.models`. [122](https://github.com/memgraph/gqlalchemy/pull/122)
- Added `set_()` method to the query builder. [128](https://github.com/memgraph/gqlalchemy/pull/128)
- Added wrapper class for query modules. [130](https://github.com/memgraph/gqlalchemy/pull/130)
- Added `foreach()` method to the query builder. [135](https://github.com/memgraph/gqlalchemy/pull/135)
- Added `load_csv()` and `return()` methods from the query builder to base classes list. [139](https://github.com/memgraph/gqlalchemy/pull/139)
- Added new argument types in `return_()`, `yield_()` and `with_()` methods in the query builder. [146](https://github.com/memgraph/gqlalchemy/pull/146)
- Added `IntegratedAlgorithm` class instance as argument in `to()` and `from()` methods in the query builder. [141](https://github.com/memgraph/gqlalchemy/pull/141)
- Extended `IntegratedAlgorithm` class with the Breadth-first search algorithm. [142](https://github.com/memgraph/gqlalchemy/pull/142)
- Extended `IntegratedAlgorithm` class with the Weighted shortest path algorithm. [143](https://github.com/memgraph/gqlalchemy/pull/143)
- Extended `IntegratedAlgorithm` class with the Depth-first search algorithm. [144](https://github.com/memgraph/gqlalchemy/pull/144)
- Removed the usage of `sudo` from the `instance_runner` module. [148](https://github.com/memgraph/gqlalchemy/pull/148)
- Added support for Neo4j in the Object-Graph Mapper and the query builder. [149](https://github.com/memgraph/gqlalchemy/pull/149)
- Changed string variables for Blob and S3 keyword arguments. [151](https://github.com/memgraph/gqlalchemy/pull/151)
- Added variable support for node and relationship properties. [154](https://github.com/memgraph/gqlalchemy/pull/154)
- Added `Tuple` as new argument type in query modules. [155](https://github.com/memgraph/gqlalchemy/pull/155/)
- Changed `host` and `port` `Memgraph` properties to readonly. [156](https://github.com/memgraph/gqlalchemy/pull/156)
- Changed `Memgraph.new_connection()` to be a private method. [157](https://github.com/memgraph/gqlalchemy/pull/157)
- Added `push()` query modules for Kafka streams and Power BI. [158](https://github.com/memgraph/gqlalchemy/pull/158)
- Added argument `lazy` for configuring lazy loading in the `Memgraph` class. [159](https://github.com/memgraph/gqlalchemy/pull/159)
- Added `datetime` support for property types. [161](https://github.com/memgraph/gqlalchemy/pull/161)
- Added `Operator` enum which can be used as `operator` value in `set_()` and `where()` methods in the query builder. [165](https://github.com/memgraph/gqlalchemy/pull/165)
- Added an extension to the `QueryBuilder` class to support and autocomplete integrated and MAGE query modules. [168](https://github.com/memgraph/gqlalchemy/pull/168)


Bug fixes

- Fixed the unbound variable error in the return statement of the Cypher query in `memgraph.save_relationship_with_id()`. [166](https://github.com/memgraph/gqlalchemy/pull/166)
- Fixed checking if `None` for `Optional` properties. [167](https://github.com/memgraph/gqlalchemy/pull/167)

1.2.0

Breaking Changes

- Ordering query results as in GQLAlchemy older than 1.2 will not be possible.
- `where()`, `and_where()` and `or_where()` methods can't be used as in
GQLAlchemy older than 1.2.
- Setting up the `bootstrap_servers` argument when creating a stream as in
GQLAlchemy older than 1.2 will not be possible.

Major Features and Improvements

- Improved `where()`, `and_where()`, `or_where()` and `xor_where()` methods. [114](https://github.com/memgraph/gqlalchemy/pull/114)
- Added `where_not()`, `and_not()`, `or_not()` and `xor_not()` methods. [114](https://github.com/memgraph/gqlalchemy/pull/114)
- Improved `order_by()` method from query builder by changing its argument types. [114](https://github.com/memgraph/gqlalchemy/pull/114)
- Added Docker and Binary Memgraph instance runners. [91](https://github.com/memgraph/gqlalchemy/pull/91)
- Added Azure Blob and local storage importers. [104](https://github.com/memgraph/gqlalchemy/pull/104)
- Added methods for dropping all indexes (`drop_all_indexes()`) and dropping all triggers (`drop_all_triggers()`). [100](https://github.com/memgraph/gqlalchemy/pull/100)
- Added table to graph importer. [100](https://github.com/memgraph/gqlalchemy/pull/100)
- Added an option to create a label index. [113](https://github.com/memgraph/gqlalchemy/pull/113)
- Added batch save methods for saving nodes (`save_nodes()`) and saving relationships (`save_relationships()`). [106](https://github.com/memgraph/gqlalchemy/pull/106)
- Added label filtering in `where()` method in query builder. [103](https://github.com/memgraph/gqlalchemy/pull/103)
- Added support for creating a trigger without `ON` keyword in query builder. [90](https://github.com/memgraph/gqlalchemy/pull/90)
- Added `execute()` option in query builder. [92](https://github.com/memgraph/gqlalchemy/pull/92)
- Added `load_csv()` and `xor_where()` methods to query builder. [90](https://github.com/memgraph/gqlalchemy/pull/90)

Bug fixes

- Fixed `save_node_with_id()` signature in the `save_node()` method. [109](https://github.com/memgraph/gqlalchemy/pull/109)
- Constraints and indexes defined in `Field` now work correctly. Before, when they were added to the `Field` of the property, they were always set to `True`, regardless of their actual value. [90](https://github.com/memgraph/gqlalchemy/pull/90)
- Fixed label inheritance to get all labels of base class. [105](https://github.com/memgraph/gqlalchemy/pull/105)
- Removed extra argument called `optional` from the `Merge` class. [118](https://github.com/memgraph/gqlalchemy/pull/118)
- Removed unnecessary quotes from the `bootstraps_servers` argument when creating a stream. [98](https://github.com/memgraph/gqlalchemy/pull/98)

1.1.5

- Removed the argument `optional` from the `Merge` class.

1.1.4

Changed method `_save_node_with_id()` to `save_node_with_id()`.

1.1.3

- Update **[pymgclient](https://github.com/memgraph/pymgclient)** to version 1.2.0.

1.1.0

Major Features and Improvements

- Added graph schema definition and validation.
- Added new methods to the query builder: `merge()`, `create()`,
`unwind()`,`with_()`, `return_()`, `yield_()`, `order_by()`, `limit()`,
`skip()`, `call()`, `delete()` and `remove()`.
- Added on-disk storage for large properties that don't need to be stored in the
graph database.
- Added support for managing streams and database triggers.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.