Slow right-clicks are almost always caused by shell extensions something else has installed, not Opus or your Opus configuration. Opus-configured scripts in right-click menus won't be run until they're selected in the menu, so the menu opening slowly won't be caused by them.
Recent versions of Opus added support for some new types of Windows 11 and Microsoft Store-delivered context menus, which has revealed some new ones with problems which didn't affect things before. iCloud being the main one (when right-clicking on OneDrive files, for some reason), but that's blocked by default in 12.31.
If you have 12.31 installed, you can block the entire class of shell extension by going to Preferences / Miscellaneous / Advanced [Troubleshooting], double-clicking the ignore_context_menus setting, and adding a line with just *
on it to that. That will make current versions of Opus completely ignore that type of shell extension like old versions did.
Better would be to work out which extension is causing the problem and only block that one, when you have time. See here for how to track it down: Crash, exit or high CPU when right-clicking certain files
I'd be surprised if that is version-related. See here for how to troubleshoot that kind of issue: Crash, exit or high CPU when viewing certain directories
I'd also be surprised if that was version related. More likely another tool getting involved, such as antivirus or clipboard monitors (drag & drop and the clipboard use related APIs), if it was working before and the other software also hasn't changed.
Hard to say without more detail but we generally go out of our way to avoid changing how scripting objects/events behave & haven't had any similar reports.