Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Bump VERSION and update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Jun 30, 2023
1 parent e669cf5 commit 5b6a1e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 44 deletions.
49 changes: 6 additions & 43 deletions RELEASE_NOTES_LATEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,18 @@ pip install typedb-client=={version}


## New Features
- **Protocol versioning**

We use a new protocol API to perform a "connection open". This API does server-side protocol version compatibility checks, and replaces also our previous need to an any RPC call to check that the network is available.

This API is called transparently during the construction of both the Core and Cluster clients, so the user does not have to do anything.


- **Introduce Values to support expressions**

Introduce the 'Value' type, which is returned as the result of an expression's computation. This change follows from https://github.com/vaticle/typeql/pull/260, which outlines the capabilities of the new expression syntax.

Values (representing any of Long, Double, Boolean, String, or DateTime) are returned as part of `ConceptMap` answers and are subtypes of `Concept` for the time being. Their main API is made of the `.get_value()` method and `.get_value_vype()` method, along with all the standard safe downcasting methods to convert a `Concept` into a `Value`, using `Concept.is_value()` and `Concept.as_value()`.

We also move the import location of `ValueType` from `attribute_type.py` to `concept.py`. We remove APIs like `isKeyable` from `ValueType`s.


- **Support generalised annotations and uniqueness**

We update the Typedb Protocol and TypeQL to the latest versions, which support the uniqueness annotation and generalised `Type` APIs. These generalised APIs allow querying by a set of annotations, rather than just boolean = `true|false`.

For example, the API: `AttributeType.get_owners(onlyKey: boolean)`, has become: `AttributeType.get_owners(annotations: Set["Annotation"])`

All usages of boolean flags to indicate key-ness should be replaced by a set of `ThingType.Annotations.KEY`. The new `@unique` annotation is available as `ThingType.Annotations.KEY`, and also usable within the APIs that accept annotations.



- **Add method to Cluster client to retrieve current user**

Add an API to be able to retrieve the currently authenticated user.




## Bugs Fixed
- **Fix Factory Badge**

We've updated the Factory badge from the old 'Grabl' badge that is no longer active.

- **Make datetime attribute inserts and matches time-zone invariant**

Enables and fixes the BDD tests to check timezone-invariance of inserting and reading datetime attributes.

Fixes #298

## Code Refactors


## Other Improvements
- **Update release notes workflow**

We integrate the new release notes tooling. The release notes are now to be written by a person and committed to the repo.


- **Split connection test jobs**




2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.18.0
2.18.1

0 comments on commit 5b6a1e9

Please sign in to comment.