This means it is no longer possible to simply clone the repo into a web directory and run Vanilla. In developer parlance, the source code and the runtime code have diverged. Now to build Vanilla's runtime code, you must install Composer. This is only necessary if you are running a non-official version directly from GitHub - the releases on this site will continue to work normally because we will be pre-building those for you (using Phing, if you're interested).
As Vanilla's frontend becomes more complex it began to use frontend dependencies through
bower, then through
Recently a change was merged to
master that removed the compiled/pre-build frontend assets from git. Instead they must be built after cloning the repo. This build has been added as post-install step for composer, so assuming you have the right dependencies, a
composer install is all that you should need to get it working.
Building Vanilla's frontend has additional dependencies beyond PHP and composer. See our build tooling documentation for details.
The affect of these changes will depend on how you install Vanilla.
I use the pre-built version of Vanilla
I use Vanilla cloned from the github repo
See our build tooling documentation for details. The dependencies here are required. Once they are installed running
composer install will ensure that all frontend dependencies are also installed and that all frontend assets are built.
2.7 release branch has forked and we've started using it on cloud. I expect the open source official release will be along shortly. The marquee feature is a brand new text editor with a new interface designed from the ground up. It's available as an addon, so you can move to it when you're ready, regardless of when you upgrade core. I should also note that file uploads in it are currently restricted to images, so you may not be quite ready to switch if your site does a lot of file swapping via comments.
Full release notes will accompany the actual release.
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
Vanilla 2.6 is now available. It requires PHP 7.0 or higher. This release brings a number of great enhancements to Vanilla, most notably the new "Category Following" feature that lets you filter the Recent Discussions page to only show discussions from select categories.
If you are not ready to upgrade to Vanilla 2.6 today, please install Vanilla 2.5.2 immediately (also released today). It maintains PHP 5.6 compatibility and provides important security updates to Vanilla 2.5.1 and lower.
plugins/HtmLawed. They are now part of core and may conflict.
/cachefolder after upgrading, and again if you experience issues after the upgrade.
Upgrading from Vanilla 2.3 or earlier, note this additional step: Manually delete
/applications/vanilla/controllers/class.settingscontroller.php, then clear the
Category Following adds a menu to several pages. Therefore, it is OFF by default after upgrading. Please test your theme for compatibility before during it on in production. To turn it on, go to Dashboard -> Settings -> Categories and click the small control panel icon (next to the "Add Category" button). In the popup, toggle the feature 'ON' and click 'Save'.
IF YOU NEED ASSISTANCE, START A NEW DISCUSSION. If you are a developer and locate a reproducible issue, please file it on our GitHub tracker, noting your version as 2.6. We greatly appreciate the assistance.
Thanks you everyone who contributed to Vanilla since the 2.5 release whether that was thru filing issues, submitting patches, participating in our HackerOne campaign, or helping folks on this forum. @R_J and @tflight contributed patches to 2.6.
Please upgrade to 2.6 as soon as possible!