Skip to content

Releases: mmkal/handy-redis

v2.3.1

17 Sep 15:11
Compare
Choose a tag to compare

Fix:

  • Make eson-parser a dev dependency 9b40c97

v2.3.0...v2.3.1

v2.3.0

17 Sep 14:33
Compare
Choose a tag to compare
  • Fixes for latest redis-doc (add GEOSEARCH, fix #324) (#328) a8c8810
  • Merge commit 'ef78f6ed0cc7739316ae7e2813ab371b12cea7f5' into main f3f38d3
  • Squashed 'docs/redis-doc/' changes from 99a0aa524..93a2afb33 ef78f6e

v2.2.2...v2.3.0

v2.2.2

03 Jul 14:26
Compare
Choose a tag to compare

npm

v2.2.1...v2.2.2

v2.2.1

04 Jan 23:34
Compare
Choose a tag to compare

Reduces package size by about 2/3 - some copies of the full redis commands interface files were accidentally shipped last time.

  • Internal: rename ci script to test so np automatically cleans before publishing f06bdab

v2.2.0...v2.2.1

v2.2.0

03 Jan 13:41
Compare
Choose a tag to compare
  • Use higher-kinded type for commands to enable multi overloads - fixes #270. (#271) 677af10

v2.1.0...v2.2.0

v2.1.0

09 Dec 18:39
Compare
Choose a tag to compare

v2.0.3...v2.1.0

v2.0.3

03 Dec 22:49
Compare
Choose a tag to compare

v2.0.2...v2.0.3

handy-redis 2.0.2

27 Oct 15:48
Compare
Choose a tag to compare

Fix:
ZRANGEBYSCORE, ZREMRANGEBYSCORE, ZREVRANGEBYSCORE and ZCOUNT: allow +inf,-inf, ranges in interval args (redis-doc workaround) (#240 - fixes #30) 0c4a08f

v2.0.1...v2.0.2

handy-redis 2.0.1

14 Oct 20:26
Compare
Choose a tag to compare

Fixes

v2.0.0...v2.0.1

npm package

handy-redis 2.0.0

12 Oct 22:03
Compare
Choose a tag to compare

npm package

Breaking changes:

  • command signatures updated, some are now more strict
  • anys have been replaced with unknowns
  • new commands added
  • execMulti is removed in favour of .multi().exec(), which is promisified
  • multi pipelines now keep track of types
  • .batch support added (fixes #45)
  • .script('LOAD') and other subcommands added (fixes #221)
  • addNodeRedisCommand exposed (fixes #176)
  • redis removed as a dependency. It must be added separately
  • deprecated functions/properties/interfaces (the old forms are preserved for backwards-compatibility, but update if possible):
    • clients should now be created with createNodeRedisClient rather than createHandyClient
    • WrappedNodeRedisClient is now preferred to IHandyRedis
    • client.nodeRedis preferred to client.redis
  • lots of internal tidyup of code-generation code

Basic usage is identical, aside from the recommended import name:

import { createNodeRedisClient } from 'handy-redis';

(async function() {
    const client = createNodeRedisClient();

    await client.set('foo', 'bar');
    const foo = await client.get('foo');
    console.log(foo); // 'bar'
})();

v1.8.3...v2.0.0