Skip to content

Commit

Permalink
Version 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrand committed Dec 15, 2024
1 parent 1503bfa commit f8c6cd9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# CHANGELOG


## v1.5.2 (2024-12-15)

### Bug Fixes

- **service_discovery**: A record detection for certain devices
([`078f3df`](https://github.com/cbrand/micropython-mdns/commit/078f3df5cb44b4438049a26431ae09aea48b7624))

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`](https://github.com/cbrand/micropython-mdns/commit/233170773933aa2de63b10cedbe3daf9392dff15))

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

- Update Makefile
([`1503bfa`](https://github.com/cbrand/micropython-mdns/commit/1503bfa0cfed6203b41594c931ca0c0411957790))

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


## v1.5.1 (2024-12-15)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version": "1.5.1", "deps": [], "urls": [["mdns_client/parser.py", "github:cbrand/micropython-mdns/src/mdns_client/parser.py"], ["mdns_client/util.py", "github:cbrand/micropython-mdns/src/mdns_client/util.py"], ["mdns_client/__init__.py", "github:cbrand/micropython-mdns/src/mdns_client/__init__.py"], ["mdns_client/structs.py", "github:cbrand/micropython-mdns/src/mdns_client/structs.py"], ["mdns_client/responder.py", "github:cbrand/micropython-mdns/src/mdns_client/responder.py"], ["mdns_client/constants.py", "github:cbrand/micropython-mdns/src/mdns_client/constants.py"], ["mdns_client/client.py", "github:cbrand/micropython-mdns/src/mdns_client/client.py"], ["mdns_client/service_discovery/txt_discovery.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/txt_discovery.py"], ["mdns_client/service_discovery/service_monitor.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/service_monitor.py"], ["mdns_client/service_discovery/discovery.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/discovery.py"], ["mdns_client/service_discovery/__init__.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/__init__.py"], ["mdns_client/service_discovery/service_response.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/service_response.py"]]}
{"version": "1.5.2", "deps": [], "urls": [["mdns_client/parser.py", "github:cbrand/micropython-mdns/src/mdns_client/parser.py"], ["mdns_client/util.py", "github:cbrand/micropython-mdns/src/mdns_client/util.py"], ["mdns_client/__init__.py", "github:cbrand/micropython-mdns/src/mdns_client/__init__.py"], ["mdns_client/structs.py", "github:cbrand/micropython-mdns/src/mdns_client/structs.py"], ["mdns_client/responder.py", "github:cbrand/micropython-mdns/src/mdns_client/responder.py"], ["mdns_client/constants.py", "github:cbrand/micropython-mdns/src/mdns_client/constants.py"], ["mdns_client/client.py", "github:cbrand/micropython-mdns/src/mdns_client/client.py"], ["mdns_client/service_discovery/txt_discovery.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/txt_discovery.py"], ["mdns_client/service_discovery/service_monitor.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/service_monitor.py"], ["mdns_client/service_discovery/discovery.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/discovery.py"], ["mdns_client/service_discovery/__init__.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/__init__.py"], ["mdns_client/service_discovery/service_response.py", "github:cbrand/micropython-mdns/src/mdns_client/service_discovery/service_response.py"]]}
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def list_packages(source_directory: str = ".") -> List[str]:
return packages


__version__ = "1.5.1"
__version__ = "1.5.2"
requirements = []
test_requirements = ["twine", "adafruit-ampy>=1.0.0"]

Expand Down

0 comments on commit f8c6cd9

Please sign in to comment.