-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Release notes: usage and product changes We merge development to master for the 2.25.7 release.
- Loading branch information
Showing
77 changed files
with
414 additions
and
259 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,42 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug here, or visit forum.typedb.com for troubleshooting discussions | ||
title: '' | ||
labels: bug | ||
--- | ||
assignees: '' | ||
|
||
Please replace every line in curly brackets { like this } with an appropriate description, and remove this line. | ||
--- | ||
|
||
## Description | ||
|
||
{ Please provide a clear and concise description of the bug. } | ||
|
||
## Environment | ||
|
||
1. OS (where TypeDB Driver runs): { e.g. MacOS 10, Windows 10, Ubuntu 16.4, etc. } | ||
2. TypeDB version (and platform): { e.g. TypeDB 2.11.1, or TypeDB Enterprise 2.11.1 on Google Cloud } | ||
3. TypeDB Driver version: { e.g. typedb-driver 2.11.1 } | ||
4. Other environment details: | ||
1. TypeDB distribution: Core/Enterprise/Cloud | ||
2. TypeDB version: | ||
3. Environment: Linux/Mac/Windows/TypeDB Cloud/Google Cloud/AWS/Azure | ||
4. Studio version: | ||
5. Other details: | ||
|
||
## Reproducible Steps | ||
|
||
Steps to create the smallest reproducible scenario: | ||
1. { e.g. Run ... } | ||
2. { e.g. Load ... } | ||
3. { e.g. Query ... } | ||
4. { e.g. See error ... } | ||
1. Set up | ||
|
||
|
||
2. Execute | ||
|
||
|
||
## Expected Output | ||
3. Test/Query | ||
|
||
{ Please describe what you expected to happen. } | ||
|
||
## Actual Output | ||
4. Unexpected result | ||
|
||
|
||
|
||
## Expected result | ||
|
||
|
||
{ Please describe what actually happened. } | ||
|
||
## Additional information | ||
|
||
{ Any additional information, including logs or screenshots if you have any. } | ||
Relevant logs from TypeDB or Driver: | ||
|
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,23 +1,20 @@ | ||
--- | ||
name: Feature Request | ||
about: Request a feature here, or visit forum.typedb.com for ideas and questions | ||
title: '' | ||
labels: feature | ||
--- | ||
assignees: '' | ||
|
||
Please replace every line in curly brackets { like this } with an appropriate description, and remove this line. | ||
--- | ||
|
||
## Problem to Solve | ||
|
||
{ Please describe the problem you would like to solve. } | ||
|
||
## Current Workaround | ||
|
||
{ Please describe how you currently solve or work around this problem, given TypeDB's limitation. } | ||
|
||
## Proposed Solution | ||
|
||
{ Please describe the solution you would like TypeDB to provide, to solve the problem above. } | ||
|
||
## Additional Information | ||
|
||
{ Any additional information, including logs or screenshots if you have any. } |
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,15 +1,15 @@ | ||
--- | ||
name: Refactor | ||
about: Propose an architecture refactor here | ||
title: '' | ||
labels: refactor | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please replace every line in curly brackets { like this } with appropriate answers, and remove this line. | ||
|
||
## Problem to Solve | ||
|
||
{ Please describe the problem with the current architecture that you would like to solve. } | ||
|
||
## Proposed Solution | ||
|
||
{ Please describe how you would like to change the architecture, to solve the problem above. } |
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,17 +1,4 @@ | ||
**For the title of this PR:** please follow the grammatical rules of a usual publication title, without capitalisation (except for the first letter). Thus, the title should NOT CONTAIN CODE: no dots, no parentheses, no backticks, no brackets, etc. It needs to be distinctive (not detailed) and succinct (not lengthy). Details of this PR will go in the description. **For the description of this PR:** please replace every line in curly brackets ( { like this } ) with an appropriate description following the guidance. Finally, **please remove this paragraph**. | ||
## Release notes: usage and product changes | ||
|
||
## What is the goal of this PR? | ||
|
||
{ In the form of a paragraph (only use bullet points if strictly necessary), please describe the goal of this PR, why they are valuable to achieve, and reference the related GitHub issues. This section will be automatically compiled into the release notes, so please: | ||
- describe the impact of the change in this PR to the _user_ of this repository (e.g. end user, contributor, developer). | ||
- describe the new product behaviour in _present tense_, and the old behaviour and how it's been changed in _past tense_. | ||
- Use the _Royal We_: _"We"_ made changes, not _"I"_ made changes. } | ||
|
||
## What are the changes implemented in this PR? | ||
|
||
{ Please explain what you implemented, why your changes are the best way to achieve the goal(s) above. Please describe every method, class and package, by explaining: | ||
- its responsibility, | ||
- how it's expected to behave, and | ||
- how it relates to the adjacent methods/classes/packages it interacts with. | ||
|
||
This would allow the reviewer to understand your intentions in the code much better. If you're adding new classes, make sure these explanations are also included in the class header comments. Last but not least, please reference the GitHub issues to be automatically closed, such like 'closes #number'. } | ||
## Implementation |
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/clients/rust-driver | |
|
||
|
||
```sh | ||
cargo add [email protected].5 | ||
cargo add [email protected].7 | ||
``` | ||
|
||
|
||
|
@@ -29,7 +29,7 @@ Documentation: https://typedb.com/docs/clients/java-driver | |
<dependency> | ||
<groupid>com.vaticle.typedb</groupid> | ||
<artifactid>typedb-driver</artifactid> | ||
<version>2.25.5</version> | ||
<version>2.25.7</version> | ||
</dependency> | ||
</dependencies> | ||
``` | ||
|
@@ -42,7 +42,7 @@ Documentation: https://typedb.com/docs/clients/python-driver | |
Available through https://pypi.org | ||
|
||
``` | ||
pip install typedb-driver==2.25.5 | ||
pip install typedb-driver==2.25.7 | ||
``` | ||
|
||
### NodeJS driver | ||
|
@@ -51,25 +51,50 @@ NPM package: https://www.npmjs.com/package/typedb-driver | |
Documentation: https://typedb.com/docs/clients/nodejs-driver | ||
|
||
``` | ||
npm install [email protected].5 | ||
npm install [email protected].7 | ||
``` | ||
|
||
|
||
## New Features | ||
- **Node driver package automatic version stamping** | ||
|
||
|
||
## Bugs Fixed | ||
- **Add untyped value getter for Java values and fix Python type hints** | ||
|
||
We leverage Bazel's built-in workspace status and stamping capabilities to ensure that the version of TypeDB Protocol depended on by the node package doesn't go out of sync with the bazel dependency. | ||
We add a simple untyped API to Java's `Value` concepts, which return the value inside of the Value regardless of its type (double/string/etc.). This value is returned as an Object, and useful for equality checks, printing, etc. Additionally, the same API exists in Python and Node already. | ||
|
||
To that end, we also add a snapshot deployment test for the node driver, and fix a bug in process of opening a connection to TypeDB Core. | ||
We also fix the Python hints for setting the name of a Type, which was incorrectly hinting the type 'Label' when it should have been a simple string. | ||
|
||
|
||
|
||
## Bugs Fixed | ||
## Code Refactors | ||
- **Silence send errors in network callbacks when receiver dropped** | ||
|
||
Downgrade the "channel closed" `SendError` from ERROR to DEBUG when the receiving end of the stream is dropped before the stream is exhausted. | ||
This used to occur when the network delivered messages to a dropped channel, for example when executing a `match-insert` | ||
and the responses were not consumed explicitly. | ||
|
||
|
||
- **Optimise CI times by retaining server between Java BDD scenarios** | ||
|
||
We optimise Java CI time by not shutting down the TypeDB server between scenarios. Instead, we delete the existing databases each test, which is much faster. | ||
|
||
During this work, we also discovered some sub-par UX in terms of error messages thrown, and missing BDD steps that needed to be implemented. | ||
|
||
|
||
## Code Refactors | ||
|
||
|
||
## Other Improvements | ||
- **Fix python BDD TLS connection configuration** | ||
|
||
- **Fix Rust BDD infer flag and python TLS default to false** | ||
|
||
- **Update VERSION and regenerate release notes** | ||
|
||
- **Increase ulimits on unix CircleCI machines** | ||
|
||
- **Update README links to docs** | ||
|
||
- **Simplify github PR and issue templates** | ||
|
||
- **Add linker dependencies for windows** | ||
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.25.5 | ||
2.25.7 |
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
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.