Skip to content

Commit a56654c

Browse files
Update VERSION to 3.5.5
1 parent 8bb6ff0 commit a56654c

File tree

3 files changed

+45
-52
lines changed

3 files changed

+45
-52
lines changed

RELEASE_NOTES_LATEST.md

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

1010

1111
```sh
12-
cargo add [email protected].0
12+
cargo add [email protected].5
1313
```
1414

1515

1616
### Java driver
1717

18-
Available through [https://repo.typedb.com](https://cloudsmith.io/~typedb/repos/public-release/packages/detail/maven/typedb-driver/3.5.0/a=noarch;xg=com.typedb/)
18+
Available through [https://repo.typedb.com](https://cloudsmith.io/~typedb/repos/public-release/packages/detail/maven/typedb-driver/3.5.5/a=noarch;xg=com.typedb/)
1919
Documentation: https://typedb.com/docs/drivers/java/overview
2020

2121
```xml
@@ -29,7 +29,7 @@ Documentation: https://typedb.com/docs/drivers/java/overview
2929
<dependency>
3030
<groupid>com.typedb</groupid>
3131
<artifactid>typedb-driver</artifactid>
32-
<version>3.5.0</version>
32+
<version>3.5.5</version>
3333
</dependency>
3434
</dependencies>
3535
```
@@ -41,8 +41,9 @@ Documentation: https://typedb.com/docs/drivers/python/overview
4141

4242
Available through https://pypi.org
4343

44+
[//]: # (TODO: Python's RC/Alpha/Beta versions are formatted differently. Don't foget to update manually until we make an automation)
4445
```
45-
pip install typedb-driver==3.5.0
46+
pip install typedb-driver==3.5.5
4647
```
4748

4849
### HTTP Typescript driver
@@ -53,25 +54,53 @@ NPM package: https://www.npmjs.com/package/typedb-driver-http
5354
Documentation: https://typedb.com/docs/drivers/
5455

5556
```
56-
npm install [email protected].0
57+
npm install [email protected].5
5758
```
5859

60+
5961
## New Features
60-
- **Implement serde traits for JSON**
62+
63+
64+
## Bugs Fixed
65+
- **Fix transaction on_close and Java and Python block on close()**
66+
67+
We notice that calling `transaction.close()` does not wait until the server has freed up resource. This makes quick sequences, such as tests where transactions open and are followed by database deletes, unreliable. Further investigation that workarounds using the existing `on_close` callbacks in Python and Java caused segfaults. We fix both:
6168

62-
We implement serde's `Serialize` for `ConceptDocument` and our custom `JSON` type. This allows crates like `axum` that rely on `serde` to seamlessly return `Json<ConceptDocument>` from request handlers.
69+
1) `Transaction.close()` in Python and Java now blocks for 1 round trip. In Rust, this now returns a promise/future. In Java/Python, we pick the most relevant default and resolve the promise from Java/Python.
70+
2) We fix segfaults that occur when the Rust driver calls into Python/Java once the user attaches `.on_close` callbacks to transactions.
6371

64-
We also implement `Deserialize` for `JSON` for convenience.
72+
We also fix nondeterministic errors:
73+
1) adding `on_close` callbacks must return a promise, since the implementation injects the callback into our lowest-level listener loop which may register the callback later. Not awaiting the `on_close()` registration will lead to hit or miss execution of the callback when registering on_close callbacks, not awaiting, and then closing the transaction immediately
74+
2) we add `keepalive` to the channel, without which messages sometimes get "stuck" on the client-side receiving end of responses from the server. No further clues found as to why this happens. See comments for more detail.
75+
76+
We also add one major feature enhancement: configurable logging. All logging should now go through the `tracing` crate. We can configure logging levels for just the driver library with the `TYPEDB_DRIVER_LOG` or general `RUST_LOG` environment variables. By default we set it to `info`.
6577

6678

67-
- **Update the HTTP-TS driver with analyze endpoint response**
68-
Update the HTTP-TS driver with the response structure for the analyze endpoint
6979

70-
## Bugs Fixed
71-
- **Fix database importer decoding error**
72-
Stabilize the database import function by eliminating rare decoding errors that could occur during the import of large datasets. All the exported files that the import function could not process are still valid and should be correctly imported after the proposed changes.
80+
## Code Refactors
81+
7382

7483
## Other Improvements
75-
- **Fix links**
84+
- **Fix Config**
85+
86+
- **Trigger ci**
87+
88+
- **Try to fix snapshot tests python 3.9**
7689

77-
- **Update READMEs**
90+
- **Update dependencies after servers relation index fix for CI tests**
91+
Ensure drivers run new BDD tests for migration written with the core's relation index fix https://github.com/typedb/typedb/pull/7594
92+
93+
94+
- **Correct link in README**
95+
96+
Correct a link in the README that linked to `nodejs` instead of `http-ts`
97+
98+
99+
- **HTTP/TS: Don't enforce Node 22 for installing the package**
100+
101+
- **HTTP/TS: Fix response type checks throwing on certain inputs**
102+
103+
In the HTTP/TS driver, `isApiErrorResponse` and `isOkResponse` should never throw errors anymore for any input.
104+
105+
106+

RELEASE_TEMPLATE.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -57,40 +57,4 @@ Documentation: https://typedb.com/docs/drivers/
5757
npm install typedb-driver-http@{version}
5858
```
5959

60-
[//]: # (TODO: Please remove the unreleased drivers manually. Commenting them out in Markdown looks scary)
61-
62-
### NodeJS GRPC driver
63-
64-
NPM package: https://www.npmjs.com/package/typedb-driver
65-
Documentation: https://typedb.com/docs/drivers/nodejs/overview
66-
67-
```
68-
npm install typedb-driver@{version}
69-
```
70-
71-
### C# driver
72-
73-
NuGet package: https://www.nuget.org/packages/TypeDB.Driver
74-
Documentation: https://typedb.com/docs/drivers/csharp/overview
75-
76-
```xml
77-
<ItemGroup>
78-
<PackageReference Include="TypeDB.Driver" Version="{version}" />
79-
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-x64" Version="{version}" />
80-
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-x64" Version="{version}" />
81-
<PackageReference Include="TypeDB.Driver.Pinvoke.win-x64" Version="{version}" />
82-
<PackageReference Include="TypeDB.Driver.Pinvoke.osx-arm64" Version="{version}" />
83-
<PackageReference Include="TypeDB.Driver.Pinvoke.linux-arm64" Version="{version}" />
84-
</ItemGroup>
85-
```
86-
87-
### C++ driver
88-
89-
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-cpp+version:{version}
90-
Documentation: https://typedb.com/docs/drivers/cpp/overview
91-
92-
### C driver
93-
94-
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-clib+version:{version}
95-
9660
{ release notes }

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.5.0
1+
3.5.5

0 commit comments

Comments
 (0)