Release Date: 4 May 2020
Neo4j 4.0.4 is a maintenance release with many important improvements and fixes.


  • cypher-shell: This adds support for neo4j+s, neo4j+ssc, bolt+s, and bolt+ssc.
  • cypher-shell: Fix bug when running non-interactively and password change required
  • Update shiro to 1.5.2 to fix BlackDuck warning
  • Improve disabled metrics log messages
  • Fix validation for external path (from/to) in neo4j-admin administrative commands
  • Fix a rewriter issue which caused too many predicates to be rewritten away for certain queries with optional match and distinct.
  • Fixes a bug where the security graph wasn’t initialized unless native was used in either or when running in a clustered environment
  • The database could previously leave the “temp-bootstrap” directory around as part of cluster formation and especially as part of a series of failed formation attempts this lead to them getting stacked further and further on top of each other (i.e. temp-bootstrap/temp-bootstrap/temp-bootstrap/…). This should only have affected the bootstrapping of the system database. For installations which are functional but have this directory laying around unnecessarily it will simply be removed now for any database.

Detailed Changes and Docs

For the complete list of all changes, please see the changelog. Look for 4.0 Operations manual here.