There are a few issues on deprecated commands (#304, #260, #290) and we've not done a good job about describing how deprecation works in Valkey broadly (functionally command deprecation means there is a better command to use in place of the deprecated command) or specifically (which command to use instead).
These alternatives should show up both in the command reference list (https://valkey.io/commands/) and on the individual command pages (https://valkey.io/commands/getset/).