Prosody recommended version is 0.12.x.

This commit is contained in:
John Livingston 2023-05-31 16:34:27 +02:00
parent 46cd201724
commit dbf43ae016
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Changelog
## 6.4.0-alpha.5
## 6.4.0 (Not Released Yet)
### Importante Notes
@ -8,6 +8,10 @@ If you enabled external XMPP connection with plugin v6.3.0,
and are not using the standard 5269 port, you must add and additional DNS SRV record.
Check the [documentation](https://johnxlivingston.github.io/peertube-plugin-livechat/documentation/admin/advanced/xmpp_clients/).
If you are using ["system Prosody"](https://johnxlivingston.github.io/peertube-plugin-livechat/documentation/admin/settings/#use-system-prosody),
please not that this version will only properly work with Prosody >= 0.12.0.
If you are using an older version, Chat Federation could be broken, and it could have some unexpected behaviour.
### New Features
* Chat Federation:
@ -31,6 +35,7 @@ TODO?: allow directs2s on one side and websocket on the other? (currently disall
* Prosody AppImage: hidden debug mode to disable lua-unbound, that seems broken in some docker dev environments.
* Debug Mode: can change some parameters.
* Fix use case where self-signed certificates are missing.
* Prosody recommended version is now 0.12.x.
## 6.3.0

View File

@ -146,10 +146,10 @@ export async function diagProsody (test: string, options: RegisterServerOptions)
const minor = versionMatches[2]
const patch = versionMatches[3] ?? versionMatches[4]
result.messages.push(`Prosody version is ${major}.${minor}.${patch}`)
if (major !== '0' && minor !== '11') {
if (major !== '0' && minor !== '12') {
result.messages.push({
level: parseInt(minor) < 11 ? 'error' : 'warning',
message: 'Warning: recommended Prosody version is 0.11.x'
level: parseInt(minor) < 12 ? 'error' : 'warning',
message: 'Warning: recommended Prosody version is 0.12.x'
})
}
}