Skip to content

Migration Guide 3.13

Ladislav Thon edited this page Jul 2, 2024 · 27 revisions

Redis Client

Fixed parameter ordering in JSON.MGET

The JsonCommands.jsonMget() method (and similar methods like ReactiveJsonCommands.jsonMget()) declare parameters in the following order:

  • String path

  • K... keys

This is opposite to the Redis JSON.MGET command, which accepts keys first and path last.

The implementation of the jsonMget() method used to follow the Redis order, despite its own declaration. That is, the path had to be last, even though it should be first.

This is now fixed. All users of this method have to check and fix the call sites.

Current version

Migration Guide 3.17

Next version in main

Migration Guide 3.18

Clone this wiki locally