Skip to content

Releases: memgraph/gqlalchemy

1.6.0

10 Jul 13:16
5124657
Compare
Choose a tag to compare

Features and improvements

  • Added SIMILAR operator to query builder (#304)
  • Better documented how to load CSV from a remote location: to load CSV from a remote location, provide a URL as a path (#305)
  • You can now add relationship properties in many-to-many mapping when importing a CSV file (#306)
  • Added getter and setter for Memgraph storage modes (#309)
  • Added get_transactions() and terminate_transactions() methods for easier transaction management (#310)
  • Added support for ZonedDateTime data type (#312)

v1.5.1

08 Jan 13:12
Compare
Choose a tag to compare

Updates

  • Support pydantic versions >= 2.3.0, < 3.0.0 (#298)
  • Support pymgclient versions >= 1.3.1, < 2.0.0 , neo4j versions >= 4.4.3, < 5.0.0, pytest-flake8 versons >= 1.0.7, < 2.0.0 (#299)

v1.5.0

22 Sep 13:23
24f7b77
Compare
Choose a tag to compare

Features and improvements

  • Added get_or_create() metod for Node and Relationship to simplify merging nodes and relationships (#244) by @aalekhpatel07
  • Added spelling fixes (#251) by @jsoref
  • Turned docker into an optional dependency (#279) by @antepusic

Bug fixes

Updates

Special thanks to all our outside contributors for their efforts! 👏

Note

We are hoping to have full support for Python 3.11 soon. Please open an issue if you have any blockers with the current update.

v1.4.1

19 Apr 09:59
3c54db9
Compare
Choose a tag to compare

Features and improvements

  • Installing and testing GQLAlchemy is now easier because Apache Arrow, PyTorch Geometric and DGL dependencies have been made optional. #235

Bug fixes

  • Removed unnecessary extra argument in the call of the escape_value method and fixed a bug in query creation for the Map property type. #198

v1.4.0

10 Mar 16:34
d0f5e4d
Compare
Choose a tag to compare

Features and improvements

  • Data from Memgraph can now be imported from and exported to NetworkX, DGL and PyG graph formats. #215
  • Now you can execute procedures from query modules on a subgraph using the project feature. #210
  • Now you can pass values from Python variables as parameters in Cypher queries. #217
  • Besides BSF, DSF and WSHORTEST, now you can also run the All shortest paths algorithm with GQLAlchemy. #200

Release v1.3.3

15 Dec 10:56
96bed59
Compare
Choose a tag to compare

Bug fixes

  • Added initial support for NumPy arrays (ndarray) and scalars (generic) #208

Release v1.3.2

15 Sep 10:48
2d5c3c6
Compare
Choose a tag to compare

Bug fixes

  • Fixed Unicode serialisation #189
  • Fixed GQLAlchemyWaitForConnectionError and GQLAlchemyDatabaseError #188
  • Fixed Datetime serialisation #185

Updates

  • Bumped pyarrow #193
  • Updated poetry to 1.2.0 and pymgclient to 1.3.1 #191
  • Updated all dependencies #194

Release v1.3.0

14 Jun 15:22
abbee73
Compare
Choose a tag to compare

Breaking Changes

  • Renamed keyword argument edge_label to relationship_type in to() and from() methods in the query builder. #145

Major Features and Improvements

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

Bug fixes

  • Fixed the unbound variable error in the return statement of the Cypher query in memgraph.save_relationship_with_id(). #166
  • Fixed checking if None for Optional properties. #167

Release v1.2.0

12 Apr 11:08
12a05b6
Compare
Choose a tag to compare

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
  • Added where_not(), and_not(), or_not() and xor_not() methods. #114
  • Improved order_by() method from query builder by changing its argument types. #114
  • Added Docker and Binary Memgraph instance runners. #91
  • Added Azure Blob and local storage importers. #104
  • Added methods for dropping all indexes (drop_all_indexes()) and dropping all triggers (drop_all_triggers()). #100
  • Added table to graph importer. #100
  • Added an option to create a label index. #113
  • Added batch save methods for saving nodes (save_nodes()) and saving relationships (save_relationships()). #106
  • Added label filtering in where() method in query builder. #103
  • Added support for creating a trigger without ON keyword in query builder. #90
  • Added execute() option in query builder. #92
  • Added load_csv() and xor_where() methods to query builder. #90

Bug fixes

  • Fixed save_node_with_id() signature in the save_node() method. #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
  • Fixed label inheritance to get all labels of base class. #105
  • Removed extra argument called optional from the Merge class. #118
  • Removed unnecessary quotes from the bootstraps_servers argument when creating a stream. #98

Release v1.1.5

01 Apr 07:37
e12093f
Compare
Choose a tag to compare
  • Removed the argument optional from the Merge class.