Releases: hazelcast/hazelcast-commandline-client
v5.3.3
Release Notes
This is the sixth stable release of Hazelcast CLC.
The new features and changes since v5.3.2 are below.
New Features
- Added the
demo generate-data
command that creates data from a Wikipedia event stream. - Added the
demo map-setmany
command that generates multiple Map entries. - Added the
project list-templates
command that lists templates that can be used with theproject create
command. - Added the
\di
shortcut that lists all or some indexes. This command is available only in the interactive mode. - Added
--prelease
and--development
flags toviridian create-cluster
command.
Improvements
- The Viridian "CLI" bundle is used with
config import
andviridian import-config
commands. The configuration bundle includes certificates for all supported Hazelcast client libraries. - CLC configuration is saved as both
config.yaml
andconfig.json
whenconfig import
,viridian import-config
orconfig add
commands are used. - An installation script may be used to install CLC on Linux and macOS.
- Configuration menu is displayed in the non-interactive mode when the
default
configuration doesn't exist. snapshot list
command provides more information.- Configuration name is used in the CLC interactive prompt.
- "Invalid number of arguments" error is improved to display which positional arguments are missing.
project create
command updates the corresponding template if necessary when run.- Updated command output.
Fixes
- Full stack trace is shown on
job submit
errors.
v5.3.3-PREVIEW2
Release Notes
This is the second preview release of Hazelcast CLC v5.3.3.
The new features and changes since v5.3.3-PREVIEW1 are below.
New Features
- The
snapshot list
command shows details about the snapshot.
Improvements
- Supports the new CLC configuration on Viridian. The new CLC configuration includes SSL certificates for all client libraries and configuration in JSON.
- Configuration wizard is shown in non-interactive mode.
config add
creates configuration in JSON.
Fixes
- #339 Fixed unmarshalling error when IP Allowlist is configured on Viridian
v5.3.3-PREVIEW1
Release Notes
This is the first preview release of Hazelcast CLC v5.3.3.
The new features and changes since v5.3.2 are below.
New Features
- Added the
demo generate-data
command. - The CLC shell prompt shows the active configuration name.
Improvements
- Removed the global Hazelcast client.
Fixes
v5.3.2
Release Notes
This is the fifth stable release of Hazelcast CLC.
Be sure to check the README and participate in our survey.
The new features and changes since v5.3.1 are below.
New Features
- Added the
project create
command that can create a Hazelcast project from a template. Note that this features is currently BETA. - Added the
script
command that runs an SQL or CLC script from a local file or HTTP resource. - Added the following data structure commands:
atomic-long
,list
,multi-map
,queue
andtopic
. - Added more
map
commands:values
,load-all
,lock
,try-lock
andunlock
. Note that lock related commands are only available in the interactive mode. - Added the
CLC_CONFIG
environment variable which sets the default CLC configuration. If unset, the default isdefault
.
Fixes
v5.3.1
Release Notes
This is the fourth stable release of Hazelcast CLC.
Be sure to check the README and participate in our survey.
The new features and changes since v5.3.0 are below.
New Features
- Added the
--timeout
flag which causes CLC to exit with status code2
if an operation cannot be completed in the given time.
Improvements
- Added a workaround for a server side bug that causes an incorrect hash calculation error when certain type of Jet jars are submitted. See: hazelcast/hazelcast#24674
- Extended cluster information retrieved from
clc viridian get-cluster
command. - Improved error checking so a token error is displayed when a Viridian command fails with an authentication error.
v5.3.0
Release Notes
This is the third stable release of Hazelcast CLC.
Be sure to check the README and participate in our survey.
The new features and changes since v5.2.1 are below.
New Features
- Viridian support. The following commands were added:
viridian login
viridian create-cluster
viridian delete-cluster
viridian get-cluster
viridian list-clusters
viridian list-cluster-types
viridian pause-cluster
viridian resume-cluster
viridian download-logs
viridian import-config
viridian delete-custom-class
viridian download-custom-class
viridian list-custom-classes
viridian upload-custom-class
- CLC can now submit Jet jobs and manage job snapshots.
- Added the following
job
commands:submit
: Creates a job from the given jar file.cancel
: Cancels a job.list
: Lists jobs.suspend
: Suspends a job.resume
: Resumes a suspended job.restart
: Restarts a job.export-snapshot
: Exports a snapshot for a job. This feature requires a Viridian or Hazelcast Enterprise cluster.
- Added the following
snapshot
commands:list
: Lists the snapshots of a job.delete
: Deletes a snapshot.
- Added the following new Map commands:
map key-set
map destroy
Improvements
- Viridian errors are revamped to be more user-friendly.
- Multiline columns are supported in table output.
v5.3.0-BETA-2
Release Notes
This is the second beta release towards v5.3.0.
Be sure to check the README and participate in our survey.
The new features and changes since v5.3.0-BETA-1 are below.
New Features
Note: names, flags and/or behavior of the commands below may change until v5.3.0 GA release
- Viridian support. The following commands were added:
viridian login
viridian create-cluster
viridian delete-cluster
viridian get-cluster
viridian list-clusters
viridian stop-cluster
viridian resume-cluster
viridian download-logs
viridian delete-custom-class
viridian download-custom-class
viridian list-custom-classes
viridian upload-custom-class
- Added the following new Map commands:
map key-set
map destroy
- Added
--wait
flag which makes CLC wait for the operation to complete. That flag was added to the followingjob
commands:submit
,suspend
,resume
,cancel
,restart
Bug Fixes
job submit
retries both sending the metadata and jar upload if there's an error.
v5.3.0-BETA-1
Release Notes
This is the first beta release towards v5.3.0.
Be sure to check the README and participate in our survey.
The new features and changes since v5.2.1 are below.
New Features
- CLC can now submit Jet jobs and manage job snapshots.
- Added the following
job
commands:submit
: Creates a job from the given jar file.cancel
: Cancels a job.list
: Lists jobs.suspend
: Suspends a job.resume
: Resumes a suspended job.restart
: Restarts a job.export-snapshot
: Exports a snapshot for a job. This feature requires a Viridian or Hazelcast Enterprise cluster.
- Added the following
snapshot
commandS:list
: Lists the snapshots of a job.delete
: Deletes a snapshot.
v5.2.1
Release Notes
This is the first patch release for Hazelcast CLC v5.2.0.
Be sure to check the README and participate in our survey.
The new features and changes since v5.2.0 are below.
New Features
No new features
Changes
- Corrected the --quite flag to --quiet.
- Uses the experimental NY readline library on Windows by default. That fixes arrow key related issues but disables syntax highlight for SQL
- Use stderr for unnecessary output.
Improvements
- More consistent success messages when a list doesn't have any items.
- Added support for more compact serialization types.
Fixes
- Fixed a race in shell command.
- Fixed a bug that would cause a panic if the SQL command is interrupted.*
- Powershell completion is fixed
Known Issues
There are no known issues.
v5.2.0
Release Notes
This is the first GA release of Hazelcast CLC.
Be sure to check the README and participate in our survey.
The new features and changes since v5.2.0-beta3 are below.
New Features
- CLC can read data serialized using Compact serialization and portable automatically.
- if the user doesn't provide a configuration in the shell mode, they can select one from a configuration list or import a Viridian configuration.
- Added
--quite
(shorthand-q
) flag which suppresses unnecessary output. - Added
CLC_CLIENT_NAME
environment variable which allows overriding the default client name. - Added
CLC_CLIENT_LABElS
environment variable which allows overriding the default client labels with a comma separated list of labels.
Changes
- CLC outputs more messages about what's going on, such as success messages. To suppress this behavior, such as script usage, just pass
--quite
or-q
.
Fixes
- 186 Map name parameter gets stuck to a value in the shell mode
- 198 CLC failure in Docker - "panic: maxWidth should be positive if header is nil"
Known Issues
- Powershell autocompletion does not work.
- Ctrl+(left/right) key combinations don't work as expected in the interactive mode. You can set the
CLC_EXPERIMENTAL_READLINE
environment variable tony
to use an alternative readline implementation. - Navigating shell history with arrow keys doesn't work on Windows. You can enable the alternative
ny
readline implementation to workaround that. - Windows binaries are currently not code signed and running them will show warnings. We are going to release code signed binaries soon.
- There are some compact field types that are not decoded. We will add the missing field types in the next version.
quite
should bequiet
. This will be fixed in the next release.