Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade to ioredis@5 #260

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Upgrade to ioredis@5 #260

merged 2 commits into from
Dec 20, 2023

Conversation

jleverenz
Copy link
Contributor

Gave the upgrade a shot, happy to make adjustments and help get this ready for merge / release.


export interface RedisModuleOptions {
config: Redis.RedisOptions & { url?: string };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a chance they had a specific reason to do it this way. * as Redis can fix compatibility issues with common module default exports.
Hopefully fixed with the ioredis upgrade.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a note about this in the v4 -> v5 upgrade guide for ioredis: https://github.com/luin/ioredis/wiki/Upgrading-from-v4-to-v5

That being said, if there's a good way to test / confirm any concerns, I can perform them / add them. I did get the few tests in the project running locally successfully, as well as minimally installed @nestjs/microservices and @nestjs/bull next to this on a test project without issue.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !
I guess the only other thing to test would be use with a plain js nest project?
I think that's a possibility.

@gingermusketeer
Copy link

I would love to make use of this. Anything I can do to help get this change in?

@pradm007
Copy link

pradm007 commented Jun 13, 2023

Hello All,
Any update on getting this change merged in, please? We wanted to use this change (ioredis:^5.0.0) for our project. Currently, there are conflicts with ioredis:^4.0.0 and ioredis@5.3.2 when used explicitly.

@aaronovz1
Copy link

Bump - also interested in this

@juandav juandav marked this pull request as ready for review December 20, 2023 09:22
@juandav juandav merged commit 7de8922 into nest-modules:master Dec 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants