Function version() is deprecated in Intellisense but not deprecated on the Hub

https://www.robloxdev.com/articles/Built-in-Functions-and-Variables/Roblox

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.

image
image

lol try wrapping it in a print

Description: Returns the current version of Roblox as a string.

image
image

I’m not questioning the behavior of version(), I’m saying studio says it’s deprecated while the wiki says it isn’t

1 Like

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.

2 Likes

This still hasn’t been fixed. It’s worth noting this is the only reason I use getfenv and that this global carries a large penalty in the new VM.