Skip to content

Update dependency ioredis-mock to v8 - #625

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ioredis-mock-8.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ioredis-mock-8.x

Conversation

@renovate

@renovate renovate Bot commented May 15, 2022 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
ioredis-mock 5.6.0 → 8.13.1 age confidence

Release Notes

stipsan/ioredis-mock (ioredis-mock)

v8.13.1

Compare Source

Patch Changes

v8.13.0

Compare Source

Minor Changes
Patch Changes

v8.12.1

Compare Source

Patch Changes

v8.12.0

Compare Source

Minor Changes
  • #​1440 b469d87 Thanks @​copilot-swe-agent! - Update Redis Docker tag to v8.2.1 and internal Redis version data

    • Updated CI workflows to use Redis 8.2.1 for end-to-end testing
    • Updated internal Redis version data files from Redis 8.2.1
    • Fixed XREAD command error message to match Redis v8 behavior (added '+' option)
    • Updated test snapshots to reflect Redis 8.2.1 version information

    This is a minor version bump as the core functionality remains compatible, with only cosmetic changes to version strings and one minor error message update.

Patch Changes

v8.11.2

Compare Source

Patch Changes

v8.11.1

Compare Source

Patch Changes

v8.11.0

Compare Source

Minor Changes
Patch Changes

v8.10.0

Compare Source

Minor Changes
Patch Changes

v8.9.2

Compare Source

Patch Changes

v8.9.1

Compare Source

Patch Changes

v8.9.0

Compare Source

Features
Bug Fixes

v8.8.3

Compare Source

Bug Fixes

v8.8.2

Compare Source

Bug Fixes

v8.8.1

Compare Source

Bug Fixes

v8.8.0

Compare Source

Features
Bug Fixes

v8.7.0

Compare Source

Features
Bug Fixes

v8.6.0

Compare Source

Features
Bug Fixes
  • sorted lists should throw WRONGTYPE instead of returning empty arrays (b46b9b8)

v8.5.0

Compare Source

Features

v8.4.0

Compare Source

Features
Bug Fixes

v8.3.0

Compare Source

Features
Bug Fixes

v8.2.7

Compare Source

Bug Fixes

v8.2.6

Compare Source

Bug Fixes
  • duplicate: preserve options as well as accept overrides (#​1234) (284f711)

v8.2.5

Compare Source

Bug Fixes

v8.2.4

Compare Source

Bug Fixes

v8.2.3

Compare Source

Bug Fixes

v8.2.2

Compare Source

Bug Fixes
  • README: reference Renovatebot instead of Greenkeeper (de6a205)

v8.2.1

Compare Source

Bug Fixes

v8.2.0

Compare Source

Features

v8.1.1

Compare Source

Bug Fixes

v8.1.0

Compare Source

Bug Fixes
  • lrem: refactor indexFun to a compiler friendlier variant (9b3b6f7), closes #​1103
  • sort json data by default (85c641a)
Features

v8.0.0

Compare Source

Features
BREAKING CHANGES
  • this drops support for ioredis v4 and Redis.Promise overrides

v7.5.1

Compare Source

Bug Fixes
  • backport map batch length to length in pipeline.js (#​1319) (6e9bf07)
  • Backport rpoplpush should rotate the list when source and destintation are the same (#​1322) (72c62c5)

v7.5.0

Compare Source

Features

v7.4.0

Compare Source

Features

v7.3.0

Compare Source

Features

v7.2.0

Compare Source

Features

v7.1.0

Compare Source

Features

v7.0.1

Compare Source

Bug Fixes

v7.0.0

Compare Source

Bug Fixes
  • drop support for node v10 (afc20a9)
  • remove createConnectedClient (d747b84)
Code Refactoring
BREAKING CHANGES
  • use redis.duplicate() or another new Redis instead of redis.createConnectedClient()
  • Upgrade to node v12 or later
  • update require('ioredis-mock/jest') calls to require('ioredis-mock')

v6.13.0

Compare Source

Features

v6.12.0

Compare Source

Features

v6.11.0

Compare Source

Features

v6.10.0

Compare Source

Features

v6.9.0

Compare Source

Features

v6.8.0

Compare Source

Features

v6.7.0

Compare Source

Features

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features

v6.4.0

Compare Source

Bug Fixes
  • hstrlen throws error if wrong number of arguments (a028d32)
  • rpush error message synced with redis (c58eda0)
Features

v6.3.0

Compare Source

Features
Added
  • appendBuffer
  • bgrewriteaofBuffer
  • bgsaveBuffer
  • brpoplpushBuffer
  • dbsizeBuffer
  • decrBuffer
  • decrbyBuffer
  • delBuffer
  • discardBuffer
  • echoBuffer
  • existsBuffer
  • expireBuffer
  • expireatBuffer
  • flushallBuffer
  • flushdbBuffer
  • getbitBuffer
  • getrangeBuffer
  • hdelBuffer
  • hexistsBuffer
  • hmsetBuffer
  • hsetBuffer
  • incrBuffer
  • incrbyBuffer
  • incrbyfloatBuffer
  • infoBuffer
  • keysBuffer
  • lastsaveBuffer
  • msetBuffer
  • pingBuffer
  • quitBuffer
  • replconf
  • replconfBuffer
  • saddBuffer
  • saveBuffer
  • setBuffer
Improved
  • get is updated to convert buffers to string, like native redis + ioredis,

v6.2.0

Compare Source

Features
Constructor shorthands now supported:
  • new Redis(6379, 'localhost', { keyPrefix: 'shared:' })
  • new Redis('//localhost:6379', { keyPrefix: 'shared:' })
  • new Redis('redis://localhost:6379', { keyPrefix: 'private:' })
  • new Redis(6379, { keyPrefix: 'shared:' })
  • new Redis(6379)
  • new Redis('redis://localhost:6379/')

v6.1.2

Compare Source

Bug Fixes
  • improve bgrewriteaof, bgsave, decrby, rpoplpush & time (#​1126) (4907dab)
bgrewriteaof
  • returns 'Background append only file rewriting started' instead of 'OK'
bgsave
  • returns 'Background saving started' instead of 'OK'
decrby
  • throws "ERR wrong number of arguments for 'decrby' command" if the decrement argument is missing
rpoplpush
  • throws 'WRONGTYPE Operation against a key holding the wrong kind of value' if the source argument is invalid
  • returns null if the destination is invalid
time
  • returns strings instead of numbers

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

Browser usage (Experimental)

There's a browser build available. You can import it directly (import Redis from 'ioredis-mock/browser.js'), or use it on unpkg.com:

import Redis from 'https://unpkg.com/ioredis-mock';

const redis = new Redis();
redis.set('foo', 'bar');
console.log(await redis.get('foo'));
ioredis-mock/jest.js is deprecated

ioredis-mock is no longer doing a import { Command } from 'ioredis' internally, it's now doing a direct import import Command from 'ioredis/built/command' and thus the jest.js workaround is no longer needed:

-jest.mock('ioredis', () => require('ioredis-mock/jest'))
+jest.mock('ioredis', () => require('ioredis-mock'))

v6.0.0

Compare Source

BREAKING CHANGE

Before v6, each instance of ioredis-mock lived in isolation:

const Redis = require('ioredis-mock');
const redis1 = new Redis();
const redis2 = new Redis();
await redis1.set('foo', 'bar');
console.log(await redis1.get('foo'), await redis2.get('foo')); // 'bar', null

In v6 the [internals were rewritten](https://redirect.github.co

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from 7897d8d to 95a485c Compare June 18, 2022 14:22
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch 2 times, most recently from fc2ca3e to 80a432f Compare March 23, 2023 17:38
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from 80a432f to 9af165c Compare March 28, 2023 23:57
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from 9af165c to 7c795c7 Compare April 17, 2023 12:30
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from 7c795c7 to 2211f87 Compare June 1, 2023 03:45
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from 2211f87 to fbc56d6 Compare October 1, 2023 08:08
@renovate
renovate Bot force-pushed the renovate/ioredis-mock-8.x branch from fbc56d6 to cbca8d5 Compare November 8, 2026 11:27
@renovate renovate Bot changed the title chore(deps): update dependency ioredis-mock to v8 Update dependency ioredis-mock to v8 Nov 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants