@@ -62,6 +62,12 @@ updated.
62
62
63
63
### Memgraph v3.2.0 - Apr 23rd, 2025
64
64
65
+ { <h4 className = " custom-header" >⚠️ Breaking changes</h4 >}
66
+
67
+ - Procedure results are now populated with null values by default. Procedures
68
+ no longer throw if all result fields don't get inserted; instead, they return
69
+ null in those fields. [ #2790 ] ( https://github.com/memgraph/memgraph/pull/2790 )
70
+
65
71
{ <h4 className = " custom-header" >✨ New features</h4 >}
66
72
67
73
- Added support for composite indices. Composite indices are indices on labels
@@ -71,6 +77,66 @@ updated.
71
77
frequently queried combinations of properties.
72
78
[ #2760 ] ( https://github.com/memgraph/memgraph/pull/2760 ) ,
73
79
[ #2887 ] ( https://github.com/memgraph/memgraph/pull/2887 )
80
+ - Added metrics tracking related to replication and high availability. This
81
+ includes metrics like the number of RPC messages sent, the duration of the
82
+ recovery etc. Users can use our
83
+ [ prometheus-exporter] ( https://github.com/memgraph/prometheus-exporter ) to get
84
+ immediately cluster info status.
85
+ [ #2772 ] ( https://github.com/memgraph/memgraph/pull/2772 )
86
+ - Added ` mgp_result_reserve ` function to the C-api for reserving memory for
87
+ procedure results. [ #2790 ] ( https://github.com/memgraph/memgraph/pull/2790 )
88
+ - Added edge TTL. The system can now automatically delete stale edges using the
89
+ specified property ` ttl ` inside the edges.
90
+ [ #2730 ] ( https://github.com/memgraph/memgraph/pull/2730 )
91
+ - Added global index on edge properties. Since edges have only one relationship
92
+ type, the global property index will have a data structure that is tracked
93
+ over properties with the syntax ` CREATE GLOBAL EDGE INDEX ON :(prop) ` .
94
+ [ #2730 ] ( https://github.com/memgraph/memgraph/pull/2730 )
95
+ - Expanded storage access types to UNIQUE, READ, WRITE and READ_ONLY. A better
96
+ differentiation of query types allows more queries to run in parallel. Users
97
+ can now run read queries while creating snapshots, even in ANALYTICAL mode.
98
+ [ 2798] ( https://github.com/memgraph/memgraph/pull/2798 )
99
+ - Added support for OR label expressions, enabling queries like `MATCH
100
+ (n:Label1|Label2)` to retrieve nodes with any of the specified labels. If
101
+ indexes exist on the labels, the planner rewrites the query as a UNION of
102
+ index scans for efficient execution. Additionally, simple WHERE clauses with
103
+ OR label checks are optimized similarly, reducing reliance on full scans.
104
+ [ #2783 ] ( https://github.com/memgraph/memgraph/pull/2783 )
105
+
106
+ { <h4 className = " custom-header" >🛠️ Improvements</h4 >}
107
+
108
+ - There is now an improved logic for selecting the new MAIN instance during the
109
+ failover in the MT environment. An instance that has the newest databases is
110
+ considered the newest. Users will now have a smaller chance of experiencing
111
+ the loss of committed data.
112
+ [ #2812 ] ( https://github.com/memgraph/memgraph/pull/2812 )
113
+ - Metrics related to HA coordinators are now immediately reset after the client
114
+ pulls them. Users can now see the aggregated value from all coordinators when
115
+ using [ Memgraph's Prometheus
116
+ exporter] ( https://github.com/memgraph/prometheus-exporter/pull/19 ) . Also, the
117
+ data won't be lost after the coordinator's restart.
118
+ [ #2802 ] ( https://github.com/memgraph/memgraph/pull/2802 )
119
+ - The memory footprint of TypedValue (internal data structure used mostly
120
+ during query execution) got smaller. The optimization results in lower memory
121
+ usage in query modules that return many results (e.g., modules that return
122
+ the whole graph, like PageRank) by a few percent.
123
+ [ #2806 ] ( https://github.com/memgraph/memgraph/pull/2806 )
124
+ - Reduced memory footprint of ` mgp_result_record ` used for returning results in
125
+ all procedures APIs. The optimization reduces memory usage by up to 50% in
126
+ query modules, which return many results, such as the whole graph (e.g.,
127
+ PageRank). [ #2790 ] ( https://github.com/memgraph/memgraph/pull/2790 )
128
+ - ` utils::Scheduler ` now skips backed-up tasks. Background tasks that took
129
+ longer than the period will not be called multiple times after the execution.
130
+ It lowers the overall workload and frees up resources.
131
+ [ 2853] ( https://github.com/memgraph/memgraph/pull/2853 )
132
+ - Schema info edge updates made faster. Previously, edge deletions would cause
133
+ a slow commit. Users can now use the run-time schema info more freely without
134
+ impacting the performance.
135
+ [ 2844] ( https://github.com/memgraph/memgraph/pull/2844 )
136
+ - Snapshot creation has been parallelized. Edges and vertices are batched (as
137
+ defined via flag). These batches are processed in parallel on a number of
138
+ threads. Users can now create snapshots in less time, freeing up resources
139
+ for other tasks. [ 2818] ( https://github.com/memgraph/memgraph/pull/2818 )
74
140
75
141
{ <h4 className = " custom-header" >🐞 Bug fixes</h4 >}
76
142
@@ -103,6 +169,24 @@ updated.
103
169
creating snapshots will be paused on demotion. Similarly, when the REPLICA is
104
170
promoted to the main, the snapshot thread will be resumed.
105
171
[ #2846 ] ( https://github.com/memgraph/memgraph/pull/2846 )
172
+ - The ` DUMP DATABASE ` query generated the wrong query for ANY triggers. Dumping
173
+ the database now generates the correct trigger query.
174
+ [ 2855] ( https://github.com/memgraph/memgraph/pull/2855 )
175
+ - Fixed missing edge property index and unique constraint garbage collection.
176
+ No slow memory creep up while using constraints or edge index.
177
+ [ 2850] ( https://github.com/memgraph/memgraph/pull/2850 )
178
+ - Metadata from WAL files was unnecessarily used during recovery, even for old
179
+ WAL files which shouldn't have been used. This could've caused a possible
180
+ data loss because newer WAL files wouldn't be used in some situations while
181
+ recovering. [ #2892 ] ( https://github.com/memgraph/memgraph/pull/2892 )
182
+ - ` DUMP DATABASE ` has more stability guarantees. The output order has changed
183
+ for better memory usage and performance, and a sort is applied to the type
184
+ constraints. The durability write bug in v2.19.0, v2.20.0, v2.20.1 for the
185
+ 3D Cartesian data type was fixed in v2.21.0, but in a way that reading
186
+ durability from those versions would no longer be possible if a "corrupt"
187
+ 3D Cartesian was written into those durability files. Those durability
188
+ files can now be read, and the engine handles the "corrupt" values.
189
+ [ #2888 ] ( https://github.com/memgraph/memgraph/pull/2888 )
106
190
107
191
### MAGE v3.2.0 - Apr 23rd, 2025
108
192
0 commit comments