
Control, Flexibilty and Smarter Queries: What's New in Memgraph 3.5
We just shipped Memgraph 3.5, and it’s built with you in mind. This release isn’t just about ticking off feature requests, it’s about giving you more control when managing users, clearer visibility into high‑availability clusters, and practical tools that make everyday querying less of a headache.
If you’re running Memgraph in production, these changes help you protect resources and minimize downtime. If you’re still experimenting or prototyping in Lab, you’ll find new ways to shape queries, design schemas, and push the database in directions that better fit your workflow.
Here’s a closer look at what you can start using today.
User Profiles and Resource Limits
Admins now get a lot more control with the new USER PROFILE
feature. You can:
- Limit the number of active sessions per user.
- Cap memory usage at the user level.
- Monitor resource usage in real time.
We've also added support for multiple roles per user, allowing for database-specific permissions and enhanced SSO integration.
Data Safety With STRICT_SYNC Replication
For high availability deployments, data loss during a failover is a real concern. We've added a STRICT_SYNC replication mode. When replicas are set to this mode, you can run a high availability cluster without fear of losing data during a failover. This feature offers you a new level of confidence in your mission-critical graph applications.
Querying Gets Smarter
Memgraph 3.5 brings several upgrades to Cypher and query modules:
- KShortest path traversal: Use the syntax
((n1)-[*KShortest]->(n2))
to return multiple shortest paths between nodes. You can filter by path length, hop limits, or number of results. Paths are returned in order of length. - Existential subqueries: You can now use the Cypher construct
EXISTS { ... subquery ... }
to quickly filter nodes or relationships based on whether a pattern exists. - User role management: New Cypher commands like
SHOW CURRENT ROLE
and enhancedSET ROLE
/CLEAR ROLE
make role management straightforward. - Timezone-aware datetimes in query modules: Custom procedures and functions can now accept and return datetime values with full timezone information, whether named IANA zones or numeric offsets.
- Convert paths into trees: The new
convert_c.to_tree
procedure turns collections ofPATH
objects into nested maps, equivalent to Neo4j’sapoc.convert.toTree
. Perfect for returning hierarchical data structures from your graph.
Operational improvements
Working with Memgraph day-to-day just got smoother:
- New
SHOW
commands:SHOW INDEXES
,SHOW CONSTRAINTS
,SHOW VECTOR INDEXES
,SHOW ACTIVE USERS
,SHOW TRIGGER INFO
. - Text indexes on subsets of properties:
CREATE TEXT INDEX index_name ON :Label(prop1, prop2, prop3);
. - Snapshots that always succeed:
CREATE SNAPSHOT
now returns the path to the snapshot file and will force a snapshot even if no new changes are present. - Replication lag visibility: The new
SHOW REPLICATION LAG;
query lets you see how far behind each replica is compared to the leader, so you can make better failover decisions.
MAGE 3.5: More Functions For Your Queries
Here’s what’s new in the MAGE library:
collections_module.flatten
to flatten nested lists.text.indexOf
for string search with optional range arguments.math.round
with multiple rounding modes.
Lab 3.5: Better Ways To Explore and Design
Memgraph Lab also has a bunch of new improvements:
- Build and edit graph schemas with custom styles, labels, and properties.
- Built-in edge actions: Expand, collapse, or hide parallel edges.
- Double-click on an edge to quickly toggle expand/collapse.
- Define your own custom edge actions through configuration.
- Export schemas to SVG, PNG, or JSON.
- Save schemas inside Lab for reuse.
- Import schemas from JSON.
Upgrade today
From ensuring data safety with STRICT_SYNC replication to fine-tuning resource allocation with USER PROFILES, this update gives you a new level of control and flexibility across your entire Memgraph stack.
Download Memgraph 3.5.0, MAGE 3.5.0, and Lab 3.5.0 today and start exploring these new features. We're confident you'll find them invaluable for your next project.
Have questions? Hop on Discord or explore the Docs.
We’re excited to learn about what you’re building!