Skip to content

Commit 88b31f9

Browse files
authored
Merge pull request #46 from ydb-platform/release_v2.0.7
Release v2.0.7
2 parents bf9af1c + 59ab128 commit 88b31f9

File tree

8 files changed

+31
-19
lines changed

8 files changed

+31
-19
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Set up JDK
29-
uses: actions/setup-java@v3
29+
uses: actions/setup-java@v4
3030
with:
3131
java-version: ${{ matrix.java }}
3232
distribution: 'temurin'
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Checkout YDB Java SDK
4545
if: env.NEED_SDK == 'true'
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
repository: ydb-platform/ydb-java-sdk
4949
ref: develop
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Checkout YC Auth provider
6262
if: env.NEED_SDK == 'true'
63-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6464
with:
6565
repository: ydb-platform/ydb-java-yc
6666
ref: develop
@@ -82,6 +82,7 @@ jobs:
8282
run: mvn $MAVEN_ARGS package
8383

8484
coverage:
85+
if: github.repository == 'ydb-platform/ydb-jdbc-driver'
8586
name: Coverage JDBC Driver
8687
runs-on: ubuntu-latest
8788
needs: build
@@ -91,10 +92,10 @@ jobs:
9192

9293
steps:
9394
- name: Checkout
94-
uses: actions/checkout@v3
95+
uses: actions/checkout@v4
9596

9697
- name: Set up JDK
97-
uses: actions/setup-java@v3
98+
uses: actions/setup-java@v4
9899
with:
99100
java-version: 8
100101
distribution: 'temurin'
@@ -111,7 +112,7 @@ jobs:
111112
112113
- name: Checkout YDB Java SDK
113114
if: env.NEED_SDK == 'true'
114-
uses: actions/checkout@v3
115+
uses: actions/checkout@v4
115116
with:
116117
repository: ydb-platform/ydb-java-sdk
117118
ref: develop
@@ -128,7 +129,7 @@ jobs:
128129

129130
- name: Checkout YC Auth provider
130131
if: env.NEED_SDK == 'true'
131-
uses: actions/checkout@v3
132+
uses: actions/checkout@v4
132133
with:
133134
repository: ydb-platform/ydb-java-yc
134135
ref: develop
@@ -150,4 +151,4 @@ jobs:
150151
run: mvn $MAVEN_ARGS test
151152

152153
- name: Upload coverage to Codecov
153-
uses: codecov/codecov-action@v3
154+
uses: codecov/codecov-action@v4

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
submodules: true
1818

@@ -38,7 +38,7 @@ jobs:
3838
script: core.setFailed('Release name must be equal to project version')
3939

4040
- name: Set up JDK
41-
uses: actions/setup-java@v3
41+
uses: actions/setup-java@v4
4242
with:
4343
java-version: 8
4444
distribution: 'temurin'
@@ -67,12 +67,12 @@ jobs:
6767
gpg --list-secret-keys --keyid-format LONG
6868
6969
- name: Checkout
70-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7171
with:
7272
submodules: true
7373

7474
- name: Set up Maven Central Repository
75-
uses: actions/setup-java@v3
75+
uses: actions/setup-java@v4
7676
with:
7777
java-version: 8
7878
distribution: 'temurin'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.7 ##
2+
3+
* Added getter for GrpcTransport to YdbContext
4+
15
## 2.0.6 ##
26

37
* Upgraded Java SDK version

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ Specify the YDB JDBC driver in the dependencies:
2525
<dependency>
2626
<groupId>tech.ydb.jdbc</groupId>
2727
<artifactId>ydb-jdbc-driver</artifactId>
28-
<version>2.0.6</version>
28+
<version>2.0.7</version>
2929
</dependency>
3030

3131
<!-- Shaded version with included dependencies -->
3232
<dependency>
3333
<groupId>tech.ydb.jdbc</groupId>
3434
<artifactId>ydb-jdbc-driver-shaded</artifactId>
35-
<version>2.0.6</version>
35+
<version>2.0.7</version>
3636
</dependency>
3737
</dependencies>
3838
```

jdbc-shaded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>tech.ydb.jdbc</groupId>
88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.0.6</version>
9+
<version>2.0.7</version>
1010
</parent>
1111

1212
<artifactId>ydb-jdbc-driver-shaded</artifactId>

jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>tech.ydb.jdbc</groupId>
88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.0.6</version>
9+
<version>2.0.7</version>
1010
</parent>
1111

1212
<artifactId>ydb-jdbc-driver</artifactId>

jdbc/src/main/java/tech/ydb/jdbc/context/YdbContext.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,14 @@ private YdbContext(YdbConfig config, GrpcTransport transport, PooledTableClient
9292
}
9393
}
9494

95-
95+
/**
96+
* Grpc Transport for other API YDB server clients
97+
*
98+
* @return grpcTransport for YDB
99+
*/
100+
public GrpcTransport getGrpcTransport() {
101+
return grpcTransport;
102+
}
96103

97104
public String getDatabase() {
98105
return grpcTransport.getDatabase();

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>tech.ydb.jdbc</groupId>
77

88
<artifactId>ydb-jdbc-driver-parent</artifactId>
9-
<version>2.0.6</version>
9+
<version>2.0.7</version>
1010

1111
<name>YDB JDBC Module</name>
1212
<description>JDBC Driver over YDB Java SDK</description>

0 commit comments

Comments
 (0)