Skip to content

Releases: aminekun90/mdns_listener_advanced

v3.4.10

20 Mar 11:06

Choose a tag to compare

v3.4.9

11 Mar 08:47
ea9b75d

Choose a tag to compare

What's Changed

Full Changelog: v3.4.8...v3.4.9

v3.4.8

24 Feb 13:16
085d6f6

Choose a tag to compare

What's Changed

Full Changelog: v3.4.7...v3.4.8

v3.4.7

22 Jan 13:56

Choose a tag to compare

Full Changelog: v3.4.6...v3.4.7

v3.4.6

17 Jan 22:06

Choose a tag to compare

Full Changelog: v3.4.5...v3.4.6

v3.4.5

08 Jan 13:44
74c7639

Choose a tag to compare

What's Changed

Full Changelog: v3.4.4...v3.4.5

v3.4.4

15 Dec 21:40
173f5bb

Choose a tag to compare

What's Changed

Full Changelog: v3.4.3...v3.4.4

v3.4.3

12 Dec 09:22
1430e17

Choose a tag to compare

What's Changed

Full Changelog: v3.4.2...v3.4.3

v3.4.2

10 Dec 22:27

Choose a tag to compare

What's Changed

Full Changelog: v3.4.1...v3.4.2

v3.4.1

01 Dec 23:11
aa9dd9f

Choose a tag to compare

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

  • SRV Records: Now parses Service records to extract Ports, Priority, and Weights.
  • PTR Records: 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