Versioning & Release Practices
Version Names
- LTS Release (a.k.a Cycle LTS): This is the most stable version and is what we recommend to use in production.
- Intermediate LTS Release: The difference between the current Cycle Intermediate LTS and the previous Cycle LTS is that the Intermediate LTS allows users in production to use the newest features of XWiki. It’s super stable but the newest features will have less time to mature than what you’d find if you waited for the current Cycle LTS, at the end of the year.
- If some of the new features present in the Intermediate LTS are important for you, we recommend that you upgrade to it.
- If you’re starting with a new installation of XWiki (i.e. you’re not upgrading), we also recommend that you start with it, as it contains the latest and best features.
- If upgrading XWiki is hard for you (e.g. lots of customizations) and the new features are not of a particular interest, then we recommend that you stay on your current LTS and wait till the next LTS (at end of year).
- Stable Release: This is the version recommended if you wish to try out the latest features from the current Cycle. It's possible to use those in production .
- Unstable Release: This is the version to use if you want to test the really latest feature and provide feedback to the XWiki development team and help us stabilize the version. We don't recommend that you use these in production.
Version Types
Format: Major.Minor.Bugfix[-rc-number|-SNAPSHOT]. The Bugfix part is always written, even when it is 0.
XWiki <16.0.0 The Bugfix part used to be indicated only when not 0.
| Type | Example | What it is |
|---|---|---|
| Major (a.k.a. Release Cycle) | 17.x | Starts a new Release Cycle. Can contain non-backward compatible changes compared with the previous Cycle. |
| Minor | 17.4.0 | Mostly backward compatible from the user perspective. Can introduce new features, and from time to time non-backward compatible API changes, following our deprecation strategy. Check the Release Notes for them. We recommend following minor releases: upgrading regularly is much easier than one large upgrade spanning several minors. |
| Bugfix | 17.4.2 | Only bug fixes, 100% backward compatible. Always upgrade as soon as possible, since bug fixes can contain security fixes. |
| LTS | 16.10.2+ | A Cycle LTS: the bugfix releases of the last minor of a Cycle (N.10), starting at N.10.2. See Release Cycles and Release Strategy. |
| Intermediate LTS | 17.4.2+ | The bugfix releases of the N.4 minor, starting at N.4.2. |
| Release Candidate (RC) | 16.0.0-rc-1 | A candidate for a Minor release: we consider it releasable but want a last round of testing from the community before the final release. We usually have 1 RC per Minor. |
| Snapshot | 16.0.0-SNAPSHOT | Built by our Continuous Integration at every commit (also published as timestamped versions such as x.y.z-20110131.125707-122). Don't use them in production. They are useful to check a bug fix or try a new feature and give us feedback, which we always welcome. You can also build your own version from the source. |
Release Cycles and Release Strategy

The Cycle
A Release Cycle is all the releases of a major version N: 11 minor releases, N.0 to N.10, one per month from January to November.
| When | Release | What happens |
|---|---|---|
| January to November | N.0 to N.10 | One minor release per month: 3 weeks of development until the RC, then 1 week until the final release. |
| End of May | N.4.0 | An Intermediate LTS branch is created and stabilized in June with 2 bugfix releases: N.4.1 and N.4.2. Work for N.5.0 continues in parallel, with a roadmap adjusted to the reduced time. |
| End of November | N.10.0 | A Cycle LTS branch is created and stabilized in December with 2 bugfix releases: N.10.1 and N.10.2. N.10.2 can slip to the first days of January because of the end-of-year holidays, but no later than January 3. |
| After N.10.2 | N+1.0 | Work for the next Cycle starts. |
The LTS stabilization releases contain mostly bug fixes.
What to do when a N.4.2 or N.10.2 version is released
Announce it:
- Post in the "Help / Discuss" category of the forum that the Intermediate LTS or Cycle LTS is ready, and encourage users to start using it.
- Cycle LTS only: explain the major features implemented during the Cycle (make special Release Notes for the Cycle).
- Make sure that N.4.2 and N.10.2 are announced as LTS in the blog post for their release.
- Update the versions page to list the new LTS.
Update the distribution channels:
- Debian repositories, by editing the scan_packages.sh script and pulling it on maven.xwiki.org:
- Intermediate LTS: point the lts-latest repository to N.4.
- Cycle LTS: point the lts-latest and lts repositories to N.10.
- The official Docker XWiki image:
- Intermediate LTS: move the lts-latest tags from the previous LTS version to N.4.2.
- Cycle LTS:
- Point both the lts-latest and lts tags to N.10.2, removing lts-latest from N.4.2+ and lts from the previous LTS version.
- Keep the stable tags on the new LTS version, and keep the previous LTS version definitions, until we release N+1.0.
Cycle LTS only:
- Keep the previous Cycle LTS and Intermediate LTS branches until Manual QA validates a N.10.x version, then do their last release and drop them (see Branch Lifecycle).
- Create a JIRA task for adding an automatic upgrade test from the new LTS (in xwiki-platform-distribution-flavor-test-upgrade).
- Create a blog post highlighting the Cycle release notes, using Highlights for the 15.x cycle as template.
Why We Release This Way
Major releases:
- Mark progress to the outside world, which helps open source marketing.
- Are a milestone in the project's life, and make us developers proud of our achievements.
- Are a good time to step back and think about what the XWiki project is and where it wants to go.
Monthly releases:
- Stabilize our CI builds faster: shorter releases mean fewer changes, so less stabilization.
- Get changes, and especially bug fixes, to our users faster. Users don't have to upgrade as fast: they can skip versions.
- Get feedback from users faster: users only test final versions, not RCs, so more final releases surface problems sooner. Our upgrade tools (the Distribution Wizard) make upgrading simpler than before.
- Get closer to cloud needs, where improvements and fixes are delivered as fast as possible (we used to release minor versions every 3 months).
- More marketing for the project, since other sites relay the news of each final release.
Supported Branches
Stable branches, named stable-<version>.x (e.g. stable-17.10.x), are bugfix branches for past releases. This section says which ones we support, for how long, what goes in them and when we release them. Other pages rely on it: the Security Policy (fix deadlines on all supported branches), the Manual Test Strategy (testing priorities per branch) and, for users, the Support page.
Supported LTS Versions
- We support 1 LTS per Cycle, and at most 2 LTS in parallel, except between N.10.2 and the Manual QA validation of the new Cycle LTS, when we support 3 (see Branch Lifecycle).
- The Intermediate LTS doesn't replace the previous Cycle LTS, since they're on different Cycles. So around the middle of the year the Download page lists both: the previous Cycle LTS and the new Intermediate LTS.
- Once the Cycle LTS is released, it replaces the Intermediate LTS of the same Cycle.
Branch Lifecycle
- A new LTS branch is created at N.4.0 (Intermediate LTS, end of May) and N.10.0 (Cycle LTS, end of November), then stabilized with 2 bugfix releases (see The Cycle). It becomes an LTS with N.4.2 or N.10.2.
- When N.10.2 is released, we keep the previous Cycle LTS (N-1.10.x) and the Intermediate LTS (N.4.x) branches until Manual QA has validated the new Cycle LTS, so that users waiting for that validation still get important fixes. Backport to them only very important fixes: blocker issues, and some critical ones.
- The signal to drop them is the first N.10.x version that Manual QA validates, whichever bugfix version it is. Manual QA announces it on the #xwiki Matrix chat (see Manual QA Validation).
- We then do one last release of each of these 2 branches, and drop them.
- Branches older than the supported ones aren't maintained, except as Special Committer Versions.
What to Backport
- Supported branches are bugfix branches: backport only bugs.
- Blocker bugs must be backported. This includes the important security issues, which are Blocker bugs per the Security Policy.
- Bugs with a lower priority may be backported, at the developers' discretion.
- Any other change (improvement, dependency upgrade, etc.) needs a forum proposal or vote first, so that stability concerns are addressed and the other developers agree. This matters especially when a feature started in the Cycle isn't finished or usable enough once N.10.0 is released. No proposal or vote is needed for:
- a dependency upgrade that doesn't go in the distribution (test or build dependency);
- an upgrade needed to fix a bug being backported;
- a database connector (JDBC driver) upgrade;
- the development tooling changes and the runtime dependency upgrades they bring, below.
- Changes to the development tooling (the build: POMs, Maven plugins and the checks they run; the test frameworks; the quality checks) are backported to the supported LTS branches, so that every branch builds, tests and checks the code the same way. A backported check must pass on the branch, so the backport also fixes what the check reports there. Skip a branch only when the change needs something it doesn't have (e.g. a newer Java version or API).
- When a tooling backport brings runtime dependency upgrades with it (e.g. a Selenium upgrade pulling a newer Apache Commons), only upgrades known to be safe are allowed. Whether an upgrade is safe is the committer's judgement for that library. As a hint, a bugfix or minor upgrade of a library that follows semantic versioning is usually safe, a major upgrade usually isn't. When in doubt, ask on the forum or the chat.
Bugfix Releases
Bugfix branches have no Roadmap: we release them when a critical bug is found, when people ask for it, or when there are enough fixes.
- On an LTS branch:
- N.4.1 / N.4.2 and N.10.1 / N.10.2: one every 2 weeks, see above.
- After that: release regularly, without too much time between 2 releases. The committers review the fixed issues and decide when to release.
- We can release as soon as blocker issues are fixed, even if other important issues (including other blocker issues) are still open. The goal is an LTS as stable as possible, as quickly as possible.
- On other branches: the committers decide, depending for example on how close the next minor release is.
Special Committer Versions
- Any core committers could decide to maintain any XWiki branch for some time, in order to backport bug fixes.
- The core committer wanting to perform a release of that branch must send a VOTE for each such release they want to do. This is the way for other committers to provide an oversight, and have a say about it. That part is important since an official release means an impact for the whole project. For ex imagine that the content is of not good enough quality, or other problems.
- These releases are done following the standard release process of the XWiki product.
- If the released branch is older than the last cycle LTS, then the releases should not be advertised (no mention on the download page, no wikipedia/wikimatrix updates, no mastodon post). That’s because we don’t want to promote old releases, as we want our users to use the latest versions and upgrade more often.
- Since this is following the standard release process, as any normal release, this means that these releases are included in the security advisories (if there are security issues fixed in it).
- In addition, if the release is done within the original embargo period of the other official branches, then a new embargo date is computed (within the limit that the new embargo period can never be more than twice the original embargo period. To protect against public disclosures that would arrive too late).
Release quality
All releases are as stable as possible. Our Continuous Integration keeps XWiki stable at almost any point: even snapshot builds, although not as thoroughly tested or polished as official releases, are stable most of the time. The short time dedicated to each version also prevents major code changes during development, so most of the code behaves like in the previous release.
Bugfix releases rarely fix critical bugs of their minor release: they usually backport bugs fixed for the next release. These bugs aren't blockers, just things to iron out, so rather than waiting for the x.y.z release, try the latest minor release: it's almost as stable, with even more bugs fixed and some new features.
Releases and SCM
We use Git with these rules:
- master holds our latest work, i.e. the next release (see the Roadmap).
- Stable branches, named stable-<version>.x (e.g. stable-17.10.x), are bugfix branches for past releases: see Supported Branches for which ones we support, what goes in them and when we release them.
- Every release is tagged (e.g. xwiki-commons-17.10.2 in the XWiki Commons repository).
- Developers can create feature branches for experimental work that isn't ready for master, then merge them into master when ready and delete them.