From 87595faf6d70c79b5cf5a7b9b7ba7d59eb4d962b Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 27 Mar 2019 14:10:27 +0100 Subject: [PATCH] bump version --- nymea.pri | 2 +- tests/auto/api.json | 11 ++++++++++- tests/auto/versioning/testversioning.cpp | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/nymea.pri b/nymea.pri index c80a1770..bb18123e 100644 --- a/nymea.pri +++ b/nymea.pri @@ -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}\\\" \ diff --git a/tests/auto/api.json b/tests/auto/api.json index ec176e34..09637c65 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -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": { diff --git a/tests/auto/versioning/testversioning.cpp b/tests/auto/versioning/testversioning.cpp index 0a0b0ec9..3f96eab1 100644 --- a/tests/auto/versioning/testversioning.cpp +++ b/tests/auto/versioning/testversioning.cpp @@ -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.");