Skip to content

Releases: typedb/typedb-console

TypeDB Console 3.0.0-alpha-9

22 Nov 20:09
d5376f6
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.0.0-alpha-9

New Features

  • Update concept APIs to quickly access optional instances and values properties

Note that some of the primary APIs have changed (e.g., asBoolean -> getBoolean for Attribute and Value, to separate value retrieval and concept casting), but their functioning has not.

We generalize the approach to getting concepts properties in TypeDB Drivers, introducing a set of new APIs for fetching optional values related to instances of Concept classes in Java and Python.
Now, all subclasses of Concept have a set of new interfaces starting with try to access IIDs, labels, value types, and values without a need to cast to a specific Instance or Value. These methods can be useful if:
- you have an established workflow with constant queries and always expect these properties to exist;
- you want to implement a custom handling of cases where the expected values are missing shorter (without exceptions).

Additionally, value type checks like is_boolean/isBoolean are also declared on the top-level Concept.
Note that casting is still possible, and its benefits are, as usual:
- static type checking for your programs using TypeDB Driver;
- access to the non-optional get interfaces for specific subclasses of Concept like get_iid/getIID for Entity and Relation.

Bugs Fixed

  • Speed up transaction opening and fix parallel

    • We fix transaction opening for all the supported drivers, speeding up the operation by 2x.
    • We eliminate database-related errors happening during concurrent database management (create and delete operations) by multiple drivers due to cache mismatches.
    • We make transaction opening requests immediately return errors instead of waiting for additional transaction operations to be performed (e.g. commit or query).
  • Remove promises resolves in destructors to eliminate redundant exceptions. Cleanup Python exceptions formatting

We remove the feature of Promises to call resolve in destructors in languages like Java and Python. Now, if a promise is destroyed, it's not resolved, and, thus, not awaited. This helps the driver to remove the excessive duplicated errors printing in destructors of promises, although the error is already returned from a commit operation.

Now, if you just run queries and close the transaction, nothing will be awaited and persisted. However, if you commit your transaction, all the ongoing operations on the server side will finish before the actual commit. This lets you speed up the query execution (in case these queries don't collide with each other):

for query in queries:
    tx.query(query)
tx.commit()

If one of the queries contains an error and it's not resolved, it will be returned from the commit call, and no excessive errors will be printed on resource release.

Detailed examples for each language supported are presented in READMEs.

Additionally, Python Driver's TypeDBDriverError exceptions no longer show the excessive traceback of its implementation, and only the short informative version for your executed code is presented.

Code Refactors

Other Improvements

  • Bump version to 3.0.0-alpha-9

  • Update factory owners to typedb
    Update factory owners to typedb

  • Update factory owners to typedb

  • Update final reference of git org to @typedb

  • Replaced Vaticle with TypeDB in strings and copyrights

TypeDB Console 3.0.0-alpha-7

25 Oct 14:29
fa60d32
Compare
Choose a tag to compare
Pre-release

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.0.0-alpha-7

New Features

Bugs Fixed

  • Update driver to eliminate redundant error message on transactions opening

    We eliminate the wrong error shown in Console when opening a transaction.

Code Refactors

Other Improvements

TypeDB Console 3.0.0-alpha-6

18 Oct 15:03
5aec62b
Compare
Choose a tag to compare
Pre-release

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.0.0-alpha-6

New Features

  • Add fetch queries result printing. We add ConceptDocument printer option to show the results of fetch
    queries.

    That's how we print the match and fetch queries results now:

    hi::read> match $x isa! person;
              
    Finished validation and compilation...
    Streaming answers...
    
       --------
        $x | iid 0x1e00000000000000000000 isa person
       --------
    
    Finished. Total answers: 1
    hi::read> match $x isa! person; fetch {$x.*};
              
    Finished validation and compilation...
    Streaming documents...
    
    {
        "age": [ 25 ],
        "balance": [ "1234567890.000123456789" ],
        "birth-date": [ "2024-09-20" ],
        "birth-time": [ "1999-02-26T12:15:05.000000000" ],
        "current-time": [ "2024-09-20T16:40:05.000000000 Europe/London" ],
        "current-time-off": [ "2024-09-20T16:40:05.028129323+05:45" ],
        "expiration": [ "P1Y10M7DT15H44M5.003948920S" ],
        "is-new": [ true ],
        "name": [ "John" ],
        "success": [ 66.6 ]
    }
    
    Finished. Total answers: 1
    

Bugs Fixed

Code Refactors

Other Improvements

TypeDB Console 2.29.0

07 Oct 00:45
f3b373f
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.29.0

New Features

  • TypeQL queries executed via source command are asynchronous
    TypeQL files executed via source command are asynchronous

  • Directly specify password in the 'password-update' command

    It is now possible to invoke password-update command and specify the password together, instead of having to supply them in the following prompt. This new variant makes it possible to call it non-interactively.

Bugs Fixed

Code Refactors

Other Improvements

  • Migrate CircleCI mac jobs to arm64 executors
    Migrates the CircleCI mac jobs to arm64 executors

TypeDB Console 3.0.0-alpha-4

27 Sep 16:25
ef7ff24
Compare
Choose a tag to compare
Pre-release

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.0.0-alpha-4

New Features

  • Introduce TypeDB 3.0-alpha Console
    Reimagine TypeDB Console for the upcoming 3.0 release of TypeDB. This alpha version of the client lets you interact with the updated server, try out the new, even more elegant version of TypeQL, and get used to the new output format for data queries.
    Learn more about TypeDB 3.0 features here: https://typedb.com/blog/typedb-3-roadmap

Bugs Fixed

Code Refactors

Other Improvements

TypeDB Console 2.28.4

14 Jun 13:52
fe6a500
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.4

New Features

Bugs Fixed

  • Remove hard-coded value for transaction timeout
    Removes a hard-coded value for transaction timeout, which prevented the user's setting from taking effect.

Code Refactors

Other Improvements

  • Bump dependencies for rules-python & pin CircleCI windows executor
    Bump dependencies for rules-python update. This fixes an error on windows builds in CircleCI.
    We also pin the image used for Windows builds on CircleCI to prevent updates from breaking the pipeline.

  • Turn off statistics reporting in CI
    We turn off the statistics reporting in our CI builds not to send non-real diagnostics data.

TypeDB Console 2.28.2-rc1

21 May 16:17
a7db8e4
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.2-rc1

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Turn off statistics reporting in CI
    We turn off the --diagnostics.reporting.statistics in our CI builds not to send non-real diagnostics data.

    In version 2.28 and earlier, this flag purely prevents TypeDB from sending any diagnostics data.
    In the upcoming version 2.28.1, this flag still allows TypeDB to send a single diagnostics snapshot with the information of when the diagnostics data has been turned off, but it happens only after the server runs for 1 hour, so we expect the CI builds not to reach this point and not to send any diagnostics data as well.

TypeDB Console 2.28.0

01 May 13:45
489f80b
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.0

New Features

  • Cloud address translation

    We allow connection to the cloud servers using an address translation mapping (cf. typedb/typedb-driver#624). This is useful when the route from the user to the servers differs from the route the servers are configured with (e.g. connection to public-facing servers from an internal network).

    Example usage:

    console \
        --cloud=typedb1.domain.com:1729=typedb.local:11729,typedb2.domain.com:1729=typedb.local:21729 \
        --username=<user> --password=<password>

    or:

    console \
        --cloud=typedb1.domain.com:1729=typedb.local:11729 \
        --cloud=typedb2.domain.com:1729=typedb.local:21729 \
        --username=<user> --password=<password>

    Note: we currently require that the user provides translation for the addresses of all nodes in the Cloud deployment.

Bugs Fixed

Code Refactors

Other Improvements

  • Fix git patch for Windows build

    We update the git patch used for workspace path shortening in Windows CI builds.

TypeDB Console 2.28.0-rc0

17 Apr 17:17
7a7bf15
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.28.0-rc0

New Features

  • Cloud address translation

    We allow connection to the cloud servers using an address translation mapping (cf. typedb/typedb-driver#624). This is useful when the route from the user to the servers differs from the route the servers are configured with (e.g. connection to public-facing servers from an internal network).

    Example usage:

    console \
        --cloud=typedb1.domain.com:1729=typedb.local:11729,typedb2.domain.com:1729=typedb.local:21729 \
        --username=<user> --password=<password>

    or:

    console \
        --cloud=typedb1.domain.com:1729=typedb.local:11729 \
        --cloud=typedb2.domain.com:1729=typedb.local:21729 \
        --username=<user> --password=<password>

    Note: we currently require that the user provides translation for the addresses of all nodes in the Cloud deployment.

Bugs Fixed

Code Refactors

Other Improvements

  • Merge master into development after 2.27.0 release

    We merge changes made during the release of 2.27.0 back into development.

TypeDB Console 2.27.0

24 Mar 00:25
Compare
Choose a tag to compare

Distribution

Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:2.27.0

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Fix null pointer in diagnostics user-id generation