Skip to content

v0.1.46

Latest

Choose a tag to compare

@crenata crenata released this 02 Aug 13:48
12708c8

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, and disconnectAfter params
  • 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-alias devDependency from ^1.8.17 to ^1.9.1
  • Cleaned up tsconfig.json (baseUrl removed, @/* 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

Full Changelog: https://github.com/Bejibun-Framework/bejibun-redis/blob/master/CHANGELOG.md