v0.1.46 - 2026-08-02
🩹 Fixes
- Fixed incorrect log message in
.keys()— was logging "Failed to get value." instead of "Failed to get keys."
📖 Changes
- Added
.ping()to check connectivity / send a PING to the Redis server, with optional message, connection, anddisconnectAfterparams - Extended
.pipeline()with new batched operations:.decr(),.decrBy(),.exists(),.expire(),.incr(),.incrBy(),.keys(), and.ttl()(previously the pipeline builder only supported.del(),.get(), and.set()) - Bumped
tsc-aliasdevDependency from^1.8.17to^1.9.1 - Cleaned up
tsconfig.json(baseUrlremoved,@/*path updated to./src/*)
Example:
await Redis.ping();
await Redis.pipeline((pipe) => {
pipe.incr("visitors");
pipe.decrBy("stock", 3);
pipe.exists("session:123");
pipe.expire("session:123", 3600);
pipe.keys("cache:*");
pipe.ttl("session:123");
});❤️Contributors
- Havea Crenata (@crenata)
Full Changelog: https://github.com/Bejibun-Framework/bejibun-redis/blob/master/CHANGELOG.md