Skip to content

Commit 1df1ea0

Browse files
committed
docs: update examples to v5
1 parent b8e99b4 commit 1df1ea0

File tree

8 files changed

+254
-147
lines changed

8 files changed

+254
-147
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# [5.0.0](https://github.com/luin/ioredis/compare/v4.28.5...v5.0.0) (2022-03-26)
22

3+
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 😄.
4+
5+
Please refer to the guideline to upgrade your projects: [🚀 Upgrading from v4 to v5](https://github.com/luin/ioredis/wiki/Upgrading-from-v4-to-v5).
6+
37

48
### Bug Fixes
59

@@ -58,8 +62,7 @@ Now, if you don't want to send username to Redis, just leave the username part e
5862
* `Redis#serverInfo` is removed. This field is never documented so
5963
you very likely have never used it.
6064
* 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.
61-
* We now require Node.js v10.12.0 or newer.
62-
* We now only work with Redis v3.0.0 or newer.
65+
* We now require Node.js v12 or newer.
6366
* `Redis` can't be called as a function anymore as it's now a class.
6467
Please change `Redis()` to `new Redis()`. Note that `Redis()` was already deprecated
6568
in the previous version.
@@ -141,8 +144,7 @@ Now, if you don't want to send username to Redis, just leave the username part e
141144
* `Redis#serverInfo` is removed. This field is never documented so
142145
you very likely have never used it.
143146
* 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.
144-
* We now require Node.js v10.12.0 or newer.
145-
* We now only work with Redis v3.0.0 or newer.
147+
* We now require Node.js v12 or newer.
146148
* `Redis` can't be called as a function anymore as it's now a class.
147149
Please change `Redis()` to `new Redis()`. Note that `Redis()` was already deprecated
148150
in the previous version.

examples/express/package-lock.json

Lines changed: 36 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"debug": "^4.3.3",
1111
"express": "^4.17.3",
1212
"http-errors": "~1.6.3",
13-
"ioredis": "^4.28.5",
13+
"ioredis": "^5.0.0",
1414
"jade": "~1.11.0",
1515
"morgan": "~1.9.1"
1616
}

0 commit comments

Comments
 (0)