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.2
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.3
Choose a head ref
  • 5 commits
  • 16 files changed
  • 3 contributors

Commits on Aug 9, 2022

  1. docs: update instructions for ESM module

    Closes #1632
    luin authored Aug 9, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    kwasniew Mateusz Kwasniewski
    Copy the full SHA
    adbd103 View commit details

Commits on Aug 15, 2022

  1. Verified

    This commit was signed with the committer’s verified signature.
    kwasniew Mateusz Kwasniewski
    Copy the full SHA
    ddb3f89 View commit details

Commits on Aug 23, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a3838ae View commit details
  2. Copy the full SHA
    dccb820 View commit details
  3. chore(release): 5.2.3 [skip ci]

    ## [5.2.3](v5.2.2...v5.2.3) (2022-08-23)
    
    ### Bug Fixes
    
    * type of zscore result should be nullable ([#1639](#1639)) ([a3838ae](a3838ae))
    * update to latest profile for Redis Cloud ([#1637](#1637)) ([dccb820](dccb820))
    ioredis-robot authored and semantic-release-bot committed Aug 23, 2022
    Copy the full SHA
    308017a View commit details
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [5.2.3](https://github.com/luin/ioredis/compare/v5.2.2...v5.2.3) (2022-08-23)


### Bug Fixes

* type of zscore result should be nullable ([#1639](https://github.com/luin/ioredis/issues/1639)) ([a3838ae](https://github.com/luin/ioredis/commit/a3838ae7598c7d9d3aff688923403f6176d7a393))
* update to latest profile for Redis Cloud ([#1637](https://github.com/luin/ioredis/issues/1637)) ([dccb820](https://github.com/luin/ioredis/commit/dccb8205488d63653e1d157c6e87e28bfcddd3e1))

## [5.2.2](https://github.com/luin/ioredis/compare/v5.2.1...v5.2.2) (2022-07-23)


7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -116,7 +116,9 @@ npm install --save-dev @types/node
```javascript
// Import ioredis.
// You can also use `import Redis from "ioredis"`
// if your project is an ESM module or a TypeScript project.
// if your project is a TypeScript project,
// or `import { default as Redis } from "ioredis"`
// if it is an ESM module.
const Redis = require("ioredis");

// Create a Redis instance.
@@ -894,6 +896,9 @@ const redis = new Redis("rediss://redis.my-service.com");

### TLS Profiles

> **Warning**
> TLS profiles described in this section are going to be deprecated in the next major version. Please provide TLS options explicitly.
To make it easier to configure we provide a few pre-configured TLS profiles that can be specified by setting the `tls` option to the profile's name or specifying a `tls.profile` option in case you need to customize some values of the profile.

Profiles:
2 changes: 1 addition & 1 deletion bin/returnTypes.js
Original file line number Diff line number Diff line change
@@ -317,7 +317,7 @@ module.exports = {
zrevrange: "string[]",
zrevrangebyscore: "string[]",
zrevrank: "number | null",
zscore: "string",
zscore: "string | null",
zunion: "string[]",
zmscore: "(string | null)[]",
zunionstore: "number",
Loading