Skip to content

Releases: iuioiua/r2d2

v2.0.0

08 Oct 22:31
9049602
Compare
Choose a tag to compare

Previously, this module only consisted of pure functions. This release introduces the RedisClient class that uses these same functions under the hood, alongside a new simple queueing mechanism that fixes previous issues with race conditions during concurrent task execution. To migrate, replace functions with RedisClient methods.

Before:

import { sendCommand } from "https://deno.land/x/r2d2/mod.ts";

const redisConn = await Deno.connect({ port: 6379 });

// Returns "OK"
await sendCommand(redisConn, ["SET", "hello", "world"]);

// Returns "world"
await sendCommand(redisConn, ["GET", "hello"]);

After:

import { RedisClient } from "https://deno.land/x/r2d2/mod.ts";

const redisConn = await Deno.connect({ port: 6379 });
const redisClient = new RedisClient(redisConn);

// Returns "OK"
await redisClient.sendCommand(["SET", "hello", "world"]);

// Returns "world"
await redisClient.sendCommand(["GET", "hello"]);

What's Changed

New Contributors

Full Changelog: v1.1.11...v2.0.0

v1.1.11

01 Sep 07:16
4e7d5fd
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @denopendabot made their first contribution in #138

Full Changelog: v1.1.10...v1.1.11

v1.1.10

14 Jul 06:35
37acd05
Compare
Choose a tag to compare

What's Changed

  • refactor: modernise, clean-up and update by @iuioiua in #132

Full Changelog: v1.1.9...v1.1.10

v1.1.9

30 Jun 01:53
754aa50
Compare
Choose a tag to compare

What's Changed

  • feat: deno task update:dev by @iuioiua in #119
  • refactor: use npm specifiers for benchmarks by @iuioiua in #120
  • doc: add benchmark chart by @iuioiua in #121
  • Update dependencies by @github-actions in #122
  • Update dependencies by @github-actions in #123
  • Update dependencies by @github-actions in #124
  • Update dependencies by @github-actions in #125
  • Update dependencies by @github-actions in #126
  • Update dependencies by @github-actions in #128
  • Update dependencies by @github-actions in #129

Full Changelog: v1.1.8...v1.1.9

v1.1.8

19 Apr 00:23
fd29886
Compare
Choose a tag to compare

What's Changed

  • revert: udd workflow by @iuioiua in #114
  • Update dependencies by @github-actions in #118

Full Changelog: v1.1.7...v1.1.8

v1.1.7

12 Mar 10:18
b982fd0
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @github-actions made their first contribution in #109

Full Changelog: v1.1.6...v1.1.7

v1.1.6

14 Feb 05:28
6057266
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.5...v1.1.6

v1.1.5

01 Feb 04:02
d58c4bc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.4...v1.1.5

v1.1.4

16 Jan 23:52
0d17071
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

04 Dec 21:39
fe77226
Compare
Choose a tag to compare

What's Changed

  • chore: update dependencies by @iuioiua in #92
  • docs: add retry example and improve timeout docs by @iuioiua in #93

Full Changelog: v1.1.2...v1.1.3