Bug Fixes
- Make all imports absolute
([`bafe176`](https://github.com/cbrand/micropython-mdns/commit/bafe17626411ed934b10ba4dd7867d7c7187364c))
Fix which might help using the library in a frozen module.
- Requirements.txt to reduce vulnerabilities
([`c717474`](https://github.com/cbrand/micropython-mdns/commit/c7174746614458885f48d1f471e226b79c347871))
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`](https://github.com/cbrand/micropython-mdns/commit/89f2e58d8b02f6714985b080a74d3a0986a17770))
Remove the python installations in all Dockerfiles to allow building the project with newer docker
files.
- Fix Makefile for other configs
([`c2bb1e7`](https://github.com/cbrand/micropython-mdns/commit/c2bb1e72486b191798b52e626c0475c9f414caa4))
Make tty interface configurable
- Update documentation for new advertise function
([`3b969b8`](https://github.com/cbrand/micropython-mdns/commit/3b969b8dab64ea33f92ea1920cdc02ce74b45529))
Add documentation to show how service_host_name in the advertise endpoint works.
Features
- Add build for micropython 1.20
([`01b7996`](https://github.com/cbrand/micropython-mdns/commit/01b7996ac22db7879a22e86f21807259b617d125))
- Add support for configurable service hostnames
([`cc6169f`](https://github.com/cbrand/micropython-mdns/commit/cc6169ff06734befc5e042be6ee7768c8ff60904))
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")