Skip to content

Commit b9b8467

Browse files
authored
Prepare for release 3.2.0 (#757)
## Usage and product changes Update release notes and dependencies for release 3.2.0 ## Implementation
1 parent 7e88191 commit b9b8467

File tree

5 files changed

+35
-12
lines changed

5 files changed

+35
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RELEASE_NOTES_LATEST.md

Lines changed: 30 additions & 7 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]-rc2
12+
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.2.0-rc2/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.2.0/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.2.0-rc2</version>
32+
<version>3.2.0</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==3.2.0rc2
45+
pip install typedb-driver==3.2.0
4646
```
4747

4848
## New Features
@@ -93,13 +93,36 @@ pip install typedb-driver==3.2.0rc2
9393
```
9494

9595

96+
- **Introduce Rust driver token-based authentication**
97+
We update the protocol version and introduce token-based authentication for all the available drivers. Now, instead of sending usernames and passwords for authentication purposes, authorization tokens are implicitly added to every network request to a TypeDB server. It enhances the authentication speed and security.
98+
99+
These tokens are acquired as a result of driver instantiation and are renewed automatically. This feature does not require any user-side changes.
100+
101+
Additionally, as a part of the HTTP client introduction work, we rename Concept Documents key style from snake_case to camelCase, which is a common convention for JSONs (it affects only value types: `value_type` -> `valueType`).
102+
103+
96104

97105
## Bugs Fixed
98-
106+
- **Fix incorrect resource ownership transmission in schema retrieval C functions**
107+
Fix a crash caused by an incorrect database's ownership acquisition in the C layer of the `schema` and `type_schema` functions, affecting Python and Java drivers.
108+
109+
Add respective BDD steps implementations for these functions in Rust, Python, and Java.
110+
111+
99112

100113
## Code Refactors
101114

102115

103116
## Other Improvements
104-
105-
117+
118+
- **Update dependencies**
119+
After a recent update of the crates, rustls added aws-lc-rs as a default dependency. This caused runtime issues during loading of the shared library where the dynamic linker could not find some symbols from aws-lc:
120+
121+
```
122+
ImportError: dlopen(.../native_driver_python.so, 0x0002): symbol not found in flat namespace '_aws_lc_0_28_0_EVP_aead_aes_128_gcm'
123+
```
124+
125+
We decided to force the use of ring as the cryptographic provider for rustls instead.
126+
127+
128+

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0-rc2
1+
3.2.0

dependencies/typedb/repositories.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ def typedb_dependencies():
2121
git_repository(
2222
name = "typedb_dependencies",
2323
remote = "https://github.com/typedb/typedb-dependencies",
24-
commit = "b92f47300913cc8555ef18580eeaa5b1b1ecd2a1", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_dependencies
24+
commit = "ab777bf067b1930e35146fd8e25a76a4a360aa74", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_dependencies
2525
)
2626

2727
def typedb_protocol():
2828
git_repository(
2929
name = "typedb_protocol",
3030
remote = "https://github.com/typedb/typedb-protocol",
31-
tag = "3.2.0-rc2", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_protocol
31+
tag = "3.2.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @typedb_protocol
3232
)
3333

3434
def typedb_behaviour():

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060

6161
[dependencies.typedb-protocol]
6262
features = []
63-
rev = "a6d5a8e6fe8460426d7b55fb9d69dc851b157bdd"
6463
git = "https://github.com/typedb/typedb-protocol"
64+
tag = "3.2.0"
6565
default-features = false
6666

6767
[dependencies.log]

0 commit comments

Comments
 (0)