diff --git a/nymea.pro b/nymea.pro index 81a8c41a..99d2d228 100644 --- a/nymea.pro +++ b/nymea.pro @@ -5,10 +5,10 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p" # define protocol versions JSON_PROTOCOL_VERSION_MAJOR=4 -JSON_PROTOCOL_VERSION_MINOR=1 +JSON_PROTOCOL_VERSION_MINOR=2 JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}" LIBNYMEA_API_VERSION_MAJOR=4 -LIBNYMEA_API_VERSION_MINOR=0 +LIBNYMEA_API_VERSION_MINOR=1 LIBNYMEA_API_VERSION_PATCH=0 LIBNYMEA_API_VERSION="$${LIBNYMEA_API_VERSION_MAJOR}.$${LIBNYMEA_API_VERSION_MINOR}.$${LIBNYMEA_API_VERSION_PATCH}" diff --git a/tests/auto/api.json b/tests/auto/api.json index 2fa78ed2..3a27e9b5 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -4.1 +4.2 { "enums": { "BasicType": [ @@ -288,7 +288,10 @@ "UnitVoltAmpereReactive", "UnitAmpereHour", "UnitMicroSiemensPerCentimeter", - "UnitDuration" + "UnitDuration", + "UnitNewton", + "UnitNewtonMeter", + "UnitRpm" ], "UserError": [ "UserErrorNoError",