XF 2.4 XenForo 2.4 status and what's new under the hood?

Where are we?​

XenForo Community PSD Edit (1).webp
TL;DR: We're working hard to release XenForo 2.4 ASAP, but it's taking longer than expected due to scope changes and strategic decisions to wait for certain upstream developments that will benefit the long-term roadmap. Here's an analogy to explain why:

Software development is like planning a cross-country expedition with multiple destinations.

When you set out for version 2.4, you're not just driving to the next town over. You're charting a course through unknown territory with several strategic stops planned along the way - each representing a major milestone or feature release.

But the challenge is the landscape keeps changing along the journey.
  • New roads open up (better technologies emerge)
  • Bridges get washed out (dependencies break or become obsolete)
  • You discover scenic routes that would benefit all future travellers (opportunities for architectural improvements)
  • Weather conditions shift (market demands or user needs evolve)
  • Your vehicle needs unexpected maintenance (technical debt must be addressed)
You can't just focus on reaching the immediate next stop. You must consider how each decision affects the entire journey ahead. Taking a shortcut to reach 2.4 faster might leave you stranded when trying to reach 3.0, 4.0 or even 5.0.

This is why scope changes occur: experienced developers are constantly recalibrating the route based on new information, ensuring the expedition can successfully reach not just the next destination, but all the strategic waypoints that follow.

The delays aren't detours, rather they're course corrections that keep the long-term journey viable.

To be slightly less cryptic, these are some of the specific challenges we have faced along the way:

A new Tiptap version is coming​

When we announced that Tiptap is coming to XenForo 2.4 it was 95% complete, and we then took a bit of a pause to work on other projects, which we have talked about since and will be discussing in this thread. Since then, Tiptap have announced Tiptap V3 which is currently in beta. Given how core the editor is to the forum experience, it makes a lot of sense to ship XenForo 2.4 with Tiptap V3 rather than Tiptap V2 as originally planned. While the changes involved are not too extensive, we also don't want to ship 2.4 with a dependency that is still in beta and subject to change. While we are not planning to wait for Tiptap V3 to be stable, necessarily, we do at least want to give it a little bit more time so we have a higher degree of confidence that we're shipping a stable editing experience.

We started talking about a rewrite (again)​

While this is not currently the direction we've decided to go in, it's responsible for us to at least consider all routes available to us to help us reach our destination.

1749736697928.webp


After nearly 8 years since the release of XenForo 2.0, many of the technologies we use are showing their age, many of the decisions we made have started to slow us down more than we would like, and as a framework, XenForo becomes a less productive framework to work with. The solution to this problem can be to start from scratch, but we have ultimately decided that this is not something we need to do at this stage.

Instead, over the next few versions, including 2.4, we will be attempting to make iterative architectural changes to the framework so that we all have greater tools at our disposal to improve both the developer and user experience, particularly focusing on the implementation of developer tools and features that have become commonplace in other frameworks, such as Laravel.

Some of our best features are simply not finished​

There are one or two features that we see requested consistently from customers in our community forums and feedback channels, and we're excited to confirm they are coming in 2.4! However, it serves no one well if we release such highly-anticipated features before they are ready and before they have the usual level of quality, polish, and extensibility you would expect from a XenForo release. We'd rather take the extra time to get them right than rush them out and disappoint users with a subpar implementation that requires immediate patches or lacks the flexibility for customisation. We'll be sharing exciting details about what these features are and how they work in the coming weeks, so stay tuned!

We can't keep up!​

I just counted and there are about 15 features that have been merged or are pending to be merged into XF 2.4 that we haven't announced yet. Some of these are smaller and aren't worthy of a dedicated HYS of their own (so they'll probably be rolled into a "miscellaneous" HYS or two), and some of these are going to be mentioned below, but while we have been "cooking" (as the kids say these days) it has meant that things like code reviews, and writing HYS posts hasn't been easy to balance. There is also potentially more stuff coming from generous contributions from esteemed developers such as @Xon and @digitalpoint, assuming we have time to implement (otherwise they will wait for... a future version).


With all of that now being said, while 2.4 is taking longer than we wanted, we have been busy and we are very much nearing the end of development.

And, while disappointing (to all of us) it is important to maintain perspective. XenForo 2.2 was released in September 2020. XenForo 2.3 was released nearly four years later. XenForo 2.4 is not 3 more years away.

But, you clicked this to find out what's new, right? So let's go.
 
Last edited:
but it's taking longer than expected

2.3 released, shortly after 2.4 announced, then 3.0 announced, then new editor announced.
still no 2.4
now another 2.4 delay - plans are to use tiptap 3 beta in 2.4
it really feels weird now.

quicker release cycles, regardless of their scope, make forum owners happier and make xenforo inc more money (more renewals).

regardless, i cant wait for the new editor.
 
Firstly, that's the wrong timeline.

The plan is to avoid as best as possible, using Tiptap 3 beta, hence the delay to that work, though as the beta matures (and is tested live through our own beta process) that becomes more viable.

Please elaborate why that is "weird".
 
Oh a XenForo REPL now that's nice.


We started talking about a rewrite (again)​

While this is not currently the direction we've decided to go in, it's responsible for us to at least consider all routes available to us to help us reach our destination.

1749736697928.webp
Also this is me, on everything I work on. I am both of the beavers.
 
Oh, look, another "some people are never happy" thread :rolleyes:

Thanks for the update, looking forward to the eventual release and those "mysterious" unannounced features 💓
Apologies this thread doesn’t make me as excited as you, maybe I lack the fundamental knowledge to really understand what this is about. But my right to complain is as much valid as yours to be happy. I’m a customer, just like you. And I can complain, as much as I want. There’s things I love about XF, there’s things I dislike.

One thread that communicates the state of XF doesn’t make it right for the lack the last few months. It’s a good step in the right direction, for sure! But let’s hope it doesn’t go radio silent again. :)
 
To be able to install or upgrade to XenForo 2.4, you will need to ensure that PDO is available with the mysql driver in your hosting environment.

There are also some quality of life improvements included in PDO such as named parameter binding, for example:
FYI, PDO uses "emulated prepares" by default and not native database prepared statements
 
I’ve stepped away from my desk but I think we have emulated prepares switched off for the MySqlAdapter class.

EDIT: oh apparently not but we certainly could do
 
It's not necessarily about that.
Release 2.4 with TipTap v2: "Upgrade to TipTap v3" is the top upvoted suggestion in the past 30 days immediately upon release
Release 2.4.1 with TipTap v3: "Omg I have to rewrite my editor addon a second time in 30 days, you suck"
Release 2.4 with TipTap v3 Beta: "Today we're releasing v2.4.0 Patch Level 33 with yet another fix for TipTap. For those who come after."
Release 2.4 later with TipTap v3 RC: "It's been 84 years..."

Me find win condition? That's unpossible!
 
I just realised I missed something moderately important in my discussion about the query builder which is that we have written a PhpStorm plugin (in Kotlin 😳) in order to provide completions for table and column names while using the query builder:



It uses the PhpStom built-in database connection under the hood. It works pretty well. This will be released and open sourced in due course. I hope some of you out there are better at Kotlin and PhpStorm plugins than us as we will be hugely appreciative for pull requests to fix issues and implement improvements.
 
(1) Release 2.4 with TipTap v2: "Upgrade to TipTap v3" is the top upvoted suggestion in the past 30 days immediately upon release
(2) Release 2.4.1 with TipTap v3: "Omg I have to rewrite my editor addon a second time in 30 days, you suck"
(3) Release 2.4 with TipTap v3 Beta: "Today we're releasing v2.4.0 Patch Level 33 with yet another fix for TipTap. For those who come after."
(4)Release 2.4 later with TipTap v3 RC: "It's been 84 years..."

Well (1) was the plan, and TT3 doesn't have game changing features that will help Xenforo 2.4
 
Well (1) was the plan, and TT3 doesn't have game changing features that will help Xenforo 2.4

I already said, it's not only about that.

You do understand that software evolves and that evolution does not only include features, but it also consists of stability, performance and security?

You also understand that as software evolves, it sometimes introduces changes that are not compatible with previous versions?

It is pragmatic to ensure we're delivering the most stable, highest quality and most performant solution we possibly can right from the beginning, instead of "making do" in order to release a few months earlier and deliver something that isn't as good as it should be, or requires significant re-engineering and breaking changes down the line.

I get it, everyone is impatient. We're keen to get XenForo 2.4 released as soon as possible. After all, there are even still people, such as yourself, who are still running XF1. I'm certain you're keen to move to XenForo 2.4 as soon as it is available.
 
I am excited that we go some communication with what's going on, but at the same time there is still no release date, so I am stuck with a feeling of "I will believe it when I see it". So, it kind of kills my excitement since we have heard this all before. Sorry for being a downer, but it feels like we will always be waiting for the next best thing to come out. With the fast pace of changing tech/code, you almost have to approach it will smaller releases, rather than large releases, because in the meantime everything has already changed and your large release is no longer relevant. Anyways thanks for keeping us updated. :)
 
Back
Top Bottom