[solved] How to find the needed extension version for a specific xwiki version?

Hi,

I’m installing XWiki locally and noticed that the LDAP authenticator extension was missing. While investigating, I saw that XWiki 17.4.3 uses LDAP Authenticator version 9.16.0, and XWiki 17.4.7 uses version 9.16.1. However, I couldn’t find any documentation that clearly maps XWiki core versions to the corresponding LDAP Authenticator extension versions.

Any help would be appreciated!
With best regards
Hisham

Yes, it’s an optional extension (like most authenticators).

Where did you saw that ?

That’s because there is no need for one. The last version of the LDAP authenticator should work on any XWiki version.

In the extension manager. If i remember correctly, the error was something like: “This version is not supported for this xwiki version …”

That is really good to know.

Thank you for your fast responds.

I am sorry to bother you again, but is this the case for any extension that does not explicitly mention a needed version for XWiki?
To give an example: My assumption is that the latest CKEditor version works for all older versions while the latest version of the LimitsApplication only works for xwiki versions >= 8.4 (as stated on the page).

I don’t think any extension exist that support all versions of XWiki that ever existed. AFAIK, no active extension supports anything older than XWiki 8.4, for example.

This extension is lacking a bit some compatibility documentation. But if you go to the bottom of the page, you will see its dependencies and among then you can find org.xwiki.platform:xwiki-platform-ckeditor-ui 14.10.20. Except for very rare cases, you can expect the version associated to a org.xwiki.(commons|rendering|platform):xwiki-(commons|rendering|platform)-* dependency to be the minimum XWiki version requirement and the extension to work on anything more recent (unless there is some regression). So here the minimum requirement for the Jira extension is XWiki 14.10.20.

According to https://extensions.xwiki.org/xwiki/bin/view/Extension/Limits%20Application#HDependencies, the minimum requirement is 17.4.7.

You can always trust the dependencies section (that’s ultimately what will be used by Extension Manager to decide if the extension is compatible or not), while the release notes (and other pure documentation section) can definitely vary in terms of quality (since they are written by many different extension authors) and might be missing information like requirement upgrades (which is wrong IMO, but not easy to enforce it).

1 Like

That helped!
Thank you for the detailed explanation.