chore(deps): update dependency ioredis-mock to v8 #625
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.6.0->8.9.0Release Notes
stipsan/ioredis-mock (ioredis-mock)
v8.9.0Compare Source
Features
Bug Fixes
v8.8.3Compare Source
Bug Fixes
v8.8.2Compare Source
Bug Fixes
hscanreturn flat list of entries (#1300) (6f440f0)v8.8.1Compare Source
Bug Fixes
lmoveBuffer(9cb31eb)v8.8.0Compare Source
Features
Bug Fixes
v8.7.0Compare Source
Features
Bug Fixes
v8.6.0Compare Source
Features
Bug Fixes
v8.5.0Compare Source
Features
v8.4.0Compare Source
Features
expiretimecommand (e62202d)pexpiretimecommand (fe783a2)Bug Fixes
v8.3.0Compare Source
Features
Bug Fixes
v8.2.7Compare Source
Bug Fixes
v8.2.6Compare Source
Bug Fixes
v8.2.5Compare Source
Bug Fixes
v8.2.4Compare Source
Bug Fixes
@types/ioredis-mockas a peer (06bc0a8)messageBufferevent (#1206) (1537301), closes #1205@ioredis/commands(3137d2b)enginesasioredis(54aa189)v8.2.3Compare Source
Bug Fixes
v8.2.2Compare Source
Bug Fixes
v8.2.1Compare Source
Bug Fixes
v8.2.0Compare Source
Features
v8.1.1Compare Source
Bug Fixes
v8.1.0Compare Source
Bug Fixes
Features
v8.0.0Compare Source
Features
BREAKING CHANGES
v7.5.1Compare Source
Bug Fixes
v7.5.0Compare Source
Features
v7.4.0Compare Source
Features
v7.3.0Compare Source
Features
v7.2.0Compare Source
Features
v7.1.0Compare Source
Features
v7.0.1Compare Source
Bug Fixes
v7.0.0Compare Source
Bug Fixes
Code Refactoring
BREAKING CHANGES
redis.duplicate()or anothernew Redisinstead ofredis.createConnectedClient()require('ioredis-mock/jest')calls torequire('ioredis-mock')v6.13.0Compare Source
Features
v6.12.0Compare Source
Features
v6.11.0Compare Source
Features
v6.10.0Compare Source
Features
v6.9.0Compare Source
Features
v6.8.0Compare Source
Features
v6.7.0Compare Source
Features
v6.6.0Compare Source
Features
v6.5.0Compare Source
Features
v6.4.0Compare Source
Bug Fixes
Features
v6.3.0Compare Source
Features
Added
appendBufferbgrewriteaofBufferbgsaveBufferbrpoplpushBufferdbsizeBufferdecrBufferdecrbyBufferdelBufferdiscardBufferechoBufferexistsBufferexpireBufferexpireatBufferflushallBufferflushdbBuffergetbitBuffergetrangeBufferhdelBufferhexistsBufferhmsetBufferhsetBufferincrBufferincrbyBufferincrbyfloatBufferinfoBufferkeysBufferlastsaveBuffermsetBufferpingBufferquitBufferreplconfreplconfBuffersaddBuffersaveBuffersetBufferImproved
getis updated to convert buffers to string, like nativeredis + ioredis,v6.2.0Compare 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.2Compare Source
Bug Fixes
bgrewriteaof
'Background append only file rewriting started'instead of'OK'bgsave
'Background saving started'instead of'OK'decrby
"ERR wrong number of arguments for 'decrby' command"if the decrement argument is missingrpoplpush
'WRONGTYPE Operation against a key holding the wrong kind of value'if the source argument is invalidtime
v6.1.1Compare Source
Bug Fixes
v6.1.0Compare 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:ioredis-mock/jest.jsis deprecatedioredis-mockis no longer doing aimport { Command } from 'ioredis'internally, it's now doing a direct importimport Command from 'ioredis/built/command'and thus thejest.jsworkaround is no longer needed:v6.0.0Compare Source
BREAKING CHANGE
Before v6, each instance of
ioredis-mocklived in isolation:In v6 the internals were rewritten to behave more like real life redis, if the host and port is the same, the context is now shared:
And since
ioredis-mocknow persist data between instances, you'll likely need to runflushallbetween testing suites:createConnectedClientis deprecatedReplace it with
.duplicate()or use anothernew Redisinstance.v5.9.1Compare Source
This is a republish of
v5.8.4asv5.9.0is a breaking release that's republished asv6.0.0v5.9.0Compare Source
This is a breaking release by accident
See
v6.0.0instead, which includes upgrade notes. Or stay onv5.9.1orv5.8.4until you're ready to migrate.Features
v5.8.4Compare Source
Bug Fixes
v5.8.3Compare Source
Bug Fixes
v5.8.2Compare Source
Bug Fixes
v5.8.1Compare Source
Bug Fixes
v5.8.0Compare Source
Features
v5.7.0Compare Source
Features
Reverts
v5.6.1Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.