Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3df5f8e
fix(python3): pin paho-mqtt version and fix deprecated API usage
zibuyu1995 Aug 12, 2026
776cab8
fix(faststream): bump pytest and pytest-asyncio to latest releases
zibuyu1995 Aug 12, 2026
defcf94
fix(flask): bump Flask to 3.1.3 and drop stale requirements_new.txt
zibuyu1995 Aug 12, 2026
aa94959
fix(django): upgrade Django to 6.0.8 and fix the publish endpoint
zibuyu1995 Aug 12, 2026
35ee1c2
fix(esp32): upgrade web backend dependencies and modernize app code
zibuyu1995 Aug 12, 2026
54b49b5
fix(node.js): bump mqtt to 5.15.2 and fix high-severity audit findings
zibuyu1995 Aug 12, 2026
2ee5a30
fix(javascript): bump mqtt to 5.15.2
zibuyu1995 Aug 12, 2026
e91c3cc
fix(electron): upgrade electron to 43.4.0 and fix preload sandbox bre…
zibuyu1995 Aug 12, 2026
3557557
fix(go): upgrade paho.mqtt.golang to v1.5.1 in all modules
zibuyu1995 Aug 12, 2026
ac39797
fixup! fix(node.js): bump mqtt to 5.15.2 and fix high-severity audit …
zibuyu1995 Aug 12, 2026
00ff2e2
fix(java): switch BouncyCastle to bcpkix-jdk18on 1.80
zibuyu1995 Aug 12, 2026
e5fdeeb
fix(springboot): upgrade Spring Boot to 4.0.7
zibuyu1995 Aug 12, 2026
6390631
fix(csharp): migrate from abandoned M2Mqtt to MQTTnet 4.3.7
zibuyu1995 Aug 12, 2026
5665136
fixup! fix(springboot): upgrade Spring Boot to 4.0.7
zibuyu1995 Aug 12, 2026
c231387
fix(csharp-mqttnet): upgrade to .NET 10 and MQTTnet 4.3.7, verify TLS…
zibuyu1995 Aug 12, 2026
2e3ba6f
fix(php): upgrade php-mqtt/client to v2.3 and drop stale backup manifest
zibuyu1995 Aug 12, 2026
5d69c40
fix(erlang/elixir): upgrade emqtt to 1.13.5
zibuyu1995 Aug 12, 2026
370bcc7
fix(c-paho): fix TLS example, add simple_test, use find_package, add …
zibuyu1995 Aug 12, 2026
880bdb8
fix(c-nng/qt): point examples at broker.emqx.io
zibuyu1995 Aug 12, 2026
cf0645b
fix(vue3): upgrade to Vite 5, mqtt 4.3.7, fix tsconfig for modern too…
zibuyu1995 Aug 12, 2026
684ce4a
fix(vue): upgrade mqtt to 4.3.7
zibuyu1995 Aug 12, 2026
0dc122f
fix(websocket): upgrade mqtt.js CDN to 5.15.2
zibuyu1995 Aug 12, 2026
1e5ec21
fix(angular14): upgrade dependencies and fix audit findings
zibuyu1995 Aug 12, 2026
c9ba524
fix(angular17): fix npm audit findings
zibuyu1995 Aug 12, 2026
b670d08
fix(android): upgrade AGP to 8.1, paho mqtt to 1.2.5, bouncycastle to…
zibuyu1995 Aug 12, 2026
c54e715
fix(android-kotlin): upgrade AGP to 8.1, Kotlin 1.9, bouncycastle to …
zibuyu1995 Aug 12, 2026
bf652df
fix(paho-mqtt-android-kotlin): upgrade AGP to 8.1, Kotlin 1.9, Gradle…
zibuyu1995 Aug 13, 2026
63c83ba
fix(flutter): upgrade AGP to 8.1, Kotlin 1.9, Gradle 8.3, mqtt_client…
zibuyu1995 Aug 13, 2026
98b3e16
fix(csharp-mqttnet-tls): fix cert loading with X509CertificateLoader …
zibuyu1995 Aug 13, 2026
8866828
chore(vue): update lock files
zibuyu1995 Aug 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions mqtt-client-Android-Kotlin/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ plugins {
}

android {
compileSdk 32
namespace 'io.emqx.mqtt'
compileSdk 34

defaultConfig {
applicationId "io.emqx.mqtt"
minSdk 21
targetSdk 32
targetSdk 34
versionCode 1
versionName "1.0"

Expand All @@ -29,19 +30,31 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/*.kotlin_module'
exclude 'META-INF/versions/9/OSGI-INF/MANIFEST.MF'
}
}

dependencies {

implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.59'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.80'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

}
6 changes: 3 additions & 3 deletions mqtt-client-Android-Kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
id 'com.android.application' version '8.1.4' apply false
id 'com.android.library' version '8.1.4' apply false
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
}

task clean(type: Delete) {
Expand Down
2 changes: 1 addition & 1 deletion mqtt-client-Android-Kotlin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.enableJetifier=true
android.enableJetifier=false
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Aug 15 09:48:05 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
39 changes: 26 additions & 13 deletions mqtt-client-Android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
buildToolsVersion "30.0.0"
namespace 'io.emqx.mqtt'
compileSdkVersion 34
buildToolsVersion "34.0.0"

defaultConfig {
applicationId "io.emqx.mqtt"
minSdkVersion 16
targetSdkVersion 29
minSdkVersion 21
targetSdkVersion 34
versionCode 1
versionName "1.0"

Expand All @@ -20,21 +21,33 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/*.kotlin_module'
exclude 'META-INF/versions/9/OSGI-INF/MANIFEST.MF'
}
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
implementation 'org.bouncycastle:bcpkix-jdk15on:1.59'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.80'

}
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,19 @@ private Publish getPublish() {
String message = mPayload.getText().toString();
int qos = 0;
int qosCheckedId = mQosRadioGroup.getCheckedRadioButtonId();
switch (qosCheckedId) {
case R.id.qos0:
qos = 0;
break;
case R.id.qos1:
qos = 1;
break;
case R.id.qos2:
qos = 2;
break;
if (qosCheckedId == R.id.qos0) {
qos = 0;
} else if (qosCheckedId == R.id.qos1) {
qos = 1;
} else if (qosCheckedId == R.id.qos2) {
qos = 2;
}
boolean retained = false;
int retainedCheckedId = mRetainedRadioGroup.getCheckedRadioButtonId();
switch (retainedCheckedId) {
case R.id.retained_true:
retained = true;
break;
case R.id.retained_false:
retained = false;
break;

if (retainedCheckedId == R.id.retained_true) {
retained = true;
} else if (retainedCheckedId == R.id.retained_false) {
retained = false;
}

return new Publish(topic, message, qos, retained);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,12 @@ private Subscription getSubscription() {
String topic = mTopic.getText().toString();
int qos = 0;
int qosCheckedId = mRadioGroup.getCheckedRadioButtonId();
switch (qosCheckedId) {
case R.id.qos0:
qos = 0;
break;
case R.id.qos1:
qos = 1;
break;
case R.id.qos2:
qos = 2;
break;
if (qosCheckedId == R.id.qos0) {
qos = 0;
} else if (qosCheckedId == R.id.qos1) {
qos = 1;
} else if (qosCheckedId == R.id.qos2) {
qos = 2;
}


Expand Down
2 changes: 1 addition & 1 deletion mqtt-client-Android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:8.1.4'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion mqtt-client-Android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ org.gradle.jvmargs=-Xmx2048m
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
android.enableJetifier=false
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
Loading