As many of of you might have noted, the 2.8 release is around the corner. https://open.vanillaforums.com/discussion/36959/more-changes-in-vanilla-2-8-coming-feb-6#latest
There are a few things I'd like to note for addon developers in this release.
Note on new classes
We've added quite a few new subsystems that are not fully ready for public consumption. I'm trying to mark them with the
@internal annotation, but I may not get all of them. With that in mind:
Don't use new undocumented classes, especially ones with the
@internal annotation, unless you are ready and prepared to update them in the next release. We are actively iterating on these new parts of the framework, and some may have their public APIs, and classnames adjusted in the next release.
A few examples of of classes or namespaces like this.
When these new pieces are completed we will document them publicly, deprecate old alternatives, and provide a clear path forward. Thank you for your understanding.
Hi all! I use yaga successfully with my forum but i want to know if you have original rules for badges attribution? Maybe you could share with us some good ideas...
Instead use the longer form
Something which might not been known, but has been said long before: avoiding
val() is a good idea, too. Not because it will be deprecated (soon :shrug:), but simply because it is not needed oftentimes. If you now the type of the variable simply use the correct code to get the arrays element/objects property. Right now
val() is purged out of Vanilla from all the places where it is possible:
By the way: I don't know such things because someone tells me, I simply follow what's going on on the GitHub repo. If you want to stay up to date, I recommend watching the repo