When you try to use version() in the script editor, it has a blue line underneath it and a hover-over hint that says it is deprecated. On the Developer Hub, it does not say that it is deprecated. One or the other should be changed.
It shouldn’t be deprecated, so I didn’t mark it as such. You can trick the intellisense into ignoring the warning by using getfenv().version() instead.