- 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.
- Update Makefile
(
1503bfa
)
fix various configs in the Makefile and add Micropython 1.24 (hacked) support.
- 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.
-
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
)
- Clarify on asyncio tasks implicitly started via query_once()
(
d66f00d
)
- 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.
-
pre-commit-config: Update pre commit versions (
f3fae99
) -
README: Add tips how to build RPI Pico with the library (
ca5a95a
)
- 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
- 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
)
- Add mip package support
(
f7d6299
)
Following configuration for https://docs.micropython.org/en/latest/reference/packages.html#writing-publishing-packages
- 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
- 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.
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") ```
- Always return a txt dns record even if empty
(
e75757a
)
- Skip null txt record
(
40d09b7
)
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.
- 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
)
- 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
fixes #5
- Add compile targets for new micropython
(
2b15d01
)
Add support for micropython 1.18 and 1.19
- Add semantic release support
(
6aa4325
)
- Add image for micropython 1.16 and 1.17
(
525ec39
)
- client: Reinitialize socket on send failure
(
52b3ff9
)
-
examples: Explicitly set wlan active flag (
c7d0168
) -
pre-commit: Update pre-commit config (
50305a5
) -
README: Add reference to MicroPython 1.15 (
549c594
)
- client: Do not fail on error in packet processing
(
8fe0203
)