Skip to content

Commit 4e6df52

Browse files
Merge master back into development following 2.28.2-rc1 release (#653)
## Usage and product changes Merge master back into development following 2.28.2-rc1 release
2 parents ab44170 + a7227fa commit 4e6df52

File tree

4 files changed

+32
-36
lines changed

4 files changed

+32
-36
lines changed

.circleci/config.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ executors:
4646
resource_class: macos.m1.medium.gen1
4747
working_directory: ~/typedb-driver
4848

49+
win-x86_64:
50+
resource_class: windows.xlarge
51+
machine:
52+
image: windows-server-2022-gui:2024.01.1
53+
shell: cmd.exe
4954

5055
commands:
5156

@@ -578,10 +583,7 @@ jobs:
578583
- deploy-dotnet-runtime-snapshot-unix
579584

580585
deploy-snapshot-windows-x86_64:
581-
executor:
582-
name: win/default
583-
size: xlarge
584-
shell: cmd.exe
586+
executor: win-x86_64
585587
working_directory: ~/typedb-driver
586588
steps:
587589
- checkout
@@ -669,10 +671,7 @@ jobs:
669671
- test-dotnet-snapshot-mac-rosetta
670672

671673
test-snapshot-windows-x86_64:
672-
executor:
673-
name: win/default
674-
size: xlarge
675-
shell: cmd.exe
674+
executor: win-x86_64
676675
working_directory: ~/typedb-driver
677676
steps:
678677
- checkout
@@ -748,10 +747,7 @@ jobs:
748747
- deploy-dotnet-runtime-release-unix
749748

750749
deploy-release-windows-x86_64:
751-
executor:
752-
name: win/default
753-
size: xlarge
754-
shell: cmd.exe
750+
executor: win-x86_64
755751
working_directory: ~/typedb-driver
756752
steps:
757753
- checkout

RELEASE_NOTES_LATEST.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Documentation: https://typedb.com/docs/drivers/rust/overview
99

1010

1111
```sh
12-
cargo add typedb-driver@2.28.1
12+
cargo add typedb-driver@2.28.2-rc1
1313
```
1414

1515

@@ -29,7 +29,7 @@ Documentation: https://typedb.com/docs/drivers/java/overview
2929
<dependency>
3030
<groupid>com.vaticle.typedb</groupid>
3131
<artifactid>typedb-driver</artifactid>
32-
<version>2.28.1</version>
32+
<version>2.28.2-rc1</version>
3333
</dependency>
3434
</dependencies>
3535
```
@@ -42,7 +42,7 @@ Documentation: https://typedb.com/docs/drivers/python/overview
4242
Available through https://pypi.org
4343

4444
```
45-
pip install typedb-driver==2.28.1
45+
pip install typedb-driver==2.28.2-rc1
4646
```
4747

4848
### NodeJS driver
@@ -51,7 +51,7 @@ NPM package: https://www.npmjs.com/package/typedb-driver
5151
Documentation: https://typedb.com/docs/drivers/nodejs/overview
5252

5353
```
54-
npm install typedb-driver@2.28.1
54+
npm install typedb-driver@2.28.2-rc1
5555
```
5656

5757
### C# driver
@@ -61,38 +61,38 @@ Documentation: https://typedb.com/docs/drivers/csharp/overview
6161

6262
```xml
6363
<ItemGroup>
64-
<PackageReference Include="TypeDB.Driver" Version="2.28.1" />
65-
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-x64" Version="2.28.1" />
66-
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="2.28.1" />
67-
<PackageReference Include="TypeDB.Driver.Pinvoke.win-x64" Version="2.28.1" />
68-
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-arm64" Version="2.28.1" />
69-
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-arm64" Version="2.28.1" />
64+
<PackageReference Include="TypeDB.Driver" Version="2.28.2-rc1" />
65+
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-x64" Version="2.28.2-rc1" />
66+
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="2.28.2-rc1" />
67+
<PackageReference Include="TypeDB.Driver.Pinvoke.win-x64" Version="2.28.2-rc1" />
68+
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-arm64" Version="2.28.2-rc1" />
69+
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-arm64" Version="2.28.2-rc1" />
7070
</ItemGroup>
7171
```
7272

7373
### C++ driver
7474

75-
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-cpp+version:2.28.1
75+
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-cpp+version:2.28.2-rc1
7676
Documentation: https://typedb.com/docs/drivers/cpp/overview
7777

7878
### C driver
7979

80-
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-clib+version:2.28.1
80+
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-clib+version:2.28.2-rc1
8181

8282

8383
## New Features
84-
- **Copy jin library from input stream rather than file**
85-
We now copy the jni library by reading from it as an input stream rather than as a file copy. This approach works when the JNI jars are nested, such as in Spring Boot projects.
84+
85+
86+
## Bugs Fixed
87+
- **JNI library loading uses a predetermined file name**
88+
The unpacked JNI library now uses a pre-determined filename. This replaces logic to extract the filename from the packaged resource.
89+
8690

8791

8892
## Code Refactors
89-
- **Fix misleading cloud encryption error message**
90-
The old version of the cloud encryption error message confused the user in case, for example, their endpoint is not encrypted, but the connection is. There are also other potential causes of the `received corrupt message` status message, that we can't understand on a deeper level, so it's more correct to have a less specific error message here.
91-
93+
9294

9395
## Other Improvements
94-
- **Each API reference is combined in a single partial for easier preview and usage**
95-
96-
For each driver, we move all AsciiDoc `include` directives to a dedicated partial called `api-reference.adoc` in the drivers repo.
97-
This way, all the content can be previewed from the typedb-driver repo and included in the docs web content with a single include directive.
98-
96+
97+
98+

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.28.1
1+
2.28.2-rc1

java/common/Loader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static Path unpackNativeLibrary() throws IOException {
9292
private static Path unpackNativeResources(URL resourceURL) throws IOException {
9393
Path tempPath = Files.createTempDirectory("typedb-driver-lib");
9494
tempPath.toFile().deleteOnExit();
95-
Path newPath = tempPath.resolve(Path.of(resourceURL.getPath()).getFileName().toString());
95+
Path newPath = tempPath.resolve(DRIVER_JNI_LIBRARY_NAME);
9696
Files.copy(resourceURL.openStream(), newPath);
9797
newPath.toFile().deleteOnExit();
9898
return newPath;

0 commit comments

Comments
 (0)