Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redis/ioredis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.2.1
Choose a base ref
...
head repository: redis/ioredis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.2
Choose a head ref
  • 2 commits
  • 14 files changed
  • 3 contributors

Commits on Jul 23, 2022

  1. fix: srandmember with count argument should return array of strings (#…

    …1620)
    
    
    Co-authored-by: Zihua Li <i@zihua.li>
    joni7777 and luin authored Jul 23, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    kwasniew Mateusz Kwasniewski
    Copy the full SHA
    5f813f3 View commit details
  2. chore(release): 5.2.2 [skip ci]

    ## [5.2.2](v5.2.1...v5.2.2) (2022-07-23)
    
    ### Bug Fixes
    
    * srandmember with count argument should return array of strings ([#1620](#1620)) ([5f813f3](5f813f3))
    ioredis-robot authored and semantic-release-bot committed Jul 23, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    kwasniew Mateusz Kwasniewski
    Copy the full SHA
    3a4c7f9 View commit details
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [5.2.2](https://github.com/luin/ioredis/compare/v5.2.1...v5.2.2) (2022-07-23)


### Bug Fixes

* srandmember with count argument should return array of strings ([#1620](https://github.com/luin/ioredis/issues/1620)) ([5f813f3](https://github.com/luin/ioredis/commit/5f813f3327ca9a2ef89fae195a458787f200e34d))

## [5.2.1](https://github.com/luin/ioredis/compare/v5.2.0...v5.2.1) (2022-07-16)


2 changes: 1 addition & 1 deletion bin/returnTypes.js
Original file line number Diff line number Diff line change
@@ -265,7 +265,7 @@ module.exports = {
sort: "number" | "unknown[]",
sortRo: "unknown[]",
spop: (types) => (types.length > 1 ? "string[]" : "string | null"),
srandmember: "string | unknown[] | null",
srandmember: (types) => (types.length > 1 ? "string[]" : "string | null"),
srem: "number",
strlen: "number",
sunion: "string[]",
Loading