mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 18:57:28 +02:00
Merge pull request #773 from david-cermak/fix/mdns_add_version_macro
[mdns]: Bump 1.7.0 -> 1.8.0
This commit is contained in:
6
.github/workflows/clang-tidy.yml
vendored
6
.github/workflows/clang-tidy.yml
vendored
@ -9,10 +9,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Run clang-tidy
|
name: Run clang-tidy
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
container: espressif/idf:latest
|
container: espressif/idf:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
- name: Install esp-clang
|
- name: Install esp-clang
|
||||||
@ -50,7 +50,7 @@ jobs:
|
|||||||
results.sarif
|
results.sarif
|
||||||
results.sarif.raw
|
results.sarif.raw
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
with:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
category: clang-tidy
|
category: clang-tidy
|
||||||
|
@ -3,6 +3,6 @@ commitizen:
|
|||||||
bump_message: 'bump(mdns): $current_version -> $new_version'
|
bump_message: 'bump(mdns): $current_version -> $new_version'
|
||||||
pre_bump_hooks: python ../../ci/changelog.py mdns
|
pre_bump_hooks: python ../../ci/changelog.py mdns
|
||||||
tag_format: mdns-v$version
|
tag_format: mdns-v$version
|
||||||
version: 1.7.0
|
version: 1.8.0
|
||||||
version_files:
|
version_files:
|
||||||
- idf_component.yml
|
- idf_component.yml
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.8.0](https://github.com/espressif/esp-protocols/commits/mdns-v1.8.0)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Add version keys ([e01e67e7](https://github.com/espressif/esp-protocols/commit/e01e67e7))
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Reformat mdns sources per indent-cont=120 ([c7663cde](https://github.com/espressif/esp-protocols/commit/c7663cde))
|
||||||
|
|
||||||
## [1.7.0](https://github.com/espressif/esp-protocols/commits/mdns-v1.7.0)
|
## [1.7.0](https://github.com/espressif/esp-protocols/commits/mdns-v1.7.0)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
@ -34,7 +34,9 @@ if(${target} STREQUAL "linux")
|
|||||||
target_link_libraries(${COMPONENT_LIB} PRIVATE "-lbsd")
|
target_link_libraries(${COMPONENT_LIB} PRIVATE "-lbsd")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(CONFIG_ETH_ENABLED)
|
if(CONFIG_ETH_ENABLED)
|
||||||
idf_component_optional_requires(PRIVATE esp_eth)
|
idf_component_optional_requires(PRIVATE esp_eth)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
idf_component_get_property(MDNS_VERSION ${COMPONENT_NAME} COMPONENT_VERSION)
|
||||||
|
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DESP_MDNS_VERSION_NUMBER=\"${MDNS_VERSION}\"")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
*/
|
*/
|
||||||
@ -314,6 +314,8 @@ void app_main(void)
|
|||||||
ESP_ERROR_CHECK(esp_netif_init());
|
ESP_ERROR_CHECK(esp_netif_init());
|
||||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||||
|
|
||||||
|
ESP_LOGI(TAG, "mDNS Ver: %s", ESP_MDNS_VERSION_NUMBER);
|
||||||
|
|
||||||
initialise_mdns();
|
initialise_mdns();
|
||||||
|
|
||||||
/* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig.
|
/* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "1.7.0"
|
version: "1.8.0"
|
||||||
description: "Multicast UDP service used to provide local network service and host discovery."
|
description: "Multicast UDP service used to provide local network service and host discovery."
|
||||||
url: "https://github.com/espressif/esp-protocols/tree/master/components/mdns"
|
url: "https://github.com/espressif/esp-protocols/tree/master/components/mdns"
|
||||||
issues: "https://github.com/espressif/esp-protocols/issues"
|
issues: "https://github.com/espressif/esp-protocols/issues"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user