Skip to content

Commit 2cf962a

Browse files
committedOct 18, 2024
Update version to 3.0.0-alpha-6. Prepare RN and protocol dependencies
1 parent 3215255 commit 2cf962a

File tree

3 files changed

+44
-23
lines changed

3 files changed

+44
-23
lines changed
 

‎RELEASE_NOTES_LATEST.md

+42-21
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@3.0.0-alpha-5
12+
cargo add typedb-driver@3.0.0-alpha-6
1313
```
1414

1515

@@ -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.0.0-alpha-5</version>
32+
<version>3.0.0-alpha-6</version>
3333
</dependency>
3434
</dependencies>
3535
```
@@ -42,31 +42,52 @@ Documentation: https://typedb.com/docs/drivers/python/overview
4242
Available through https://pypi.org
4343

4444
```
45-
pip install typedb-driver==3.0.0-alpha-5
45+
pip install typedb-driver==3.0.0-alpha-6
4646
```
4747

4848
## New Features
49-
- **Introduce TypeDB 3.0 Python driver**
50-
We introduce the updated Python driver for the upcoming 3.0 release. To align with the updated Rust driver, we removed `Concept API` (so you could simplify your querying workflow with a single `tx.query()` entry point), squeezed sessions and transactions to standalone transactions, and remodeled messaging with the server.
51-
52-
As it's an alpha release, some of the features are temporarily disabled both on the server and the driver's side:
53-
* Options;
54-
* User management;
55-
* Cloud connection with replicas information.
56-
57-
Moreover, we no longer support Python 3.8 as [its support comes to an end](https://devguide.python.org/versions/) and we want to offer the full support of our newly introduced timezones with the standard library equally for all the versions of the language.
49+
- **Add concept documents for fetch queries.**
50+
We add concept documents to support the results of the reintroduced `fetch` queries.
5851

59-
## Bugs Fixed
60-
- **Fix native object ownership checks in python driver**
61-
Multiple rarely used features of the python driver used to be broken because of the native object misuse.
52+
In Rust, results of `fetch` are streams of `ConceptDocument`s. It is possible to work with the structured document as a Rust `struct`, but it's also possible to convert it to a `JSON` document and/or its `String` representation.
6253

63-
## Code Refactors
54+
In Java, these results are presented as iterators over custom `JSON` class instances. A respective `toString` method is available.
55+
56+
In Python, these results are presented as iterators over standard `dict` instances (able to be printed).
57+
58+
Additionally, we add `QueryType` getters for general `QueryAnswer`s, so it's possible to check its type without collection.
59+
60+
Usage examples are shown in `README` for the Rust and the Python drivers. Example integration tests are also available for all 3 drivers.
61+
62+
63+
- **Introduce 3.0 datetime-tz offsets and Rust driver documentation and tests.**
64+
We introduce the second version of the Rust driver, adding TimeZone offsets for `datetime-tz` value types, fixing minor bugs and presenting the updated documentation and automated tests.
65+
66+
Rust driver changes:
67+
* Add `datetime-tz` offsets;
68+
* Refactor test structure to separate integration and behaviour tests using Bazel, not Cargo flags;
69+
* Introduce example integration test for Rust and update README with the formatted code sample;
70+
* Introduce updated 3.0 bdds for `connection` and `driver`;
71+
* Introduce flags to run Rust bdds in `core` or `cloud` modes when TypeDB Cloud 3.x is implemented;
72+
* Fix Rust driver docs parser and update generated docs.
6473

74+
Java and Python drivers changes:
75+
* Add `datetime-tz` offsets;
76+
* Rename `Thing` to `Instance`;
77+
* Remove `ThingType`,
78+
* Added `getLabel`/`get_label` for all `Concept` classes. Previously, it was only available for `Type`s.
6579

66-
## Other Improvements
67-
- **Bumped API version in antora config**
80+
Python driver changes:
81+
* Add bdd steps to match the updated declarations.
82+
83+
84+
- **Introduce 3.0 Python driver docs and tests.**
85+
We introduce the second version of the Python driver, fixing a number of minor bugs from the first version, enhancing existing APIs, and presenting the updated documentation and automated tests.
86+
87+
## Bugs Fixed
88+
89+
90+
## Code Refactors
6891

69-
- **Rename Maven groupId from "com.vaticle" to "com.typedb" to match the package path**
7092

71-
- **Fix CircleCI jobs for Maven installation and Python builds**
72-
93+
## Other Improvements

‎VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0-alpha-5
1+
3.0.0-alpha-6

‎dependencies/vaticle/repositories.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def vaticle_typedb_protocol():
2828
git_repository(
2929
name = "vaticle_typedb_protocol",
3030
remote = "https://github.com/typedb/typedb-protocol",
31-
commit = "94b79eb376e853a0a1c2b1ac838cb9d61f385100", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_protocol
31+
tag = "3.0.0-alpha-6", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_protocol
3232
)
3333

3434
def vaticle_typedb_behaviour():

0 commit comments

Comments
 (0)