Skip to content

Releases: unjs/get-port-please

v3.1.2

09 Jan 12:01
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Accept ipv6 as valid hostname (d537a51)
  • Use closed ranges as port ranges (#66)
  • Ranges now work even if port is unset in options (#72)
  • Don't use a random port by default if the user specified any port (#65)

💅 Refactors

  • Correct typos in GetPortError message (#77)
  • Fix typo in error message (#73)
  • Improve log when using alternative port (#78)
  • Update fallback message (1f45050)

❤️ Contributors

v3.1.1

06 Sep 20:26
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Ignore ipv6 link-local addresses from hosts (9e76e76)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.1.0

06 Sep 18:38
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Automatically fallback hostname for invalid hosts (#62)

🩹 Fixes

  • Validate hostname and improve errors (#59)
  • Skip port on any listen error (#61)

💅 Refactors

  • Split internals and types (cf4317c)

✅ Tests

  • Run tests on windows (#60)
  • Block host on all interfaces (5a95184)
  • Skip invalid host tests on windows (e8b92ac)