Releases: datastax/astra-cli
Releases · datastax/astra-cli
v1.0.2
Release notes coming soon
Full Changelog: v1.0.1...v1.0.2
v1.0.2-beta.3
minor fix for installation script in environments without color
v1.0.1
bump version
v1.0.1-rc.3
update to new runner
v1.0.1-rc.2
update to new runner
v1.0.1-rc.1
update to new runner
v1.0.0
update to new runner
v1.0.0-rc.5
fix completions, make completions transfer when switching defaults, m…
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
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_vectorExpected 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-dbExpected 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-dotenvto add the keyASTRA_DB_API_ENDPOINTaccordingly
- #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 cosineSample 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 --vectorSample 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-serverlessList 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