Skip to content

[NEW] The great un-deprecation #2459

@stockholmux

Description

@stockholmux

The problem/use-case that the feature addresses

There are 25 commands that are deprecated in Valkey today. The approach to the API for the Valkey project has somewhat diverged from the project it forked from. Valkey has a strong commitment to not break existing code by removing deprecated commands.

Consequently, for most of these deprecated commands they remain fully supported and functional in Valkey and will remain so. For these commands, the deprecation designation has little value and is just a point of confusion.

Description of the feature

I would like to un-deprecate the following commands:

  • QUIT
  • GEORADIUS
  • GEORADIUSBYMEMBER
  • GEORADIUSBYMEMBER_RO
  • GEORADIUS_RO
  • HMSET
  • BRPOPLPUSH
  • RPOPLPUSH
  • SLOWLOG
  • SLOWLOG GET
  • SLOWLOG HELP
  • SLOWLOG LEN
  • SLOWLOG RESET
  • ZRANGEBYLEX
  • ZRANGEBYSCORE
  • ZREVRANGE
  • ZREVRANGEBYLEX
  • ZREVRANGEBYSCORE
  • GETSET
  • PSETEX
  • SETEX
  • SETNX
  • SUBSTR

Since many of these commands have functionality that can be achieved by another command with an argument, the documentation would state that it's "Similar to" instead of "Deprecation advice".

Additionally, it might be worth writing up the API philosophy for Valkey as a guiding document.

Alternatives you've considered

Do nothing.

Additional information

n/a

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions