Releases: aminekun90/mdns_listener_advanced
v3.4.10
Full Changelog: v3.4.9...v3.4.10
v3.4.9
What's Changed
- chore: update deps and actions versions by @aminekun90 in #49
Full Changelog: v3.4.8...v3.4.9
v3.4.8
v3.4.7
Full Changelog: v3.4.6...v3.4.7
v3.4.6
Full Changelog: v3.4.5...v3.4.6
v3.4.5
What's Changed
- feat: v3.4.5 by @aminekun90 in #44
- chore: update docs and cleanup by @aminekun90 in #46
Full Changelog: v3.4.4...v3.4.5
v3.4.4
What's Changed
- feat: v3.4.4 enhance listen method by @aminekun90 in #42
Full Changelog: v3.4.3...v3.4.4
v3.4.3
What's Changed
- feat: cleanup and running example by @aminekun90 in #41
Full Changelog: v3.4.2...v3.4.3
v3.4.2
What's Changed
- fix: remove rimraf & glob source of many CVE security issues by @aminekun90 in #39
- feat: interval for publish by @aminekun90 in #40
Full Changelog: v3.4.1...v3.4.2
v3.4.1
v3.4.1 : We are Free !!
- feat: native implementation of discovery, update documentation by @aminekun90 in #38
This Release is a refining of the complete rewrite of the core architecture in 3.4.0. The library has moved from being a wrapper around external libraries to a Zero-Dependency, Native Node.js implementation using typescript.
Overview
We have replaced bonjour-service and multicast-dns with a custom, lightweight DNS packet parser/encoder using native dgram sockets. This significantly reduces the bundle size, improves security, and gives us low-level control over the mDNS protocol.
lets celebrate our 70th tag/ 56th release with all these exciting changes 🎉
✨ Key Features
1. Active Service Discovery (Scanning)
- New Method: Added core.scan(serviceType).
- Functionality: Unlike the passive listener, this allows the library to actively query the network.
- Use Cases: Find all Google Casts (_googlecast._tcp.local), Printers (_ipp._tcp.local), or AirPlay devices (_airplay._tcp.local).
2. Expanded Protocol Support
SRVRecords: Now parses Service records to extract Ports, Priority, and Weights.PTRRecords: Now follows Pointers to discover service instances.- A Records: improved IPv4 address extraction.
3. New Event: EmittedEvent.DISCOVERY
- A new event type tailored for scanning results.
- Returns a normalized Device object containing type (PTR/SRV/A) and parsed data.
Other
- Stability & Logic Improvements
- Documentation update Readme refactoring Done
⚠️ Breaking Changes
- Internal: The mdnsInstance and publisher properties no longer exist on the Core class (as we removed the libraries they relied on).
- Output: The RAW_RESPONSE event now returns the structure from our custom parser, which may differ slightly from the old library's format.
Full Changelog: v3.4.0...v3.4.1