github joeferner/redis-commander v0.11.0

one hour ago

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 its default export
  • pm2: the config file in the repository is renamed from ecosystem.config.js to ecosystem.config.cjs
  • the npm package and the Docker image contain the built server in build/ instead of lib/; bin/redis-commander.js, bin/healthcheck.js and bin/bcrypt-password.js stay at their paths, require("redis-commander") loads build/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, config and web keep 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:port works again: Kubernetes sets REDIS_PORT to this form for a service named redis (passed on by the Docker entrypoint), the start failed with "invalid redis-port" since the switch to yargs
  • --sentinel-tls --insecure-certificate without --redis-tls crashed 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

Don't miss a new redis-commander release

NewReleases is sending notifications on new releases.