File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
database/neo4j/src/main/java/com/albertoventurini/graphdbplugin/database/neo4j/bolt
platform/src/main/resources/graphdb/messages Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ Unreleased ]
8+ ## [ 0.3.0 ]
99
1010### Added
1111
1212- Don't show Cypher autocompletion in comments (#4 )
1313- Support existential and count subqueries (#24 )
14+ - Support connections to named databases
1415
1516## [ 0.2.2]
1617
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ public Neo4jBoltDatabase(Neo4jBoltConfiguration configuration) {
4545
4646 final String authType = configuration .getAuthType ();
4747 final String protocol = configuration .getProtocol ();
48+ final String database = configuration .getDatabase ();
4849
4950 if (protocol == null ) {
5051 if (host .startsWith ("bolt://" ) || host .startsWith ("bolt+routing://" )) {
@@ -62,8 +63,8 @@ public Neo4jBoltDatabase(Neo4jBoltConfiguration configuration) {
6263 auth = AuthTokens .none ();
6364 }
6465
65- if (configuration . getDatabase () != null ) {
66- dbConfig = SessionConfig .forDatabase (configuration . getDatabase () );
66+ if (database != null && ! database . trim (). isEmpty () ) {
67+ dbConfig = SessionConfig .forDatabase (database );
6768 } else {
6869 dbConfig = SessionConfig .defaultConfig ();
6970 }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ intellijSdkVersion=2022.2
55# intellijSdkVersion=LATEST-EAP-SNAPSHOT
66
77# Versions
8- versionGradleIntelliJ =1.10.0
8+ versionGradleIntelliJ =1.10.1
99versionGradleChangelog =2.0.0
1010versionJunit =4.12
1111versionAssertj =3.23.1
Original file line number Diff line number Diff line change 11updater.title =Graph Database plugin updated to v{0}
22updater.notification =\
3- Add support for Cypher EXISTS and COUNT subqueries. Disable highlighting in Cypher comments.
3+ Add support for Cypher EXISTS and COUNT subqueries. \
4+ Disable highlighting in Cypher comments. \
5+ Support connections to named databases.
You can’t perform that action at this time.
0 commit comments