Page 1 of 1

Stupid question

Posted: Wed Nov 13, 2013 3:10 pm
by gnarlyhogie
I was looking at the love2d documentation since I've never used it before, and I noticed that some of the methods have a +8.0 and a -9.0 for example. Does that mean it was introduced in 8.0, but it will be deprecated in 9.0? Just curious, because I'm not a fan of using deprecated methods, and much rather plan ahead for my projects.

Re: Stupid question

Posted: Wed Nov 13, 2013 3:14 pm
by Roland_Yonaba
+0.8.0
Available since LÖVE 0.8.0
This ... is not supported in earlier versions.
-0.9.0
Removed in LÖVE 0.9.0
This ... is not supported in that and later versions.
Pretty much explicit. :ultraglee:

Re: Stupid question

Posted: Wed Nov 13, 2013 3:16 pm
by gnarlyhogie
Just double checking, I wasn't sure so I didn't want to assume. Thanks!

Re: Stupid question

Posted: Thu Nov 14, 2013 9:03 am
by bartbes
Do note that a lot of 0.9.0 changes are renames, so the function itself isn't necessarily deprecated, but its name is, if that makes sense.

Re: Stupid question

Posted: Thu Nov 14, 2013 9:26 am
by slime
In those cases I've tried to make the text in the 'removed' notice reflect the fact that it's been renamed (i.e. "It has been renamed to love.filesystem.createDirectory." instead of "This function is not supported in that and later versions."), but I might have missed a few.