英文:
what's the different between redis.v4 and redis.v5 in golang package
问题
目前我正在做一个使用Go语言和Redis构建缓存数据的项目。
我正在使用Redis 4版本,来自gopkg.in/redis.v4。我们计划升级到Redis 5版本。
但在尝试更新版本之前,我遇到了以下问题:
- Redis 5相比Redis 4有哪些好处?
- 我试图找到更新日志,但找不到,有关于这个更新的更新日志吗?
- 在将Redis 4更新为Redis 5之后,是否需要进行任何更改?比如函数方面的更改?
希望有人能帮助我解决这个问题。非常感谢任何帮助。
英文:
Currently I'm doing some project to build cache data using Redis using Go language.
I'm using Redis version 4 from gopkg.in/redis.v4. We have the plan to upgrade it to redis version 5.
But I've the following issue before attempt to update version :
- What is the good thing about redis 5 compare to redis 4
- I tried to find the changelog but I could not, any changelog for this update?
- any changes to make after updating the redis 4 to redis 5 ? like function ?
Hopefully someone could help me regarding this issue. Any help would be appreciate.
答案1
得分: 1
似乎没有官方的变更日志,但是在 GitHub 上你可以使用比较功能来查看至少高层次的变更。就我所见,这次变更并不多。
https://github.com/go-redis/redis/compare/v4...v5
在我的测试中,我没有发现任何在 v4 中无法正常工作的函数。
英文:
It seems that there is no official changelog, but on github you can use the compare function to see at least high-level what changed. In this case it was not much as far as i see.
https://github.com/go-redis/redis/compare/v4...v5
On my own tests i have not seen any non-working functions to v4.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论