1043 Commits

Author SHA1 Message Date
Euripedes Rocha d88fee8fbe Merge branch 'feature/mqtt_return_code' into 'master'
MR: feat(mqtt): Provide the user with reason code for UNSUBACK, PUBREC, PUBCOMP
See merge request espressif/esp-mqtt!232
2026-04-28 15:19:46 +02:00
Bogdan Kolendovskyy f1fc00ca44 feat: Provide reason code in MQTT event 2026-04-28 13:47:02 +02:00
Euripedes Rocha 1d7c28d458 Merge branch 'fix-mqtt5-server-properties' into 'master'
MR: feat(mqtt5): Exposes server properties in connect event
Closes IDFGH-17315
See merge request espressif/esp-mqtt!304
2026-04-28 12:10:52 +02:00
Euripedes Rocha Filho e121e1b34b feat(mqtt5): Exposes server properties in connect event
ESP_MQTT_EVENT_CONNECTED exposes the server properties

Closes: #325
2026-04-28 11:06:09 +02:00
Euripedes Rocha 996177a46d Merge branch 'pr-320' into 'master'
MR: fix(mqtt5): remove in_buffer_length constraint on maximum_packet_size
Closes IDFGH-17162 and IDFGH-17158
See merge request espressif/esp-mqtt!305
2026-04-27 13:52:32 +02:00
Euripedes Rocha 619d69529e Merge branch 'pr-329' into 'master'
MR: docs: fix documentation link
Closes IDFGH-17526
See merge request espressif/esp-mqtt!303
2026-04-27 13:51:45 +02:00
Dominik Dufner 08f0d26bb3 fix(mqtt5): remove in_buffer_length constraint on maximum_packet_size
Closes https://github.com/espressif/esp-mqtt/pull/320

Signed-off-by: Euripedes Rocha Filho <rocha.euripedes@espressif.com>
2026-04-24 15:01:21 +02:00
NSBum 367a469911 docs: fix documentation link
The previously-provided documentation link was 404.

Closes https://github.com/espressif/esp-mqtt/pull/329

Signed-off-by: Euripedes Rocha Filho <rocha.euripedes@espressif.com>
2026-04-24 10:28:12 +02:00
Euripedes Rocha baf821caf2 Merge branch 'ci-update-github-ci' into 'master'
MR: ci: Update github actions configuration
See merge request espressif/esp-mqtt!299
2026-04-24 09:59:10 +02:00
Euripedes Rocha Filho 69a15c9b55 ci: Update github actions configuration 2026-04-24 06:51:09 +02:00
Euripedes Rocha 3c20fc05d3 Merge branch 'feat/password_special_characters' into 'master'
MR: feat: Add support for percent-encoding in password
See merge request espressif/esp-mqtt!260
2026-04-23 18:01:18 +02:00
Bogdan Kolendovskyy 32df7e27fc feat: Add support for percent-encoding in password and it's corresponding test
Add support of percent-encoded characters when passing the username and password in URI

Closes https://github.com/espressif/esp-mqtt/issues/294
2026-04-23 16:05:24 +02:00
Euripedes Rocha 2835fb438c Merge branch 'ci_html_report' into 'master'
MR: ci: Add HTML prebuild report
See merge request espressif/esp-mqtt!293
2026-04-23 12:25:56 +02:00
Octavio Godoy 0ea9dcb0f6 ci: Add HTML prebuild report 2026-04-23 09:57:55 +02:00
Euripedes Rocha f192911f6b Merge branch 'ignore_pydantic_warnings' into 'master'
MR: ci: Add missing pydantic warnings
See merge request espressif/esp-mqtt!301
2026-04-22 13:56:55 +02:00
Euripedes Rocha Filho 97b58eaded ci: Add missing pydantic warnings 2026-04-22 09:59:36 +02:00
Euripedes Rocha 723a74d350 Merge branch 'feature-test-log-component' into 'master'
MR: ci: Introduce log capture and matchers
See merge request espressif/esp-mqtt!297
2026-04-22 07:46:17 +02:00
Euripedes Rocha 19204c2409 Merge branch 'feat-release-please-config' into 'master'
MR: ci: Release Please configuration
See merge request espressif/esp-mqtt!298
2026-04-21 16:49:42 +02:00
Euripedes Rocha Filho e0a188b06b ci: Release Please configuration 2026-04-21 15:38:27 +02:00
Euripedes Rocha Filho 439c72786a ci: Introduce log capture and matchers
To allow our tests to use internal esp-mqtt state without exposing it
directly we add this utility to capture it.
2026-04-21 08:24:20 +02:00
Euripedes Rocha 3f62c75781 Merge branch 'feat/mqtt-conformance-infra' into 'master'
feat(mqtt): conformance test infrastructure (DUT app + CI)

See merge request espressif/esp-mqtt!281
2026-04-16 11:13:35 +02:00
Euripedes Rocha Filho 37a2e555c5 feat: add mqtt conformance test app
Adds a conformance test app based on paho test suite.
This introduce the basis infrastructure and initial tests.
2026-04-16 09:11:08 +02:00
Euripedes Rocha 0069d74433 Merge branch 'docs/mqtt_unstable_network_outbox_size' into 'master'
docs: Add advice regarding outbox message pile-up to the documentation

See merge request espressif/esp-mqtt!244
2026-04-15 09:23:39 +02:00
Bogdan Kolendovskyy ee9472f12f docs: Add advice regarding outbox message pile-up 2026-04-10 15:20:26 +02:00
Euripedes Rocha 2601f7695c Merge branch 'changecomponent' into 'master'
Modify component for github issues

See merge request espressif/esp-mqtt!226
2026-04-07 14:44:20 +02:00
Euripedes Rocha Filho 2f956726b4 ci: Modify component for github issues 2026-04-07 12:39:59 +02:00
Euripedes Rocha 689a2656a7 Merge branch 'fix/remaining-length-overflow' into 'master'
fix(mqtt_msg): fix signed integer overflow in remaining length decoding

See merge request espressif/esp-mqtt!276
2026-04-07 12:18:09 +02:00
Euripedes Rocha a607c9babc Merge branch 'update_sync-jira' into 'master'
ci: Update jira sync github action

See merge request espressif/esp-mqtt!288
2026-04-07 11:15:41 +02:00
Eun0us ffd44fb424 fix: fix signed integer overflow in remaining length decoding
The expression (buffer[i] & 0x7f) << (7 * (i - 1)) performs a left
shift on a signed int. When i >= 5, the shift amount reaches 28+ and
0x7f << 28 overflows INT_MAX, which is undefined behavior.

Per MQTT 3.1.1 section 2.2.3, the Remaining Length field uses at most
4 continuation bytes, so limit the decoding loop accordingly. Also
cast to size_t in mqtt_get_total_length() where totlen is already
size_t.

Affects mqtt_get_total_length() and mqtt_get_publish_data().

Found via coverage-guided fuzzing (libFuzzer + UBSan).
2026-04-07 11:02:39 +02:00
Euripedes Rocha Filho 570bbcfde4 ci: Update jira sync github action 2026-04-07 09:25:22 +02:00
Euripedes Rocha b4c1b9674a Merge branch 'release-definition' into 'master'
ci: Introduce release please for automated release

See merge request espressif/esp-mqtt!291
2026-04-02 15:24:42 +02:00
Euripedes Rocha Filho 9adb990ae1 ci: Introduce release please for automated release 2026-04-02 14:14:58 +02:00
Euripedes Rocha 7d07a6f79d Merge branch 'fix-idf-ci-artifacts' into 'master'
ci: Remove artifacts from build job template fo idf-ci 1.0.1

See merge request espressif/esp-mqtt!294
2026-04-02 14:14:14 +02:00
Euripedes Rocha Filho 8ed107b794 ci: Remove artifacts from build job template fo idf-ci 1.0.1
- Already included in the generate_test_child_pipeline
2026-04-01 19:26:04 +02:00
Euripedes Rocha 09749751cc Merge branch 'fix-idf-ci-native-artifacts' into 'master'
ci: Fix idf-ci artifacts path

See merge request espressif/esp-mqtt!292
2026-04-01 09:08:50 +02:00
Euripedes Rocha Filho 9ef975c54b ci: Fix idf-ci artifacts path 2026-03-31 15:52:26 +02:00
Euripedes Rocha 4cfd15f0a9 Merge branch 'docs-zh-cn' into 'master'
docs: re-enable zh_CN build

See merge request espressif/esp-mqtt!290
2026-03-27 14:24:29 +01:00
Euripedes Rocha Filho 42cce9f86f docs: re-enable zh_CN build 2026-03-27 07:59:42 +01:00
Euripedes Rocha 508319a31f Merge branch 'feat/remove_unnecessary_mocks_from_host_test' into 'master'
ci: Clear unneeded mocks from mqtt host test

See merge request espressif/esp-mqtt!289
2026-03-26 13:34:52 +01:00
Bogdan Kolendovskyy b4703c9c89 ci: Clear unneeded mocks from mqtt host test 2026-03-26 10:45:16 +01:00
Euripedes Rocha b2181a6e9a Merge branch 'fix_actions_permissions' into 'master'
ci: Fix gH actions permissions

See merge request espressif/esp-mqtt!286
2026-03-23 12:13:58 +01:00
Euripedes Rocha Filho 827da7ff23 ci: Fix gH actions permissions 2026-03-20 15:39:39 +01:00
Euripedes Rocha 6b0dd4991c Merge branch 'mqtt_update_build_images' into 'master'
ci: Add latest build image to 6.1

See merge request espressif/esp-mqtt!283
2026-03-06 06:46:06 +01:00
Octavio Godoy 4dd566c0ec ci: Add 6.1 as latest build image 2026-03-05 16:23:23 +01:00
Euripedes Rocha d4dac88fdd Merge branch 'ci-test-reports' into 'master'
Makes test reports available

See merge request espressif/esp-mqtt!280
2026-03-03 08:38:01 +01:00
Euripedes Rocha Filho 0a058845ed ci: add JUnit test reports to test pipeline job template
Makes xml reports available for parent.
2026-03-02 16:01:36 +01:00
Euripedes Rocha Filho d2343b11ee ci: ignore generated test_child_pipeline.yml
test_child_pipeline.yml is auto-generated
2026-03-02 10:10:20 +01:00
Euripedes Rocha d3ab324b42 Merge branch 'fix/esp32p4-tcp-partition' into 'master'
ci: Move P4 apps to use large partitionc

See merge request espressif/esp-mqtt!279
2026-02-27 13:34:55 +01:00
Euripedes Rocha Filho 72abeb4063 ci: Move P4 apps to use large partitionc
Avoid the warning and allow to build on IDF 5.5
2026-02-27 10:41:03 +01:00
Euripedes Rocha a5695b05f3 Merge branch 'fix/mqtt5_var_len_ub' into 'master'
fix(mqtt5): Fix UB in variable len processing

See merge request espressif/esp-mqtt!270
2026-02-24 13:32:42 +01:00