Releases: iuioiua/r2d2
Releases · iuioiua/r2d2
v2.0.0
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
- BREAKING:
RedisClient
class by @iuioiua in #149 - docs: update description by @iuioiua in #158
- chore: update dependencies by @github-actions in #148
- chore: disable Redis server persistence by @iuioiua in #150
- chore: rework
cov:*
tasks by @iuioiua in #151 - chore: update
bench:dev
task by @iuioiua in #152 - chore: shutdown Redis server after failed tests by @iuioiua in #153
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #154
- chore(deps): bump peter-evans/create-pull-request from 4 to 5 by @dependabot in #155
- chore: simplify
update
workflow by @iuioiua in #156 - chore:
update
workflow step order by @iuioiua in #157
New Contributors
- @dependabot made their first contribution in #154
Full Changelog: v1.1.11...v2.0.0
v1.1.11
What's Changed
- fix: process all commands as mixed arrays by @iuioiua in #144
- refactor: use
concat()
by @iuioiua in #140 - chore: revert denopendabot by @iuioiua in #139
- chore: update deps by @iuioiua in #141
- chore: update comparisons by @iuioiua in #142
- chore: update description by @iuioiua in #133
- chore: setup Denopendabot by @denopendabot in #138
New Contributors
- @denopendabot made their first contribution in #138
Full Changelog: v1.1.10...v1.1.11
v1.1.10
v1.1.9
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
v1.1.7
What's Changed
- refactor: use esm for node imports by @iuioiua in #107
- feat: use udd for automatic dependency management by @iuioiua in #108
- Update dependencies by @github-actions in #109
- refactor: simplify
udd
workflow by @iuioiua in #110 - fix: udd on CI by @iuioiua in #111
- chore: update dependencies by @iuioiua in #112
New Contributors
- @github-actions made their first contribution in #109
Full Changelog: v1.1.6...v1.1.7