v0.5.0
paulpierre/markdown-crawlerv0.5.0Apr 28, 2023by ekzhang
AI Summary
This update modifies the port selection logic in bore, allowing the minimum port setting to apply to default connections. It introduces a new maximum port option and changes how OS-assigned ports are handled when port 0 is specified.
Key Highlights
- Random port selection now respects the --min-port option
- New --max-port option added for port range specification
- Default connection behavior (port 0) now uses OS-assigned ports respecting min limit
New Features
- --max-port option
Full Release Notes
This version changes the behavior of bore in relation to the `--min-port` option. Now, when a minimum port is specified, any user that connects to bore by default (port: 0) will pick a random port that respects the value of the option. Previously the min port was only used as validation when the user connected with an explicitly specified `--port` variable, and the OS was queried for a free port instead. This also lets us add a `--max-port` option, which was requested by multiple people. ## What's Changed * Use random ports when port number is 0 by @ekzhang in https://github.com/ekzhang/bore/pull/79 **Full Changelog**: https://github.com/ekzhang/bore/compare/v0.4.1...v0.5.0