Upgrade notes
- the code is ES modules now (
"type": "module"):require("redis-commander")needs Node.js 22.12 or newer and returns the module, the app function is itsdefaultexport - pm2: the config file in the repository is renamed from
ecosystem.config.jstoecosystem.config.cjs - the npm package and the Docker image contain the built server in
build/instead oflib/;bin/redis-commander.js,bin/healthcheck.jsandbin/bcrypt-password.jsstay at their paths,require("redis-commander")loadsbuild/lib/app.js
Enhancements
- Docker image: built in two stages, the server is compiled in the first one; the image contains only the files of the app (
bin,build,config,web, the Docker scripts and the production dependencies), no longer the source, docs, tests and other repository files;bin,configandwebkeep their paths - the server is written in TypeScript now (built with esbuild into
build/)
Bugfixes
- web CLI: a backslash at the end of a command added the text "undefined" to the last argument
- http auth sign-in: text typed into the password field while the sign-in dialog was still fading in landed in the username field
- dialogs to add or edit keys and values (add key, rename key, list/set/zset/hash/stream entries): text typed into a field while the dialog was still fading in landed in its first field
--redis-port tcp://host:portworks again: Kubernetes setsREDIS_PORTto this form for a service namedredis(passed on by the Docker entrypoint), the start failed with "invalid redis-port" since the switch to yargs--sentinel-tls --insecure-certificatewithout--redis-tlscrashed at startup- adding a sentinel connection without a sentinel group name crashed when it was compared with the existing connections; the default group is used now
- saving a hash key without field name, or a stream entry without timestamp or field, answers 400 instead of throwing an error in the server
- errors during sign-in, SSO sign-in and the session token check answer with an error instead of leaving the request without an answer; errors when closing a connection on logout or reconnecting an optional connection are logged instead of being unhandled
- lists of sentinels and cluster nodes (
--sentinels,--clusters, config) are sorted by host, then port; the sort mixed up hosts and ports before --migrate-config: if the existing local config file could not be read, the "migration aborted" error was printed twice