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
cbsh
binary.
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
hostnames
toconnstr
and 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 health
tohealth
. - Breaking Renamed other
clusters ...
commands todatabase ...
- Replaced references to cluster with database.
- Breaking Removed support for whoami
- Added support for username aliases - added
display_name
to 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 import
command. - Added prompt indicator to help distinguish if a Capella or "other" cluster type is in use.
- Fast fail
buckets
commands 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_context
should be sent - Update when SRV lookups are performed
- Statically link OpenSSL
- Various logging and error enhancements
- Remove support for Capella InVpc
- Renamed
clusters managed
tocb-env managed
- Renamed
clusters register/unregister
tocb-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_context
should be sent - Update when SRV lookups are performed
- Statically link OpenSSL
- Various logging and error enhancements
- Remove support for Capella InVpc
- Renamed
clusters managed
tocb-env managed
- Renamed
clusters register/unregister
tocb-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.
use
renamed 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
cluster
or acapella-organisation
entry 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
clusters
and subcommands. - Renamed
addresses
toallowlists
. - Renamed the old
clusters
command toclusters managed
. - Updated
clouds
to deal exclusively with invpc clouds and updated config file so thatcloud
is no longer a valid entry.default-cloud
has been added to thecapella-organisation
entry.
- 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
docs
operations.
- Nushell pinned to 0.38
- Added support for
from bson
(also supports openingbson
files 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
--cloud
switch 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-meta
toquery indexes
andquery advise
- Added super simple
transactions list-atrs
support. needs a covered index for now to work. - Added support to configure cloud allow lists.
- Added a
--silent
mode flag. - The
--clusters
option 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
--clusters
flag does not return a single cluster. - Cloud support to the
nodes
command has been added.‚‚ - The Message of the Day has been brought back.
- Commands have been reordered so the
get
subcommands are now "at the toplevel. - Bundling the
fetch
plugin 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.txt
file) - 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 links
command - Added the
analytics buckets
command - Added the
analytics pending-mutations
command - 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
tutorial
command - 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
help
command - The
map
command 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
sdklog
command (stored in.cbsh
) - Added a
error
column todoc get
- Added collection support to
doc
commands
- Added Windows support
- Added a custom prompt
- Some commands can now be interrupted with a
CTRL+C
command - Added simple
clusters health
check against a single cluster, two checks - Overall fixes and enhancements
- Various Docs enhancements
doc get --flatten
now works on nested rows as well- Added
users roles
subcommand - Added
clusters health
subcommand - Bumped nushell to 0.20
- Added support for memcached buckets
- Renamed
kv
todoc
- Added
data stats
command to display KV raw stats - Added
search
command to run an FTS query - Add
ping
command to ping all services - Fixed a bug where cloud node and buckets would not work
- Bumped nushell to 0.16
- Added
whoami
command - Added
map
command - Converted
kv upsert
andfake
to full streaming - Bumped dependencies (including nushell)
- Added
expiry
option tokv upsert
- Override
version
command to show cbsh version - Add simple
query advise
subcommand - Add user management through
users
,users get
andusers upsert
- Added
analytics dataverses
andanalytics datasets
- Build
libcouchbase
statically and with OpenSSL - More
fake
functions added - Added
kv-upsert
,kv-insert
andkv-replace
- Renamed
.cbshrc
to just.cbsh
(since it is not an rc file) - Added support for dynamic bucket usage
- Initial Release