You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Available through [https://repo.typedb.com](https://cloudsmith.io/~typedb/repos/public-release/packages/detail/maven/typedb-driver/3.0.4/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.0.5/a=noarch;xg=com.typedb/)
`get()` and `get_index()` interfaces of Concept Rows always return optional Concepts (previously, the Java and Python drivers used to return non-optional `Concept` instances). If the requested variable name or index exists in the column names of a row, but the actual value for this variable is empty, an empty optional value is returned. This is a natural behavior for optionals (coming to TypeDB soon!) and is already useful for queries like (where the variable `$empty` won't have values):
52
+
```
53
+
match not {$empty isa user;}; insert $u isa user, has username "Hi";
54
+
```
55
+
56
+
If the requested variable name or index does not exist in the column names of a row, an error is returned.
-**Mark query answer accessors as allocating for SWIG to prevent memory leaks in the Python driver**
63
+
64
+
We mark `query_answer_into_rows` and `query_answer_into_documents` as creating a new allocation that needs to be freed by SWIG. Previously, the iterators extracted from the `QueryAnswer` would have been ignored by SWIG and not deallocated when the wrapper is freed.
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-cpp+version:3.0.4
Query errors are dissolved in the Java and Python drivers.
73
+
All the arguments passed to the external interfaces are validated to be non-null and of the correct format (e.g., non-negative for `concept_row.get_index(column_index)`).
77
74
78
-
### C driver
79
75
80
-
Compiled distributions comprising headers and shared libraries available at: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-driver-clib+version:3.0.4
76
+
## Other Improvements
81
77
82
-
## Code Refactors
83
-
-**Add 'dec' suffix to notation of 'Decimal' type**
84
-
Add 'dec' suffix to notation of 'Decimal' type
85
-
78
+
-**Automate README examples updates**
86
79
87
-
## Other Improvements
88
-
-**Update 3.0 drivers api references**
80
+
Cloud driver usage examples are added to all the available READMEs. Additionally, these examples are officially available in the repo as separate files.
89
81
90
-
82
+
The process of README examples updating is automated by unifying all language updates in a single script. A new CI job is introduced to verify that the README examples are up to date.
0 commit comments