Skip to content

Latest commit

 

History

History
384 lines (237 loc) · 14.4 KB

CHANGELOG.md

File metadata and controls

384 lines (237 loc) · 14.4 KB

CHANGELOG

v1.5.2 (2024-12-15)

Bug Fixes

  • service_discovery: A record detection for certain devices (078f3df)

Ensure that the A record for certain devices (for example shellies) is done correctly by buffering currently irrelevant A records as they get sent before the SRV record for the specific target is sent.

This change slightly increases memory overhead as an additional configurable buffer needs to be added to allow buffering A records which are not yet relevant for an SRV response.

  • service_discovery: Adjust discover_once to shut down resources (2331707)

If the discover_once method is called and the underyling client and / or discovery has not been started by another component ensure to shut down the complete library afterwards to not consume any resources without a developer explicitly asking for other functionality in the MDNS library.

Chores

fix various configs in the Makefile and add Micropython 1.24 (hacked) support.

v1.5.1 (2024-12-15)

Bug Fixes

  • Requirements.txt to reduce vulnerabilities (819b300)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899

  • Docker: Fix build files for rp2 versions (2ed23d4)

copy correct file over with the correct configuration.

  • service_discovery: Stop discovery loop on stopped client (5bf8419)

The service discovery did not take into account that the client might have shut down in between, resulting in a loop running forever reinitializing manually closed clients resulting in unexplainable error messages.

Chores

  • Dockerfile: Add support for rp2 build for micropython 1.22 (e009cfb)

  • Dockerfile: Fix esp32 buidls for 1.21 and 1.22 to actually build versions instead of 1.23.0 (50cff7e)

  • Dockerfile: Test fix for rp2 according to #26 (5906dd5)

Documentation

  • Clarify on asyncio tasks implicitly started via query_once() (d66f00d)

v1.5.0 (2024-10-15)

Bug Fixes

  • Requirements.txt to reduce vulnerabilities (1e3d040)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899

  • Requirements.txt to reduce vulnerabilities (56bbed8)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250

  • Requirements.txt to reduce vulnerabilities (e8d5e59)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250

  • Requirements.txt to reduce vulnerabilities (f4f3f29)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-6928867

  • Requirements.txt to reduce vulnerabilities (8e53ff8)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-3164749 - https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-5805047 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3172287 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3314966 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315324 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315328 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315331 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315452 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315972 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315975 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3316038 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3316211 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5663682 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5777683 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813745 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813746 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813750 - https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5914629 - https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606 - https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505 - https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273 - https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532 - https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412 - https://snyk.io/vuln/SNYK-PYTHON-WHEEL-3180413

  • record: Lowercase all mdns records (f557fa0)

Following advice from #24 make sure that only lowercase configurations are resolved making the library case insensitive.

Chores

  • pre-commit-config: Update pre commit versions (f3fae99)

  • README: Add tips how to build RPI Pico with the library (ca5a95a)

Features

  • boards: Add compile support for raspberry pi micro (86670ac)

Add support for RPI builds and support for Micropython 1.21, 1.22 and 1.23 for esp32.

Fixes #15

v1.4.0 (2023-09-21)

Chores

  • Add support for building on remote docker (d8cb40f)

Adjust build scripts to work to retrieve the firmware on remote docker builds too.

  • Drop support for Micropython 1.13 (6f8c186)

Requires python 2 to build which is no longer supported.

  • Fix semantic release config for new version (8ffb6f4)

  • Update Changelog with 1.3.0 changes (dcbf580)

  • Update classifiers for pypi (159b7aa)

  • Update readme with compile targets (482148d)

Features

  • Add mip package support (f7d6299)

Following configuration for https://docs.micropython.org/en/latest/reference/packages.html#writing-publishing-packages

v1.3.0 (2023-09-20)

Bug Fixes

  • Make all imports absolute (bafe176)

Fix which might help using the library in a frozen module.

  • Requirements.txt to reduce vulnerabilities (c717474)

The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-WHEEL-3092128 - https://snyk.io/vuln/SNYK-PYTHON-WHEEL-3180413

Chores

  • Fix Dockerfile configuration (89f2e58)

Remove the python installations in all Dockerfiles to allow building the project with newer docker files.

  • Fix Makefile for other configs (c2bb1e7)

Make tty interface configurable

  • Update documentation for new advertise function (3b969b8)

Add documentation to show how service_host_name in the advertise endpoint works.

Features

  • Add build for micropython 1.20 (01b7996)

  • Add support for configurable service hostnames (cc6169f)

Instead of fixing the service host name to the hostname of the host, make it possible to add a new parameter host into the advertise function of the service and allow it to register its own advertised name in the service.

Usage example: ``` loop = uasyncio.get_event_loop() client = Client(own_ip_address) responder = Responder( client, own_ip=lambda: own_ip_address, host=lambda: "my-awesome-microcontroller-{}".format(responder.generate_random_postfix()), )

def announce_service(): responder.advertise("_myawesomeservice", "_tcp", port=12345, data={"some": "metadata", "for": ["my", "service"]}, service_host_name="myoverwrittenhost") ```

v1.2.3 (2022-10-04)

Bug Fixes

  • Always return a txt dns record even if empty (e75757a)

v1.2.2 (2022-10-04)

Bug Fixes

Do not try to send a txt record when information for sending it out is missing. Before this if there was a TXT record request it did raise an Exception instead of just not returning the information.

Chores

  • Adjust reference example for better use (e7b1087)

Use the generate_random_postfix call outside of the responder to let the example generate a consistent postfix for each request.

  • Remove confusing test folder (7ab609e)

v1.2.1 (2022-10-03)

Bug Fixes

  • Correct name length package generation (9a9ddae)

Fixed an issue with name length generation for domain names which resulted into micropython-mdns creating wrongly formatted dns packages which couldn't be parsed by certain implementations of mdns like avahi.

Fixes #6

v1.2.0 (2022-09-28)

Bug Fixes

  • Adjust release pipeline (1f96cf1)

  • Responder dns ptr record zeroconf support (285d24b)

fixes #5

Chores

Features

  • Add compile targets for new micropython (2b15d01)

Add support for micropython 1.18 and 1.19

v1.1.0 (2022-01-06)

Chores

  • Add semantic release support (6aa4325)

Features

  • Add image for micropython 1.16 and 1.17 (525ec39)

v1.0.1 (2021-06-15)

Chores

  • client: Reinitialize socket on send failure (52b3ff9)

v1.0.0 (2021-04-26)

Chores

  • examples: Explicitly set wlan active flag (c7d0168)

  • pre-commit: Update pre-commit config (50305a5)

  • README: Add reference to MicroPython 1.15 (549c594)

v0.9.3 (2021-01-06)

v0.9.2 (2021-01-06)

Bug Fixes

  • client: Do not fail on error in packet processing (8fe0203)

v0.9.1 (2021-01-06)

v0.9.0 (2021-01-06)

Bug Fixes

  • client: Handle memory issues on high traffic MDNS networks (8ee9488)

  • parser: Add possibility for nested name dereference (92f5b46)

Chores

  • debug: Add better log debugging (03997cb)

  • examples: Add examples for library usage (eb1ac35)

  • REFERENCE: Adjust shield colors (baf9589)