Skip to content

Releases: amodm/webbrowser-rs

v0.7.0

24 Apr 13:13
Compare
Choose a tag to compare

Releasing v0.7.0, with the following changes:

Added

  • @Azorlogh introduced a way to provide a target hint to the browser via BrowserOptions::target_hint. See #45. This is currently honoured only in WASM

Changed

  • We've now shifted to a non-consuming builder pattern in BrowserOptions as part of supporting BrowserOptions::target_hint. This is a breaking change for current BrowserOptions users, but shifting to the builder pattern would help avoid future breakages, as more items get added.

v0.6.0

19 Feb 10:34
Compare
Choose a tag to compare

Releasing v0.6.0, with the following changes:

Changed

  • Define consistent non-blocking behaviour on all UNIX platforms. Now, unless it's specifically a text browser (like lynx etc.), we make sure that the browser is launched in a non-blocking way. See #18 and 614cacf
  • Define default behaviour on all UNIX platforms to make sure that stdout/stderr are suppressed. See #20 and ecfbf66
  • (Low probability) breaking change: All public functions now return a Result<()>. As almost all the uses of this library do a .is_ok() or equivalent, there should not be any breaks, but please report a bug if you do. See #42 and #43
  • @VZout modified Android implementation to use JNI instead of am start because of permission issues in more recent Android.
  • Define consistent behaviour for non-ascii URLs, where they're now encoded automatically before being invoked. See #34 and 11789dd
  • Richer set of underlying commands used for UNIX to cater to different scenarios at runtime. See d09eeae

Fixed

  • On WASM, by default URLs are opened with a target of _blank. See #39. Thanks to @vbeffa for pointing out the issue.
  • @tokusumi fixed #41 where addition of open command (done for Haiku) was breaking things in some places.