Skip to content

Releases: datastax/astra-cli

v1.0.2

04 Dec 07:34
dfbb77d

Choose a tag to compare

Release notes coming soon

Full Changelog: v1.0.1...v1.0.2

v1.0.2-beta.3

04 Dec 06:01

Choose a tag to compare

v1.0.2-beta.3 Pre-release
Pre-release
minor fix for installation script in environments without color

v1.0.1

14 Nov 21:46

Choose a tag to compare

bump version

v1.0.1-rc.3

14 Nov 21:23

Choose a tag to compare

v1.0.1-rc.3 Pre-release
Pre-release
update to new runner

v1.0.1-rc.2

13 Nov 18:41

Choose a tag to compare

v1.0.1-rc.2 Pre-release
Pre-release
update to new runner

v1.0.1-rc.1

13 Nov 00:54

Choose a tag to compare

v1.0.1-rc.1 Pre-release
Pre-release
update to new runner

v1.0.0

11 Nov 16:26

Choose a tag to compare

update to new runner

v1.0.0-rc.5

10 Nov 18:23

Choose a tag to compare

v1.0.0-rc.5 Pre-release
Pre-release
fix completions, make completions transfer when switching defaults, m…

0.6

15 Jan 18:11

Choose a tag to compare

0.6

Release Notes 0.6

New Commands

  • Support for Data API Embedding Providers
astra db list-embeddings-providers
astra db describe-embeddings-provider
  • Support for Data API Collection
astra db list-collections ...
astra db create-collection...
astra db delete-collection...
astra db describe-collection
astra db truncate-collection...
  • Support for Data API Tables
astra db list-tables ...
astra db delete-table...
astra db describe-table
astra db truncate-table...

Bug Fixes

  • #209 get-endpoints-* Invalid output
  • #198 [BUG] create-region returned error even though it's still possible to add region via Astra UI
  • #177 [Feature] - List the embedding providers available for a DB
  • #174 [BUG] - Invalid message when providing invalid configuration
  • #173 [BUG] (nit) wording wrong in "create db" command with incompatible region/cloud
  • #171 [Feature] - Add new option to collection creation
  • #165 [BUG] Some Astra CLI command can work with DB ids, but NOT with DB names.
  • #162 [Feature]- Add more functions at collection level
  • #160 [BUG] HttpRequest: HttpEntity error if the token doesn't have enough permissions
  • #146 [BUG] Error when executing cqlsh via astra-cli

Improvements

  • #197 Improve documentation
  • #139 [BUG] Cannot "setup" due to linking issue in 0.5

0.5

05 Oct 01:14
49e0d55

Choose a tag to compare

0.5

New Features

  • #130 [vector] List collections for vector database

A new command list-collections is available but will be processed only if target database is vector enabled.

Sample command

astra db list-collections test_astra_cli_vector

Expected output

+------------------------+-----------+-----------+
| Name                   | Dimension | Metric    |
+------------------------+-----------+-----------+
| test_collection_simple |           |           |
| test_collection_vector | 1536      | cosine    |
| demo_vector            | 5         | cosine    |
+------------------------+-----------+-----------+
  • #129 [vector] Display endpoint for the json API

Displaying endpoints for different apis:

Sample command

astra db get-endpoint-api my-db
astra db get-endpoint-swagger my-db
astra db get-endpoint-playground my-db

Expected output

astra db get-endpoint-api my-db
https://93783a2d-2450-422a-8b4e-5dec1b4384fa-westus3.apps.astra.datastax.com/api/json

Note: The command astra db create-dotenv to add the key ASTRA_DB_API_ENDPOINT accordingly

  • #128 [vector] Create a new collection from the CLI

For Vector Databases, you can now create or delete collections

Sample Create

astra db create-collection my-db --collection col1 --dimension 1536 --metric cosine

Sample delete

astra db delete-collection my-db --collection col1 
  • #127 [vector] List vector databases

When listing databases a flag is added for only the vector databases

Sample Create

astra db list --vector

Sample output

+-----------------------+--------------------------------------+-----------+-------+---+-----------+
| Name                  | id                                   | Regions   | Cloud | V | Status    |
+-----------------------+--------------------------------------+-----------+-------+---+-----------+
| test_astra_cli_vector | db7d003e-b9d3-433d-be12-d252b2ed30da | us-east1  | gcp   | ■ | ACTIVE    |
| db_vector             | 93783a2d-2450-422a-8b4e-5dec1b4384fa | westus3   | azure | ■ | ACTIVE    |
+-----------------------+--------------------------------------+-----------+-------+---+-----------+

You want to separate region for astra serverless and regions for vector

List serverless regions

astra db list-regions-serverless

List vector regions

astra db list-regions-vector

BUG Fixes

  • #123 Astra CLI doesn't recognize databases above 25 to be queried via cqlsh
  • #111 Database description in native mode
  • #104 Update to new output from devops api streaming
  • #103 Support of dev and test environments
  • #98 In native token create return an error in the output marshalling
  • #97 In native user invite return a 504
  • #94 Create Tenant failling in native mode

Improvements

  • #117 Support Vector Regions managements with vector
  • #96 setup command does not override the default section is already exists
  • #95 Allow Creation of DB for different tiers (astra Classic)

Maintenance

  • Update all required maven plugins and CVE.

Upgrading

With HomeBrew (Mac Intel Only)

brew upgrade datastax/astra-cli/astra-cli

Manually

curl -Ls "https://dtsx.io/get-astra-cli" | bash