mirror of https://github.com/nymea/nymea.git
bump version
parent
5808da8f86
commit
87595faf6d
|
|
@ -6,7 +6,7 @@ NYMEA_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/
|
|||
|
||||
# define protocol versions
|
||||
JSON_PROTOCOL_VERSION_MAJOR=1
|
||||
JSON_PROTOCOL_VERSION_MINOR=14
|
||||
JSON_PROTOCOL_VERSION_MINOR=15
|
||||
REST_API_VERSION=1
|
||||
|
||||
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
1.14
|
||||
1.15
|
||||
{
|
||||
"methods": {
|
||||
"Actions.ExecuteAction": {
|
||||
|
|
@ -1008,6 +1008,15 @@
|
|||
"deviceId": "Uuid"
|
||||
}
|
||||
},
|
||||
"Devices.PluginConfigurationChanged": {
|
||||
"description": "Emitted whenever a plugin's configuration is changed.",
|
||||
"params": {
|
||||
"configuration": [
|
||||
"$ref:Param"
|
||||
],
|
||||
"pluginId": "Uuid"
|
||||
}
|
||||
},
|
||||
"Devices.StateChanged": {
|
||||
"description": "Emitted whenever a State of a device changes.",
|
||||
"params": {
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ void TestVersioning::apiChangeBumpsVersion()
|
|||
p.waitForFinished();
|
||||
QByteArray apiDiff = p.readAll();
|
||||
|
||||
qDebug() << "API Differences:" << endl << qUtf8Printable(apiDiff);
|
||||
qCDebug(dcTests()) << "API Differences:" << endl << qUtf8Printable(apiDiff);
|
||||
|
||||
if (oldVersion == newVersionStripped && oldApi != newApi) {
|
||||
QVERIFY2(false, "JSONRPC API has changed but version is still the same. You need to bump the API version.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue