-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Usage and product changes Merge for 2.28.6-rc0 release
- Loading branch information
Showing
78 changed files
with
1,609 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Documentation: https://typedb.com/docs/drivers/rust/overview | |
|
||
|
||
```sh | ||
cargo add [email protected].4 | ||
cargo add [email protected].6-rc0 | ||
``` | ||
|
||
|
||
|
@@ -29,7 +29,7 @@ Documentation: https://typedb.com/docs/drivers/java/overview | |
<dependency> | ||
<groupid>com.vaticle.typedb</groupid> | ||
<artifactid>typedb-driver</artifactid> | ||
<version>2.28.4</version> | ||
<version>2.28.6-rc0</version> | ||
</dependency> | ||
</dependencies> | ||
``` | ||
|
@@ -42,7 +42,7 @@ Documentation: https://typedb.com/docs/drivers/python/overview | |
Available through https://pypi.org | ||
|
||
``` | ||
pip install typedb-driver==2.28.4 | ||
pip install typedb-driver==2.28.6rc0 | ||
``` | ||
|
||
### NodeJS driver | ||
|
@@ -51,7 +51,7 @@ NPM package: https://www.npmjs.com/package/typedb-driver | |
Documentation: https://typedb.com/docs/drivers/nodejs/overview | ||
|
||
``` | ||
npm install [email protected].4 | ||
npm install [email protected].6-rc0 | ||
``` | ||
|
||
### C# driver | ||
|
@@ -61,39 +61,60 @@ Documentation: https://typedb.com/docs/drivers/csharp/overview | |
|
||
```xml | ||
<ItemGroup> | ||
<PackageReference Include="TypeDB.Driver" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-x64" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.win-x64" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-arm64" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-arm64" Version="2.28.4" /> | ||
<PackageReference Include="TypeDB.Driver" Version="2.28.6-rc0" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-x64" Version="2.28.6-rc0" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="2.28.6-rc0" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.win-x64" Version="2.28.6-rc0" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-arm64" Version="2.28.6-rc0" /> | ||
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-arm64" Version="2.28.6-rc0" /> | ||
</ItemGroup> | ||
``` | ||
|
||
### C++ driver | ||
|
||
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.4 | ||
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.6-rc0 | ||
Documentation: https://typedb.com/docs/drivers/cpp/overview | ||
|
||
### C driver | ||
|
||
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.4 | ||
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.6-rc0 | ||
|
||
|
||
## New Features | ||
|
||
|
||
## Bugs Fixed | ||
- **JNI library loading uses a predetermined file name** | ||
The unpacked JNI library now uses a pre-determined filename. This replaces logic to extract the filename from the packaged resource. | ||
- **Python. Fix driver.close(). Add integration tests for connection closing for both core and cloud** | ||
We fix the issue https://github.com/vaticle/typedb-driver/issues/669, where the Python Driver didn't close the connection when calling `TypeDBDriver.close()`. | ||
|
||
|
||
|
||
## Code Refactors | ||
|
||
- **Invert address translation table: map public addresses to private** | ||
|
||
NOTE: The address translation table now represents mapping _from_ the desired connection addresses to the addresses the cloud servers are configured with. This change does not impact users of TypeDB Core or TypeDB Cloud through the TypeDB Cloud Platform (https://cloud.typedb.com/) | ||
|
||
|
||
|
||
## Other Improvements | ||
- **Turn on development mode for tests** | ||
We activate the newly introduced in `TypeDB` `--development-mode.enable` flag for all the CI builds of the driver. | ||
- **Hermetic npm deployment** | ||
|
||
- **Build and deploy for Python 3.12** | ||
|
||
We enable support for python 3.12 driver build. | ||
|
||
- **Partial go driver implementation** | ||
Implement Basic core driver functionality of creating and closing a database. | ||
|
||
|
||
- **Make the author of the NodeJS and Python drivers "TypeDB Community"** | ||
|
||
The `author` field of our NodeJS and Python drivers (`package.json` and PyPi configuration) is now **TypeDB Community** with the email being **[email protected]**. | ||
|
||
|
||
- **Fix CI builds with updated error messages from typedb and typedb-cloud artifacts** | ||
We update `typedb` and `typedb-cloud` artifacts references to match `TypeDB***Runner`s used in most of the languages with `typeql` versions used in Rust and Java drivers in CI. | ||
|
||
Previously, the versions were mismatched, which caused errors in CI because of the different error messages received from drivers (Rust `typeql` for Rust, Java `typeql` for Java, and direct values from the server for all the other drivers). | ||
|
||
- **Update `nodejs` driver dependencies and fix builds based on the updated `typescript` rules** | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.28.4 | ||
2.28.6-rc0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/* TODO: Implement */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.