Skip to content

Commit e38c13f

Browse files
committed
Update version to 3.0.0-alpha-7. Update release notes and protocol dependencies
1 parent 48ff5e1 commit e38c13f

File tree

3 files changed

+20
-42
lines changed

3 files changed

+20
-42
lines changed

RELEASE_NOTES_LATEST.md

+18-40
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-
12+
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-6</version>
32+
<version>3.0.0-alpha-7</version>
3333
</dependency>
3434
</dependencies>
3535
```
@@ -42,52 +42,30 @@ 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-6
45+
pip install typedb-driver==3.0.0-alpha-7
4646
```
4747

4848
## New Features
49-
- **Add concept documents for fetch queries.**
50-
We add concept documents to support the results of the reintroduced `fetch` queries.
5149

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.
53-
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.
73-
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.
79-
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.
8650

8751
## Bugs Fixed
52+
- **Add handler for initial TransactionOpen response instead of erroring**
8853

54+
We eliminate the wrong error shown in logs when opening a transaction for all the 3.0 drivers.
8955

9056
## Code Refactors
91-
57+
- **Receive `QueryAnswer`'s `QueryType` from the server for all answer types**
58+
59+
The protocol has been updated, and `Ok` `QueryAnswer`s receive correct `QueryType`s from the server instead of the client-side hardcode usage.
60+
9261

9362
## Other Improvements
63+
- **Introduce 3.0 Java driver docs and tests. Implement new fetch BDD steps in 3.0 drivers**
64+
65+
We introduce updated documentation, usage examples, and automated tests for the Java driver, to cover all the existing driver's APIs by sustainable validations.
66+
67+
Additionally, we implement additional BDD steps to check concept documents in BDDs for other 3.0 drivers: Rust and Python.
68+
69+
70+
71+

VERSION

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

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 = "56eb6ef6db0d0721800f46512e2ee5e02aad6adb", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_protocol
31+
tag = "3.0.0-alpha-7", # 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)