Files
led-driver/managed_components/espressif__mdns/CHANGELOG.md
T
jimmyandClaude Haiku 5.5 4cd3bc7973 feat: DDP frame sync over UDP broadcast, DDP acks, DDP enable setting
- Driver acks each completed DDP frame; the test waits for the acks before broadcasting the sync.
- Sync listener on UDP 4049: a frame is held until the next sync, then shown.
- DDP pixels are shown at full brightness, ignoring the device brightness settings.
- "DDP and sync receive on" setting (NVS, network API, web UI); off ignores DDP and sync packets.
- ddp_test.py: finds devices on the subnet, drives them in lockstep at a fixed rate, runs animations.
- /api/ddp reports sync counters for diagnosis.
- Includes in-progress WebSocket, multi-driver web UI and Wi-Fi work from the same tree.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-11 14:10:55 +13:00

78 KiB

Changelog

1.15.1

Bug Fixes

  • Fix gcc stringop-truncation warning (7cb5e9db)

1.15.0

Features

  • support subtype browsing (RFC 6763 Section 7.1) (19a0c32c)
  • clean up unsubscribed cache records in defined grace time (951b9d56)

Bug Fixes

  • Fix app partition is nearly full warning in CI (708a6de2)
  • Fix console strict discard-qualifiers warning (2b7db98a)
  • Don't free a queued TX packet when cleaning up its action (30c8d501)
  • avoid stack overflow in SRV and TXT collision checks (e594544c)
  • Require console directly under IDF build system v2 (6aa13b72)
  • Only depend on console when the CLI is enabled (4e62c23d)

Updated

  • test(mdns): cover subtype cache expiry and browsing (c17fb015)

1.14.1

Bug Fixes

  • Fix OOB access in mdns debug logs (397820ad)

1.14.0

Features

  • mdns cache natrual TTL expiration (be666607)
  • Add subtype-aware local service lookup APIs (65a3a57b)

Bug Fixes

  • Enable IPv6 on the right interface for GOT_IP6 (eb5d2f36)
  • Don't advertise A record with 0.0.0.0 address (76760948)
  • Distinguish TXT item with no value and empty value in responder (47f8ab48)
  • Distinguish TXT item with no value and empty value in cache (95a1f604)

Updated

  • test(mdns): update host unit tests for cache expiry (d9fb726f)
  • test(mdns): Add host unit tests for mdns_browse (ee59cf7b)
  • test(mdns): Added host unit tests for mdns_cache (63be8715)

1.13.1

Bug Fixes

  • Completely remove test_apps (19cc175e)
  • Migrate test_apps to host tests (9cdec857)
  • Ensure buffer is always NUL-terminated in rx_staged_ip_add() (b370a9ab)

1.13.0

Features

  • Use mdns_cache for browse notifications (ff5bf666)

Bug Fixes

  • Fix mdns parser to expand per one service question (c56c725d)
  • Fix mdns_mem_strndup() in host unit test stub (18d5421d)

1.12.0

Features

  • add hostname change callback (c2cd90b0)
  • Make mDNS browse feature optional (2e0c2540)

Bug Fixes

  • Update supported/tested IDF version matrix (e8427217)
  • Fix mdns browse SYNC vs. END race (1b83e978)
  • Only depend on esp_wifi when Wi-Fi is enabled (47724b7d, #835)
  • Update host test to check goodbye and browse dupl (ab03980d)
  • Fix mdns_browse_new() return dangling pointer on duplicated browsers (e063449c)
  • Create static task only when SPIRAM-task-alloc is ON (6f31f27f)
  • validate subtype label position (a09b24fe)
  • ignore subtype SRV and TXT questions (7910501d)
  • distinguish subtype queries from instances (b9103169)
  • Don't free a browse result already freed by an earlier sync batch (9057f2d9)

Updated

  • test(mdns): add hostname callback target test (4c8b76dd)
  • test(mdns): add hostname callback host test (1f35d5f3)
  • test(mdns): cover subtype query handling (c14ed4fc)
  • refactor(mdns): share debug name formatting (8c7bc865)

1.11.3

Features

  • Add a structure and APIs for allocating TXT items with given value length (234f9f00)

Bug Fixes

  • Fix potential browse null instance crash caught by fuzzer (953c3a78)
  • fix deadlock caused by re-acquiring the service lock (88c68330)
  • free dropped TXT query results when max results reached (f81720b7)

1.11.2

Bug Fixes

  • Fix Unbounded recursion in mDNS name decompression (95c882c7)
  • Fix wrong "truncated AAAA" error (fc5e6787)
  • Add unit tests for fa84ee6e4 (8d7b9432)
  • guard null TXT values in browse TXT comparison (1b4fcb0c)
  • plug fuzz harness and browse sync memory leaks (a8c1dad3)
  • bounds-copy browse service/proto when parsing packets (429d7b91)
  • reject packets shorter than the DNS header (b556327e)
  • Add support for fuzzing browses (7ec95d04)
  • Fix browse to stage A/AAAA to match PTRs records (26bfcd14, #1064)
  • queue browse send and trigger per-family browse on GOT_IP events (26e8dd1e)

1.11.1

Bug Fixes

  • Remove IDF tracker from sources/comments (4870186b)
  • Bounds check RR header and NSEC length in debug parser (c10eb9ac)
  • Validate RDATA length for A/AAAA records (df9644aa)
  • Validate second byte of DNS compression pointer (6dd051a1)
  • Minor cleanup in mdns socket layer (37b8a7ca)
  • Fix parsing of mdns.txt records containing booleans (a6e09518)
  • race conditions in async query lifecycle (IDFGH-17246) (ab5aeaf8, #1010)

1.11.0

Features

  • Add support for mdns service discovery (a0af8449)

Bug Fixes

  • Use python implementation of dig utility (0104a14a)
  • Fix null pointer exception in mdns_parse_packet (56812092)

Updated

  • Add null check for netif in mDNS networking (d5a393f6)

1.10.1

Bug Fixes

  • correct server initialization condition in mdns_browse_new (dcc33d69)

1.10.0

Features

  • support null value for boolean txt records (63082b99)
  • Refactor mdns library (stage #1) (bed116d9)

Bug Fixes

  • Fix the bug where closing the socket did not update to -1. (6b9c5128)
  • Fix to keep TXT/SRV in answers to queries (0f6235f1)
  • Create a test to check answer section for PTR/ANY (6c2c2cd2)
  • Fix unused variable dcst warning for wifi-remote chips (f20a234f)
  • put srv/txt records in additional section for ptr queries (27d43277)
  • Host test to use hw_support include dir (4d8d25a3)

1.9.1

Bug Fixes

  • Fix to use tagged AFL image + minor format fix (2b2f009a)
  • Fix unused variable dcst warning for wifi-remote chips (081eef88)

1.9.0

Features

  • support null value for boolean txt records (fa96de3b)

Bug Fixes

  • Add test case for bool/NULL txt handling (5068f221)
  • Temporary fix for build issues on IDF master (0197c994)
  • Add tests for delegated answers (487a746d)
  • Add fuzzing into mdns CI (af6bb1b5)
  • Host test to use hw_support include dir (8bba3a97)
  • Fixes case where we create our own malloc/free allocators, therefore we need to call mdns_mem_free and not free (63bf7091)
  • put srv/txt records in additional section for ptr queries (b7b8c5db)

Updated

  • ci(common): Update test component dir for IDFv6.0 (18418c83)

1.8.2

Bug Fixes

  • Fix parsing incorrect txt records (8fd2c99f)

1.8.1

Bug Fixes

  • Fix potential task delete race (8ca45f34)

1.8.0

Features

Bug Fixes

  • Reformat mdns sources per indent-cont=120 (c7663cde)

1.7.0

Features

  • Support user defined allocators (88162d1f)
  • Allow allocate memory with configured caps (7d29b476)

Bug Fixes

  • Adjust some formatting per indent-cont=120 (5b2077e3)

1.6.0

Features

  • support allocating mDNS task from SPIRAM (8fcad10c)

Bug Fixes

  • Use correct task delete function (eb4ab524)

Updated

  • ci(mdns): Fix mdns host test layers with static task creation (0690eba3)

1.5.3

Bug Fixes

  • Fix responder to ignore only invalid queries (cd07228f, #754)

1.5.2

Bug Fixes

  • Fix potential NULL deref when sending sub-buy (e7273c46)
  • Fix _mdns_append_fqdn excessive stack usage (bd23c233)

1.5.1

Bug Fixes

  • Fix incorrect memory free for mdns browse (4451a8c5)

1.5.0

Features

  • supported removal of subtype when updating service (4ad88e29)

Bug Fixes

1.4.3

Features

  • support zero item when update subtype (5bd82c01)

1.4.2

Features

Updated

  • chore(mdns): Add more info to idf_component.yml (4a1cb65c)

1.4.1

Features

  • Send PTR query for mdns browse when interface is ready (010a404a)

Bug Fixes

  • Prevent deadlock when deleting a browse request (3f48f9ea)
  • Fix use after free reported by coverity (25b3d5fd)
  • Fixed dead-code reported by coverity (11846c7d)

1.4.0

Major changes

Features

  • Unit tests for add/remove/update deleg/selfhosted services (0660ece1)
  • Add console command for mdns browsing (1e8ede33)
  • Console test: set instance for service (f107dcd1)
  • Console test: add subtype for service (ee00e97b)
  • Console test: set port for (delegated) srvs (07b79abf)
  • Console test: add/remove TXT recs for delegated srvs (c9a58d73)
  • Console test for changing TXT records (6b9a6ce6)
  • Console test for add/remove delegated service APIs (43de7e5c)
  • Console test for add/remove delegated host APIs (ce7f326a)
  • Console test for lookup service APIs (a91ead8e)
  • Add linux console functional tests (50d059af)
  • check if the txt items is changed when browsing (e2f0477a)

Bug Fixes

  • Fix mdns_delegate_hostname_add() to block until done (2c1b1661)
  • Fix API races when removing all services (169405b5)
  • Fix API races setting instance name for services (643dc6d4)
  • Fix API races while adding subtypes for services (f9f234c4)
  • Fix API races removing txt item for services (3f97a822)
  • Fix API races adding txt item for services (c62b920b)
  • Fix API races while setting txt for services (a927bf3a)
  • Fix API races while setting port for services (99d5fb27)
  • Fix services API races to directly add/remove services (8a690503)
  • Fix mdns mdns_lookup_service() to handle empty TXT (d4da9cb0)

1.3.2

Features

  • add check of instance when handling PTR query (6af6ca5)

Bug Fixes

  • Fix of mdns afl tests (139166c)
  • remove same protocol services with different instances (042533a)

1.3.1

Bug Fixes

1.3.0

Features

  • add a new mdns query mode browse (af330b6)
  • Make including mdns_console KConfigurable (27adbfe)

Bug Fixes

  • Schedule all queued Tx packets from timer task (d4e693e)
  • add lock for some common apis (21c84bf)
  • fix mdns answer append while host is invalid (7be16bc)

1.2.5

Bug Fixes

  • Fixed build issues for targets without WiFi caps (302b46f)

1.2.4

Bug Fixes

  • Correction on 6d2c475 MDNS_PREDEF_NETIF_ETH fix (fc59f87c4e)
  • fix the logic of creating pcb for networking socket (5000a9a20a)
  • fix compiling issue when disabling IPv4 (2646dcd23a)
  • Fix compile error when MDNS_PREDEF_NETIF_ETH is defined, but ETH_ENABLED is not (#459) (6d2c475c20)

1.2.3

Bug Fixes

  • fixed CI issues for host and afl tests (4be5efc84e)
  • fix copy delegated host addr (19fb36000c)
  • enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1) (d20a718320)
  • remove protocol_examples_common (1ee9dae6bf)
  • move the example into a subdirectory (d28232b9f8)
  • reference protocol_examples_common from IDF (c83b76ea8f)

1.2.2

Bug Fixes

  • add terminator for the getting host name (b6a4d94)
  • Enable ESP_WIFI_CONFIG when ESP-IDF <= 5.1 (0b783c0)
  • set host list NULL on destroy (ea54eef)
  • removed Wno-format flag and fixed formatting warnings (c48e442)
  • remove the the range of MDNS_MAX_SERVICES and fix issues of string functions (3dadce2)

1.2.1

Features

  • Allow setting length of mDNS action queue in menuconfig (28cd898)

Bug Fixes

  • fix build issue if CONFIG_ESP_WIFI_ENABLED disabled (24f7031)
  • added idf_component.yml for examples (d273e10)
  • added guard check for null pointer (71bb461)

1.2.0

Features

  • add an API for setting address to a delegated host (ddc3eb6)
  • Add support for lwip build under linux (588465d)
  • Allow for adding a delegated host with no address (c562461)
  • Add APIs for looking up self hosted services and getting the self hostname (f0df12d)

Bug Fixes

  • Refactor freertos linux compat layers (79a0e57)
  • Fix delegated service PTR response (cab0e1d)
  • Added unit tests to CI + minor fix to pass it (c974c14)

Updated

  • docs: update documentation links (4de5298)

1.1.0

Features

  • Decouple main module from mdns-networking (d238e93)

Bug Fixes

  • Use idf-build-apps package for building mdns (1a0a41f)
  • socket networking to init interfaces properly (ee9b04f)
  • Removed unused internal lock from mdns_server struct (a06fb77)
  • Resolve conflicts only on self hosted items (e69a9eb, #185)
  • Fix memory issues reported by valgrind (0a682e7)

Updated

  • docs(common): updated component and example links (f48d9b2)
  • Add APIs to look up delegated services (87dcd7d)
  • Fix deadly mdns crash (4fa3023)
  • docs(common): improving documentation (ca3fce0)
  • append all ipv6 address in mdns answer (5ed3e9a)
  • test(mdns): Host tests to use IDF's esp_event_stub (537d170)

1.0.9

Features

  • Add reverse lookup to the example and test (d464ed7)
  • Add support for IPv6 reverse query (d4825f5)

Bug Fixes

  • Reintroduce missing CHANGELOGs (200cbb3)
  • use semaphore instead of task notification bits (IDFGH-9380) (73f2800, IDF#10754)

Updated

  • ci(common): force scoping commit messages with components (c55fcc0)
  • Add homepage URL and License to all components (ef3f0ee)
  • docs: fix of mdns link translation (1c850dd)
  • unite all tags under common structure py test: update tags under common structure (c6db3ea)

1.0.8

Features

  • Add support for IPv4 reverse query (b87bef5)

Bug Fixes

  • Host test with IDFv5.1 (fb8a2f0)
  • Remove strict mode as it's invalid (d0c9070)
  • Allow setting instance name only after hostname set (a8339e4, #190)
  • Make unit test executable with pytest (12cfcb5)
  • AFL port layer per IDF-latest changes (0247926)

Updated

  • bump the component version to 1.0.8 (b9b4a75)
  • Make reverse query conditional per Kconfig (91134f1)
  • Added badges with version of components to the respective README files (e4c8a59)
  • fix some coverity reported issues (c73c797)
  • Examples: using pytest.ini from top level directory (aee016d)
  • mDNS: test_app pytest migration (f71f61f)
  • CI: fixing the files to be complient with pre-commit hooks (945bd17)
  • prevent crash when hostname is null (3498e86)
  • Example tests integration (a045c1c)
  • Replace hardcoded TTL values with named defines (bb4c002)
  • Fix add_service() to report error if no-hostname (656ab21)

1.0.7

Updated

  • bump up the component version (088f7ac)
  • fix IPV4 only build and also update CI configuration (e079f8b)
  • add test configuration for IPV6 disabled build (330332a)

1.0.6

Bug Fixes

  • Example makefile to add only mdns as extra comps (d74c296)
  • ignore authoritative flag on reception (415e04a)

Updated

  • fix build issue with CONFIG_LWIP_IPV6 disabled (48c157b)
  • fix bit order issue in DNS header flags (c4e85bd)
  • updated package version to 0.1.19 (469f953)

1.0.5

Features

  • Define explicit dependencies on esp-wifi (36de9af)

Updated

  • bugfix: mdns IPv6 address convert error (238ee96)

1.0.4

Updated

  • Bump asio/mdns/esp_websocket_client versions (57afa38)
  • ignore format warnings (d66f9dc)
  • Fix test_app build (0b102f6)

1.0.3

Updated

1.0.2

Features

Bug Fixes

Updated