envelop
envelop copied to clipboard
fix(deps): update dependency ioredis to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ioredis | ^4.27.9 -> ^5.0.0 |
Release Notes
luin/ioredis (ioredis)
v5.3.2
Bug Fixes
v5.3.1
Bug Fixes
- Fix commands not resend on reconnect in edge cases (#1720) (fe52ff1), closes #1718
- Fix db parameter not working with auto pipelining (#1721) (d9b1bf1)
v5.3.0
Bug Fixes
Features
5.2.6 (2023-01-25)
Bug Fixes
5.2.5 (2023-01-14)
Bug Fixes
-
Named export to support ESM imports in Typescript (#1695) (cdded57)
With this change, users would be able to import Redis with
import { Redis} from 'ioredis'. This makes it possible to import Redis in an ESM project. The original way (import Redis from 'ioredis') will still be supported but will be deprecated in the next major version.
5.2.4 (2022-11-02)
Bug Fixes
5.2.3 (2022-08-23)
Bug Fixes
- type of zscore result should be nullable (#1639) (a3838ae)
- update to latest profile for Redis Cloud (#1637) (dccb820)
5.2.2 (2022-07-23)
Bug Fixes
5.2.1 (2022-07-16)
Bug Fixes
- always allow selecting a new node for cluster mode subscriptions when the current one fails (#1589) (1c8cb85)
v5.2.6
Bug Fixes
v5.2.5
Bug Fixes
-
Named export to support ESM imports in Typescript (#1695) (cdded57)
With this change, users would be able to import Redis with
import { Redis} from 'ioredis'. This makes it possible to import Redis in an ESM project. The original way (import Redis from 'ioredis') will still be supported but will be deprecated in the next major version.
v5.2.4
Bug Fixes
v5.2.3
Bug Fixes
- type of zscore result should be nullable (#1639) (a3838ae)
- update to latest profile for Redis Cloud (#1637) (dccb820)
v5.2.2
Bug Fixes
v5.2.1
Bug Fixes
- always allow selecting a new node for cluster mode subscriptions when the current one fails (#1589) (1c8cb85)
v5.2.0
Features
v5.1.0
Features
5.0.6 (2022-05-31)
Bug Fixes
5.0.5 (2022-05-17)
Bug Fixes
- improve typing for redis.multi (#1580) (f9f875b)
- send correct command during auto-pipelining of .call() operations (#1579) (e41c3dc)
5.0.4 (2022-04-09)
Bug Fixes
5.0.3 (2022-03-31)
Bug Fixes
- add named exports to keep compatible with @types/ioredis (#1552) (a89a900)
- Fix failover detector with sentinel and tls streams (ac00a00)
- handle NOPERM error for monitor (93b873d), closes #1498
- Hook up the keepAlive after a successful connect (14f03a4), closes #1339
5.0.2 (2022-03-30)
Bug Fixes
- allow option maxRetriesPerRequest to be null (#1553) (d62a808), closes #1550
- support TypeScript interface as parameters of hmset and mset (#1545) (3444791), closes #1536
5.0.1 (2022-03-26)
Bug Fixes
- improve typing compatibility with @types/ioredis (#1542) (3bf300a)
v5.0.6
Bug Fixes
v5.0.5
Bug Fixes
- improve typing for redis.multi (#1580) (f9f875b)
- send correct command during auto-pipelining of .call() operations (#1579) (e41c3dc)
v5.0.4
Bug Fixes
v5.0.3
Bug Fixes
- add named exports to keep compatible with @types/ioredis (#1552) (a89a900)
- Fix failover detector with sentinel and tls streams (ac00a00)
- handle NOPERM error for monitor (93b873d), closes #1498
- Hook up the keepAlive after a successful connect (14f03a4), closes #1339
v5.0.2
Bug Fixes
- allow option maxRetriesPerRequest to be null (#1553) (d62a808), closes #1550
- support TypeScript interface as parameters of hmset and mset (#1545) (3444791), closes #1536
v5.0.1
Bug Fixes
- improve typing compatibility with @types/ioredis (#1542) (3bf300a)
v5.0.0
In the update of v5, we've made ioredis even more stable and developer-friendly while minimizing the number of breaking changes, so you can spend more time enjoying your life 😄.
Please refer to the guideline to upgrade your projects: 🚀 Upgrading from v4 to v5.
Bug Fixes
- add @ioredis/interface-generator to dev deps (aa3b3e9)
- add missing declaration for callBuffer (08c9072)
- add the missing typing for Redis#call() (747dd30)
- better support for CJS importing (687d3eb)
- disable slotsRefreshInterval by default (370fa62)
- Fix the NOSCRIPT behavior when using pipelines (bc1b168)
- improve typing for auto pipelining (4e8c567)
- improve typing for pipeline (d18f3fe)
- keyPrefix should work with Buffer (6942cec), closes #1486
- make fields private when possible (d5c2f20)
- parameter declaration of Redis#duplicate (a29d9c4)
- pipeline fails when cluster is not ready (af60bb0), closes #1460
- remove dropBufferSupport option (04e68ac)
- remove unused Command#isCustomCommand (46ade6b)
- rename interfaces by dropping prefix I (d1d9dba)
- Reset loaded script hashes to force a reload of scripts after reconnect of redis (60c2af9)
- support passing keyPrefix via redisOptions (6b0dc1e)
Features
- add @since to method comments (13eff8e)
- add declarations for methods (1e10c95)
- add tests for cluster (1eba58b)
- always parse username passed via URI (c6f41f6)
- drop support of Node.js 10 (f9a5071)
- drop support of third-party Promise libraries (2001ec6)
- expose official declarations (7a436b1)
- improve typings for cluster (06782e6)
- improve typings for pipeline (334242b)
- improve typings for smismember (487c3a0)
- improve typings for transformers (94c1e24)
- improve typings for xread (96cc335)
- Pipeline-based script loading (8df6ee2)
- prepare v5 stable release (#1538) (fe32ce7)
- Refactor code with modern settings (a8ffa80)
- skip ready check on NOPERM error (b530a0b), closes #1293
- support commands added in Redis v7 (53ca412)
- support defining custom commands via constructor options (f293b97)
- support Redis Functions introduced in Redis 7.0 (32eb381)
BREAKING CHANGES
slotsRefreshIntervalis disabled by default, previously, the default value was 5000.allowUsernameInURIis removed and ioredis will always use the username passed via URI. Previously, theusernamepart innew Redis("redis://username:[email protected]:6380/4")was ignored unlessallowUsernameInURIis specified:new Redis("redis://username:[email protected]:6380/4?allowUsernameInURI=true"). Now, if you don't want to send username to Redis, just leave the username part empty:new Redis("redis://:[email protected]:6380/4")Redis#serverInfois removed. This field is never documented so you very likely have never used it.- Support for third-party Promise libraries is dropped. Related methods (
exports.Promise = require('bluebird')) are kept but they don't take any effects. The native Promise will always be used. - We now require Node.js v12 or newer.
Rediscan't be called as a function anymore as it's now a class. Please changeRedis()tonew Redis(). Note thatRedis()was already deprecated in the previous version.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.
🦋 Changeset detected
Latest commit: a59ff8bb73cb460bfc40a2306331c0a831e72ce3
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @envelop/response-cache-redis | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| envelop | ✅ Ready (Inspect) | Visit Preview | May 11, 2022 at 1:36PM (UTC) |
The latest changes of this PR are not available as alpha, since there are no linked changesets for this PR.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: packages/plugins/response-cache-redis/yarn.lock
error Couldn't find any versions for "@envelop/response-cache" that matches "^2.3.2"
this would be a breaking change as the end users are gonna get type errors for their old usage of the plugin as the public interface of interacting with ioredis has changed. @n1ru4l do you see this reasonable or not?
💻 Website Preview
The latest changes are available as preview in: https://0e5beab5.envelop.pages.dev
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: packages/plugins/response-cache-redis/yarn.lock
error Couldn't find any versions for "@envelop/response-cache" that matches "^5.3.1"
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.