Skip to content

Commit 9f1dc25

Browse files
Prepare for release 0.3.0
1 parent 7f190da commit 9f1dc25

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and 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

database/neo4j/src/main/java/com/albertoventurini/graphdbplugin/database/neo4j/bolt/Neo4jBoltDatabase.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
99
versionGradleChangelog=2.0.0
1010
versionJunit=4.12
1111
versionAssertj=3.23.1
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
updater.title=Graph Database plugin updated to v{0}
22
updater.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.

0 commit comments

Comments
 (0)