All user visible changes to this project will be documented in this file.
- Updated macos build to not have any dependency on OpenSSL.
- Fixed the release workflow so that Linux release tarballs contain the
cbshbinary.
This release contains a number of breaking changes, which are explicitly called out below. As our versioning continues to track the underlying Nushell minor version this has required breaking changes in a patch version.
- Updated config file to rename
[[cluster]]to[[database]]([[cluster]]will continue to work). - Breaking Updated config file to rename
hostnamestoconnstrand changed the format to be a string. - Added support, and detection, for different "cluster types"; Capella and Other. This allows us to modify behaviour based on cluster type.
- Breaking Renamed
clusters healthtohealth. - Breaking Renamed other
clusters ...commands todatabase ... - Replaced references to cluster with database.
- Breaking Removed support for whoami
- Added support for username aliases - added
display_nameto config. - Trust the system store and Capella root CA when no certificate set.
- Updated tutorial.
- Added support for generating a config file when one does not exist.
- Added support for connecting to kv nodes in parallel.
- Added support for
doc importcommand. - Added prompt indicator to help distinguish if a Capella or "other" cluster type is in use.
- Fast fail
bucketscommands when used with Capella. - Updated where config files are automatically written to.
- Fixed issue with config.nu file on Windows.
- Pulled all beta and alpha release versions and updated version numbering
- Couchbase Shell versions will now map to the Nushell version being used
- Bundle Capella root CA to allow seamlessly connecting over TLS
- Automatically detect when
query_contextshould be sent - Update when SRV lookups are performed
- Statically link OpenSSL
- Various logging and error enhancements
- Remove support for Capella InVpc
- Renamed
clusters managedtocb-env managed - Renamed
clusters register/unregistertocb-env register/unregister - Expose CIDR in result of
clusters - Fetch collection id over memcached rather than http
- Nushell pinned to 0.75
- Pulled all beta and alpha release versions and updated version numbering
- Couchbase Shell versions will now map to the Nushell version being used
- Bundle Capella root CA to allow seamlessly connecting over TLS
- Automatically detect when
query_contextshould be sent - Update when SRV lookups are performed
- Statically link OpenSSL
- Various logging and error enhancements
- Remove support for Capella InVpc
- Renamed
clusters managedtocb-env managed - Renamed
clusters register/unregistertocb-env register/unregister - Expose CIDR in result of
clusters - Fetch collection id over memcached rather than http
- Nushell pinned to 0.63
- Fixed issue with prompt on Windows
- Nushell pinned to 0.62
- Nushell underwent significant changes so some commands have changed on both the Nushell and Couchbase Shell sides.
userenamed tocb-env.
- Nushell underwent significant changes so some commands have changed on both the Nushell and Couchbase Shell sides.
- Allow collections management commands to work against Capella.
- Update config file parsing to allow either a
clusteror acapella-organisationentry to be the only entry. - Change log env variable to be
CBSH_LOG. - Change how clouds and Capella organisations work.
- Capella cluster commands are now performed via
clustersand subcommands. - Renamed
addressestoallowlists. - Renamed the old
clusterscommand toclusters managed. - Updated
cloudsto deal exclusively with invpc clouds and updated config file so thatcloudis no longer a valid entry.default-cloudhas been added to thecapella-organisationentry.
- Capella cluster commands are now performed via
- Added scope and collection names to the prompt (if either is set).
- Added support for viewing and setting default timeout values through
cb-env
- Nushell pinned to 0.40
- Added support for batching
docsoperations.
- Nushell pinned to 0.38
- Added support for
from bson(also supports openingbsonfiles directly). - Update the default collection and scope when the cluster is changed.
- Use the default bucket from each cluster with ping.
- Don't allow to unregister the active cluster.
- Add a
--cloudswitch to use to only display cloud info when used. - Add support for scope/collection drop.
- Nushell pinned to 0.34
- Added support for alternate addresses (enables all data commands for Couchbase Cloud)
- Add
--with-metatoquery indexesandquery advise - Added super simple
transactions list-atrssupport. needs a covered index for now to work. - Added support to configure cloud allow lists.
- Added a
--silentmode flag. - The
--clustersoption has been added to many more commands. - Custom port usage is now possible for bootstrap.
- Hostnames are validated and parsed at startup.
- Cloud secrets can now also be put in the credentials file.
- Return an error if the
--clustersflag does not return a single cluster. - Cloud support to the
nodescommand has been added.‚‚ - The Message of the Day has been brought back.
- Commands have been reordered so the
getsubcommands are now "at the toplevel. - Bundling the
fetchplugin so now you can load any site/data you want.
- Nushell has been pinned to 0.32.0 for the next release.
- fixed the history (now in the .cbsh dir as a
history.txtfile) - the linux builder has been switched from ubuntu 20.04 to 18.04 to be more conservative and target more linux users
- renamed
[[clusters]]to[[cluster]], but kept the old style too for backwards compatibility - fix disabling tls in the config (property is now correctly called
tls-enabled) - Added examples to: doc get
- handle config syntax errors gracefully and log them nicely on startup
- Added the
analytics linkscommand - Added the
analytics bucketscommand - Added the
analytics pending-mutationscommand - Support registering / unregistering clusters on the fly
- Added new
[[cloud]]config to support couchbase cloud - Supports getting, creating, updating and dropping buckets from couchbase cloud
- Removed libcouchbase, cbshell is now pure rust and optimized for shell-type workloads.
- TLS is turned on by default.
- Reduced binary sizes, including windows.
- Updated documentation and examples
- Bump nushell to 0.26
- Allow to fetch query index definitions via (
query indexes --definitions) - Add a
tutorialcommand - Support for scope level query and analytics queries
- (breaking) changed the cluster config format from list to map (#81)
- Removed unused experimental UI for now
- Added a custom
helpcommand - The
mapcommand has been removed since it does not work properly under windows - Added support for bucket management
- Added support for scope and collection management
- Log SDK output to a file and add a
sdklogcommand (stored in.cbsh) - Added a
errorcolumn todoc get - Added collection support to
doccommands
- Added Windows support
- Added a custom prompt
- Some commands can now be interrupted with a
CTRL+Ccommand - Added simple
clusters healthcheck against a single cluster, two checks - Overall fixes and enhancements
- Various Docs enhancements
doc get --flattennow works on nested rows as well- Added
users rolessubcommand - Added
clusters healthsubcommand - Bumped nushell to 0.20
- Added support for memcached buckets
- Renamed
kvtodoc - Added
data statscommand to display KV raw stats - Added
searchcommand to run an FTS query - Add
pingcommand to ping all services - Fixed a bug where cloud node and buckets would not work
- Bumped nushell to 0.16
- Added
whoamicommand - Added
mapcommand - Converted
kv upsertandfaketo full streaming - Bumped dependencies (including nushell)
- Added
expiryoption tokv upsert - Override
versioncommand to show cbsh version - Add simple
query advisesubcommand - Add user management through
users,users getandusers upsert - Added
analytics dataversesandanalytics datasets
- Build
libcouchbasestatically and with OpenSSL - More
fakefunctions added - Added
kv-upsert,kv-insertandkv-replace - Renamed
.cbshrcto just.cbsh(since it is not an rc file) - Added support for dynamic bucket usage
- Initial Release