cargo webbrowser 0.8.3
v0.8.3

latest releases: 1.0.2, 1.0.1, 1.0.0...
21 months ago

Releasing v0.8.3 with the following changes:

Added

  • Web browser is guaranteed to open for local files even if local file association was to a non-browser app (say an editor). This now is formally incorporated as part of this crate's Consistent Behaviour
  • WSL support, thanks to @Nachtalb. This works even if wslu is not installed in WSL environments.
  • A new feature hardened now available for applications which require only http(s) urls to be opened. This acts as a security feature.

Changed

  • On macOS, we now use CoreFoundation library instead of open command.
  • On Linux/*BSD, we now parse xdg configuration to execute the command directly, instead of using xdg-open command. This allows us to open the browser for local html files, even if the .html extension was associated with an edit (see #55)

Fixed

  • The guarantee of web browser being opened (instead of local file association), now solves for the scenario where the URL is crafted to be an executable. This was reported privately by @offalltn.

Don't miss a new webbrowser release

NewReleases is sending notifications on new releases.