Skip to content

Commit 8529ac3

Browse files
ioredis-robotsemantic-release-bot
authored andcommitted
chore(release): 5.0.0-beta.1 [skip ci]
# [5.0.0-beta.1](v4.28.5...v5.0.0-beta.1) (2022-03-14) ### Bug Fixes * add @ioredis/interface-generator to dev deps ([aa3b3e9](aa3b3e9)) * add the missing typing for Redis#call() ([747dd30](747dd30)) * better support for CJS importing ([687d3eb](687d3eb)) * disable slotsRefreshInterval by default ([370fa62](370fa62)) * Fix the NOSCRIPT behavior when using pipelines ([bc1b168](bc1b168)) * improve typing for auto pipelining ([4e8c567](4e8c567)) * improve typing for pipeline ([d18f3fe](d18f3fe)) * make fields private when possible ([d5c2f20](d5c2f20)) * parameter declaration of Redis#duplicate ([a29d9c4](a29d9c4)) * remove dropBufferSupport option ([04e68ac](04e68ac)) * remove unused Command#isCustomCommand ([46ade6b](46ade6b)) * rename interfaces by dropping prefix I ([d1d9dba](d1d9dba)) * Reset loaded script hashes to force a reload of scripts after reconnect of redis ([60c2af9](60c2af9)) * support passing keyPrefix via redisOptions ([6b0dc1e](6b0dc1e)) ### Features * add [@SInCE](https://github.com/since) to method comments ([13eff8e](13eff8e)) * add declarations for methods ([1e10c95](1e10c95)) * add tests for cluster ([1eba58b](1eba58b)) * always parse username passed via URI ([c6f41f6](c6f41f6)) * drop support of Node.js 10 ([f9a5071](f9a5071)) * drop support of third-party Promise libraries ([2001ec6](2001ec6)) * expose official declarations ([7a436b1](7a436b1)) * improve typings for cluster ([06782e6](06782e6)) * improve typings for pipeline ([334242b](334242b)) * improve typings for transformers ([94c1e24](94c1e24)) * Pipeline-based script loading ([8df6ee2](8df6ee2)) * Refactor code with modern settings ([a8ffa80](a8ffa80)) * skip ready check on NOPERM error ([b530a0b](b530a0b)), closes [#1293](#1293) * support commands added in Redis v7 ([53ca412](53ca412)) * support defining custom commands via constructor options ([f293b97](f293b97)) * support Redis Functions introduced in Redis 7.0 ([32eb381](32eb381)) ### BREAKING CHANGES * `slotsRefreshInterval` is disabled by default, previously, the default value was 5000. * `allowUsernameInURI` is removed and ioredis will always use the username passed via URI. Previously, the `username` part in `new Redis("redis://username:[email protected]:6380/4")` was ignored unless `allowUsernameInURI` is 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#serverInfo` is 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 v10.12.0 or newer. * We now only work with Redis v3.0.0 or newer. * `Redis` can't be called as a function anymore as it's now a class. Please change `Redis()` to `new Redis()`. Note that `Redis()` was already deprecated in the previous version.
1 parent 6198aa0 commit 8529ac3

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
# [5.0.0-beta.1](https://github.com/luin/ioredis/compare/v4.28.5...v5.0.0-beta.1) (2022-03-14)
2+
3+
4+
### Bug Fixes
5+
6+
* add @ioredis/interface-generator to dev deps ([aa3b3e9](https://github.com/luin/ioredis/commit/aa3b3e91a369526ea2dff39b0619b0c2e0b4153b))
7+
* add the missing typing for Redis#call() ([747dd30](https://github.com/luin/ioredis/commit/747dd305696bf3fb661c1d0b4ac376de55e0ec25))
8+
* better support for CJS importing ([687d3eb](https://github.com/luin/ioredis/commit/687d3eb8dd0499fd900ede2f4dff835981999665))
9+
* disable slotsRefreshInterval by default ([370fa62](https://github.com/luin/ioredis/commit/370fa625cd20bfe62f41c38088e596c7a6f0619c))
10+
* Fix the NOSCRIPT behavior when using pipelines ([bc1b168](https://github.com/luin/ioredis/commit/bc1b1680663216ca2cfb1c77622bfa4fec9b2bd4))
11+
* improve typing for auto pipelining ([4e8c567](https://github.com/luin/ioredis/commit/4e8c567d1175de31e2371a9dad308a94fcb5627f))
12+
* improve typing for pipeline ([d18f3fe](https://github.com/luin/ioredis/commit/d18f3fe07ed04da5b7b26981d91bb4aa74b83ca3))
13+
* make fields private when possible ([d5c2f20](https://github.com/luin/ioredis/commit/d5c2f203b8f1f617f464402e400655c1f7c0fa08))
14+
* parameter declaration of Redis#duplicate ([a29d9c4](https://github.com/luin/ioredis/commit/a29d9c46f67dc8bcc345de6543a92dd808e8a6c0))
15+
* remove dropBufferSupport option ([04e68ac](https://github.com/luin/ioredis/commit/04e68ac4ade14d68809ca58d7ad8536eceda2b1e))
16+
* remove unused Command#isCustomCommand ([46ade6b](https://github.com/luin/ioredis/commit/46ade6b8732b112cc5cffb641b1bab51eb96df38))
17+
* rename interfaces by dropping prefix I ([d1d9dba](https://github.com/luin/ioredis/commit/d1d9dba9eafc574a9d9041fd4bc7cd04f1584159))
18+
* Reset loaded script hashes to force a reload of scripts after reconnect of redis ([60c2af9](https://github.com/luin/ioredis/commit/60c2af985a994a247d1148bfab122e5c0ecd81d2))
19+
* support passing keyPrefix via redisOptions ([6b0dc1e](https://github.com/luin/ioredis/commit/6b0dc1e0edbaa5f46b7b03629dda20176c7a81b4))
20+
21+
22+
### Features
23+
24+
* add [@since](https://github.com/since) to method comments ([13eff8e](https://github.com/luin/ioredis/commit/13eff8e86a0d08a3aa614f2d8fe7a166f6beb532))
25+
* add declarations for methods ([1e10c95](https://github.com/luin/ioredis/commit/1e10c95eadede949e536f02ca1412ef4383ba654))
26+
* add tests for cluster ([1eba58b](https://github.com/luin/ioredis/commit/1eba58ba3961e477c6502daf05cf4074f728d3cf))
27+
* always parse username passed via URI ([c6f41f6](https://github.com/luin/ioredis/commit/c6f41f692243129dbc952ef8fd2e5c160133d677))
28+
* drop support of Node.js 10 ([f9a5071](https://github.com/luin/ioredis/commit/f9a5071d95519c0f358c4ecf064838824ce8ad62))
29+
* drop support of third-party Promise libraries ([2001ec6](https://github.com/luin/ioredis/commit/2001ec6fafd057eda9111ab858c1c618d939371e))
30+
* expose official declarations ([7a436b1](https://github.com/luin/ioredis/commit/7a436b128c3e97586d2378149beaa2043eb00850))
31+
* improve typings for cluster ([06782e6](https://github.com/luin/ioredis/commit/06782e681500eae6f3ceafcc6385b9be4fdaf4e3))
32+
* improve typings for pipeline ([334242b](https://github.com/luin/ioredis/commit/334242b1adf5399a1ad9d7ba6202d062a0695882))
33+
* improve typings for transformers ([94c1e24](https://github.com/luin/ioredis/commit/94c1e24f09b9e7eaff4181f984f6317acacade94))
34+
* Pipeline-based script loading ([8df6ee2](https://github.com/luin/ioredis/commit/8df6ee265595f035cc85b52b4d11793bea0318f3))
35+
* Refactor code with modern settings ([a8ffa80](https://github.com/luin/ioredis/commit/a8ffa80dd2fb081012222a436d5be2b5325623b9))
36+
* skip ready check on NOPERM error ([b530a0b](https://github.com/luin/ioredis/commit/b530a0b9fe0f987d6786e5cfccbfae8b5b9c9294)), closes [#1293](https://github.com/luin/ioredis/issues/1293)
37+
* support commands added in Redis v7 ([53ca412](https://github.com/luin/ioredis/commit/53ca41264f94f05a9a7a231915a0e852a46079d4))
38+
* support defining custom commands via constructor options ([f293b97](https://github.com/luin/ioredis/commit/f293b978c6023b8ce3477af0076203c7bc2482f8))
39+
* support Redis Functions introduced in Redis 7.0 ([32eb381](https://github.com/luin/ioredis/commit/32eb381c3035ebc70e8e316697c7e0b479ec66a2))
40+
41+
42+
### BREAKING CHANGES
43+
44+
* `slotsRefreshInterval` is disabled by default,
45+
previously, the default value was 5000.
46+
* `allowUsernameInURI` is removed and ioredis will always
47+
use the username passed via URI.
48+
Previously, the `username` part in `new Redis("redis://username:[email protected]:6380/4")`
49+
was ignored unless `allowUsernameInURI` is specified: `new Redis("redis://username:[email protected]:6380/4?allowUsernameInURI=true")`.
50+
Now, if you don't want to send username to Redis, just leave the username part empty:
51+
`new Redis("redis://:[email protected]:6380/4")`
52+
* `Redis#serverInfo` is removed. This field is never documented so
53+
you very likely have never used it.
54+
* 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.
55+
* We now require Node.js v10.12.0 or newer.
56+
* We now only work with Redis v3.0.0 or newer.
57+
* `Redis` can't be called as a function anymore as it's now a class.
58+
Please change `Redis()` to `new Redis()`. Note that `Redis()` was already deprecated
59+
in the previous version.
60+
161
## [4.28.5](https://github.com/luin/ioredis/compare/v4.28.4...v4.28.5) (2022-02-06)
262

363

0 commit comments

Comments
 (0)