Releases · datastax/astra-cli
0.6 Release Notes 0.6 New Commandsastra db list-embeddings-providers astra db describe-embeddings-provider
astra db list-collections ... astra db create-collection... astra db delete-collection... astra db describe-collection astra db truncate-collection...
astra db list-tables ... astra db delete-table... astra db describe-table astra db truncate-table...Bug Fixes
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 | +------------------------+-----------+-----------+
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/jsonNote: The command
astra db create-dotenv
to add the keyASTRA_DB_API_ENDPOINT
accordingly
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
When listing databases a flag is added for only the vector databases
Sample Create
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
BUG FixesList serverless regions
astra db list-regions-serverlessList vector regions
astra db list-regions-vector
brew upgrade datastax/astra-cli/astra-cli
Manually
curl -Ls "https://dtsx.io/get-astra-cli" | bash
0.4 New Features
astra config create <env_name> --token --env DEV
config list
updated:+------+-----------------------------------------+ | env | configuration | +------+-----------------------------------------+ | DEV | sample-dev | | TEST | sample-test | | PROD | datastaxDevs (in use) | | PROD | gcp_integrations | +------+-----------------------------------------+
astra db create <db_name> --vector
Improvements
db list
updated:+---------------------------+--------------------------------------+-----------+-------+---+-----------+ | Name | id | Regions | Cloud | V | Status | +---------------------------+--------------------------------------+-----------+-------+---+-----------+ | astra_cli_test | c4e77247-575a-4853-857e-692f49dab7b6 | us-east1 | gcp | | ACTIVE | | astra_cli_vector_test | 35f29a92-fb58-4bbc-84a0-a98615052cad | us-east1 | gcp | ■ | ACTIVE | +---------------------------+--------------------------------------+-----------+-------+---+-----------+
astra login
commandcqlsh-astra 20230710-vectortype
with Python 11 supportDS Bulk 1.11
with Vector Search and JDK17 supportsPulsar Shell 2.10.4.9
0.6.7
HomeBrew
(Mac Only)brew upgrade datastax/astra-cli/astra-cli
curl -Ls "https://dtsx.io/get-astra-cli" | bash
0.3 New Features
Improvements
astra token
jacoco-maven-plugin
maven-resources-plugin
commons-compress
slf4j-nop
,maven-surefire-plugin
maven-compiler-plugin
maven-assembly-plugin
maven-surefire-plugin
brew upgrade datastax/astra-cli/astra-cli
curl -Ls "https://dtsx.io/get-astra-cli" | bash
0.2.1First execution of DSBulk, Pulsar-shell and CqlShell will be slow as the component will install latest version
This release will fix some open issues and improve quality overall:
Fixesjunit
, http-client
describe
entities and not only get0.2
Release Note
astra-sdk-devops
onlycreated-dotenv
for native imagescreate-dotenv
now keep existing keys in placeorg
to db
To create the file .env
the system assumed it was always on default region. This version fixed this behaviour.
Details of different Assets for this release:
Asset Descriptionastra-cli-0.1-linux.zip
Native image for Linux environments, install with manual script astra-cli-0.1-mac.zip
Native image for Mac environments, install with manual script astra-cli-0.1-mac.tar.gz
Native image for Mac environments, install with homebrew astra-cli-0.1-java.tar.gz
Fat jar, jdk17 required and manual installation astra-cli-0.1-java.zip
Fat jar, jdk17 required and manual installation
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4