From f0bfd1b4fa16112c274ed7372c8243cee05d4d04 Mon Sep 17 00:00:00 2001 From: Corbin Graham Date: Thu, 29 Jan 2026 15:05:35 -0800 Subject: [PATCH 1/2] fix a compatability issue with Valkey 8 forward --- Gemfile.lock | 2 +- lib/qless/lua_script.rb | 3 ++- lib/qless/version.rb | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 71aae15b..7eb63be8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - qless (0.14.0) + qless (0.15.0) redis (>= 2.2, < 5) rusage (~> 0.2.0) sentry-raven (22.7.0) diff --git a/lib/qless/lua_script.rb b/lib/qless/lua_script.rb index 7afc1d87..88d00c6d 100644 --- a/lib/qless/lua_script.rb +++ b/lib/qless/lua_script.rb @@ -55,9 +55,10 @@ def handle_no_script_error # Module for notifying when a script hasn't yet been loaded module ScriptNotLoadedRedisCommandError MESSAGE = 'NOSCRIPT No matching script. Please use EVAL.' + VALKEY_MESSAGE = 'NOSCRIPT No matching script.' def self.===(error) - error.is_a?(Redis::CommandError) && error.message == MESSAGE + error.is_a?(Redis::CommandError) && (error.message == MESSAGE || error.message == VALKEY_MESSAGE) end end diff --git a/lib/qless/version.rb b/lib/qless/version.rb index 97db4c8d..46b84e3c 100644 --- a/lib/qless/version.rb +++ b/lib/qless/version.rb @@ -1,5 +1,5 @@ # Encoding: utf-8 module Qless - VERSION = '0.14.0' + VERSION = '0.15.0' end From a6bb40179ebccb86d774ff482ca4a5c30769936d Mon Sep 17 00:00:00 2001 From: Corbin Graham Date: Thu, 29 Jan 2026 15:11:13 -0800 Subject: [PATCH 2/2] Update README with some of the latest changes to Qless --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 12e668b9..8aa7ec9f 100644 --- a/README.md +++ b/README.md @@ -672,3 +672,12 @@ Release Notes The metric `failures` provided by `qless-stats` has been replaced by `failed` for compatibility with users of `graphite`. See [#275](https://github.com/seomoz/qless/pull/275) for more details. + +0.14.0 +------ +Make Qless compatible with Redis 6.0+. See [#299](https://github.com/seomoz/qless/pull/299) + +0.15.0 +------ +Make Qless compatible with breaking change introduced in Valkey 8+. +[#300](https://github.com/seomoz/qless/pull/300)