open
Open a path or URL using the program configured on the system
5.4.1
48M downloads/mo
#1248 most downloaded on crates.io
Byron/open-rs
What this package is like to depend on
Last release 18 days ago
05 Aug 2026
Release timing varies
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 49 of 53 stable releases
7 versions withdrawn
withdrawn after publishing
11 years old
60 releases · first in 2015
6 releases in the last 12 months
see the full history below
Release timeline
60 releases · Feb 2015 to Aug 2026Releases
latest 60-
5.4.105 Aug 2026Release notes
Open source →Bug Fixes
-
Forward WSL targets to PowerShell to make
openactually work thereOpening a URL from WSL failed because the Windows process did not receive
OPEN_RS_TARGET, even though it was present in the Linux command environment.
The failure reproduces with cargo run -- https://google.com on Ubuntu under
WSL, where Start-Process receives a null FilePath and exits unsuccessfully.Add OPEN_RS_TARGET to WSLENV so WSL interop forwards the target into the
PowerShell environment. Preserve existing WSLENV entries and their flags,
while keeping the PowerShell command fixed so targets remain data rather than
shell code.Validated with focused WSL tests, the all-features test suite, rustfmt,
Clippy with warnings denied, and an end-to-end cargo run from WSL.
Commit Statistics
- 1 commit contributed to the release.
- 24 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #128
Commit Details
view detailsRelease notes
Open source →Bug Fixes
-
<csr-id-96fa673a6a152d193c210ff77766270192b42d16/> Forward WSL targets to PowerShell to make
openactually work there <!-- agent --> Opening a URL from WSL failed because the Windows process did not receive OPEN_RS_TARGET, even though it was present in the Linux command environment. The failure reproduces with cargo run -- https://google.com on Ubuntu under WSL, where Start-Process receives a null FilePath and exits unsuccessfully.Add OPEN_RS_TARGET to WSLENV so WSL interop forwards the target into the PowerShell environment. Preserve existing WSLENV entries and their flags, while keeping the PowerShell command fixed so targets remain data rather than shell code.
Validated with focused WSL tests, the all-features test suite, rustfmt, Clippy with warnings denied, and an end-to-end cargo run from WSL.
Commit Statistics
<csr-read-only-do-not-edit/>
- 1 commit contributed to the release.
- 24 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #128
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
5.4.012 Jul 2026Release notes
Open source →New Features
cargo runnow shows the exact commands that were tried when opening.
This is useful for debugging, mainly.
Bug Fixes
-
Align WSL PowerShell invocation with Windows
Pass the WSL open target to PowerShell through the OPEN_RS_TARGET
environment variable instead of embedding it in the command string and
escaping it as a single-quoted PowerShell value.This matches the safer invocation already used by the native Windows
backend. Keeping the PowerShell program fixed ensures that paths and URLs
are treated purely as data, even when they contain quotes, semicolons, or
other PowerShell metacharacters. It also removes the need for custom
PowerShell quoting and avoids converting the target through
to_string_lossy() during command construction.Add -NonInteractive for consistency with the Windows launcher and update
the WSL tests to verify both the fixed command and the unchanged
environment-variable value. -
prevent launcher option and shell injection
Opening an attacker-controlled dash-leading path could be interpreted as
launcher options. On Windows, cmd /c start also parsed embedded quotes and
metacharacters as command language, while the legacy gnome-open fallback
could load a module even after a double-dash separator.Add command-construction regressions for malicious option-shaped paths and
Windows shell metacharacters. Use supported separators on macOS and KDE, and
rewrite dash-leading relative paths for launchers without separator support.
Keep Windows values out of shell syntax by passing the default target through
the environment and invoking custom applications directly, with explorer.exe
as a PowerShell-free fallback.Exclude cmd-based opening by default, while providing an
explicit insecure Cargo feature for users who need compatibility it
and accept their unsafe handling of untrusted input.Validated with default and all-feature cargo tests, clippy, and cross-target
cargo check --tests for aarch64 Linux and Windows.
Commit Statistics
- 5 commits contributed to the release.
- 3 commits were understood as conventional.
- 1 unique issue was worked on: #124
Commit Details
view detailsRelease notes
Open source →New Features
- <csr-id-7c19c0a1a810326b9a9e7542a0992d80adf0a365/>
cargo runnow shows the exact commands that were tried when opening. This is useful for debugging, mainly.
Bug Fixes
-
<csr-id-7265cae8c19180c1022d8b1a7fbec815d0264909/> Align WSL PowerShell invocation with Windows Pass the WSL open target to PowerShell through the OPEN_RS_TARGET environment variable instead of embedding it in the command string and escaping it as a single-quoted PowerShell value.
This matches the safer invocation already used by the native Windows backend. Keeping the PowerShell program fixed ensures that paths and URLs are treated purely as data, even when they contain quotes, semicolons, or other PowerShell metacharacters. It also removes the need for custom PowerShell quoting and avoids converting the target through to_string_lossy() during command construction.
Add -NonInteractive for consistency with the Windows launcher and update the WSL tests to verify both the fixed command and the unchanged environment-variable value.
-
<csr-id-fd29861355bfb981aecdb94d0915f4e41c2686ee/> prevent launcher option and shell injection Opening an attacker-controlled dash-leading path could be interpreted as launcher options. On Windows, cmd /c start also parsed embedded quotes and metacharacters as command language, while the legacy gnome-open fallback could load a module even after a double-dash separator.
Add command-construction regressions for malicious option-shaped paths and Windows shell metacharacters. Use supported separators on macOS and KDE, and rewrite dash-leading relative paths for launchers without separator support. Keep Windows values out of shell syntax by passing the default target through the environment and invoking custom applications directly, with explorer.exe as a PowerShell-free fallback.
Exclude cmd-based opening by default, while providing an explicit insecure Cargo feature for users who need compatibility it and accept their unsafe handling of untrusted input.
Validated with default and all-feature cargo tests, clippy, and cross-target cargo check --tests for aarch64 Linux and Windows.
Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release.
- 13 days passed between releases.
- 3 commits were understood as conventional.
- 1 unique issue was worked on: #124
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.3.629 Jun 2026Release notes
Open source →Bug Fixes
-
use PowerShell instead of wslview on WSL
WSL users reported that wslu's wslview is discontinued and unavailable in
some package managers. The regression tests cover the WSL command builder and
initially failed because the first generated command was stillwslview.Build the WSL opener as a PowerShell
Start-Process -FilePathscript argument
with the target quoted as data, then retain the xdg-open, gio, gnome-open, and
kde-open fallbacks. Update the user-facing docs and keep the WSL command builder
testable from host builds without adding dev-dependencies.
Commit Statistics
- 2 commits contributed to the release.
- 48 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #122
Commit Details
view detailsRelease notes
Open source →Bug Fixes
-
<csr-id-44d1d41349fdfd23e5e74e3c0ac4c9aca2ed7282/> use PowerShell instead of wslview on WSL WSL users reported that wslu's wslview is discontinued and unavailable in some package managers. The regression tests cover the WSL command builder and initially failed because the first generated command was still
wslview.Build the WSL opener as a PowerShell
Start-Process -FilePathscript argument with the target quoted as data, then retain the xdg-open, gio, gnome-open, and kde-open fallbacks. Update the user-facing docs and keep the WSL command builder testable from host builds without adding dev-dependencies.
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 48 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #122
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
5.3.511 May 2026Release notes
Open source →Bug Fixes
-
delegate to winebrowser under Wine
When running a Windows-targeted binary under Wine, open requests previously fell back to Wine's bundledexplorer.exe, which lacks proper host desktop integration.This change detects the Wine environment at runtime (via
WINEPREFIX,WINELOADER, orWINEDEBUG) and prepends a winebrowser command to the launcher list.winebrowseris Wine's official utility for forwarding file/URL requests to the host OS's default handler (e.g.,xdg-openon Linux,openon macOS).If winebrowser is unavailable or fails, the existing
cmd /c startfallback is used automatically, preserving backward compatibility. No public API changes or compile-time flags are introduced.
Commit Statistics
- 3 commits contributed to the release.
- 22 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view detailsRelease notes
Open source →Bug Fixes
-
<csr-id-db813693f3f186dac0bcf67fd939f93ca48a0300/> delegate to winebrowser under Wine When running a Windows-targeted binary under Wine, open requests previously fell back to Wine's bundled
explorer.exe, which lacks proper host desktop integration.This change detects the Wine environment at runtime (via
WINEPREFIX,WINELOADER, orWINEDEBUG) and prepends a winebrowser command to the launcher list.winebrowseris Wine's official utility for forwarding file/URL requests to the host OS's default handler (e.g.,xdg-openon Linux,openon macOS).If winebrowser is unavailable or fails, the existing
cmd /c startfallback is used automatically, preserving backward compatibility. No public API changes or compile-time flags are introduced.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 23 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
5.3.419 Apr 2026Release notes
Open source →Bug Fixes
- align with_detached() implementation with with()
On macOS, /usr/bin/open is natively detached. This commit changes
with_detached to use the same logic as with() .avoid double detachment to prevent silent failure
Commit Statistics
- 6 commits contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details- Uncategorized
- Merge pull request #119 from benzeneringlq/fix-macos-detach-silent-failure (7db5738)
- Align with_detached() implementation with with() (8e122d4)
- Merge pull request #117 from ChrisDenton/absolute (20ea175)
- Thanks clippy (on Windows) (7faae87)
- Enable clippy deny on CI, with all features, but allow incompatible MRSV there (1ab9c47)
- Use absolute instead of canonicalize (5604cee)
Release notes
Open source →Bug Fixes
- <csr-id-8e122d41929be6d9780679d6a40971de36247af3/> align with_detached() implementation with with() On macOS, /usr/bin/open is natively detached. This commit changes with_detached to use the same logic as with() .avoid double detachment to prevent silent failure
Commit Statistics
<csr-read-only-do-not-edit/>
- 7 commits contributed to the release.
- 153 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Thanks Clippy
<csr-read-only-do-not-edit/>
Clippy helped 1 time to make code idiomatic.
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Release open v5.3.4 (
7bd519c) - Merge pull request #119 from benzeneringlq/fix-macos-detach-silent-failure (
7db5738) - Align with_detached() implementation with with() (
8e122d4) - Merge pull request #117 from ChrisDenton/absolute (
20ea175) - Thanks clippy (on Windows) (
7faae87) - Enable clippy deny on CI, with all features, but allow incompatible MRSV there (
1ab9c47) - Use absolute instead of canonicalize (
5604cee) </details>
- Release open v5.3.4 (
- align with_detached() implementation with with()
-
5.3.317 Nov 2025Release notes
Open source →Documentation
- point to webbrowser crate for users that seek this specific functionality.
Bug Fixes
- pass canonicalized path to
ILCreateFromPathW
Other
- remove whitespace.
Commit Statistics
- 8 commits contributed to the release.
- 316 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details- Uncategorized
- Merge pull request #116 from Legend-Master/canonicalize-ILCreateFromPathW (a1ca334)
- Fix CI by using a more recent Windows image (c84cade)
- Pass canonicalized path to
ILCreateFromPathW(abcd0f4) - Merge pull request #111 from bjones1/docs (335146b)
- Remove whitespace. (314d80a)
- Point to webbrowser crate for users that seek this specific functionality. (07b246c)
- Merge pull request #110 from bjones1/codespaces (1c4a952)
- Add Codespaces setup. (43b6a2d)
Release notes
Open source →<csr-id-314d80ac36650f3ff57d62596513e1dcda4870fb/>
Documentation
- <csr-id-07b246cf98d0486ba2ca570c803ded41283b90ed/> point to webbrowser crate for users that seek this specific functionality.
Bug Fixes
- <csr-id-abcd0f4810cbcdee4d80dba01a6474ad711efa61/> pass canonicalized path to
ILCreateFromPathW
Commit Statistics
<csr-read-only-do-not-edit/>
- 9 commits contributed to the release.
- 316 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Release open v5.3.3 (
ab1b306) - Merge pull request #116 from Legend-Master/canonicalize-ILCreateFromPathW (
a1ca334) - Fix CI by using a more recent Windows image (
c84cade) - Pass canonicalized path to
ILCreateFromPathW(abcd0f4) - Merge pull request #111 from bjones1/docs (
335146b) - Remove whitespace. (
314d80a) - Point to webbrowser crate for users that seek this specific functionality. (
07b246c) - Merge pull request #110 from bjones1/codespaces (
1c4a952) - Add Codespaces setup. (
43b6a2d) </details>
- Release open v5.3.3 (
-
5.3.205 Jan 2025Release notes
Open source →Bug Fixes
- fix
that_detachedfor UNC path of a directory
Commit Statistics
- 3 commits contributed to the release over the course of 1 calendar day.
- 51 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view detailsRelease notes
Open source →Bug Fixes
- <csr-id-c452a8c4e56c3726431d8a4a77ad910bc8ae3ecb/> fix
that_detachedfor UNC path of a directory
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release over the course of 1 calendar day.
- 52 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- fix
-
5.3.114 Nov 2024Release notes
Open source →On Windows, respect the
expand to open foldersetting.Commit Statistics
- 3 commits contributed to the release.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view detailsRelease notes
Open source →On Windows, respect the
expand to open foldersetting.Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 127 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.3.010 Jul 2024Release notes
Open source →New Features
- add GNU/Hurd support
Handle it like most of the other Unix platforms (e.g. Linux, BSDs, etc).
Commit Statistics
- 2 commits contributed to the release.
- 7 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view detailsRelease notes
Open source →New Features
- <csr-id-58142a695d50460e439f85be3f0bc010936520e6/> add GNU/Hurd support Handle it like most of the other Unix platforms (e.g. Linux, BSDs, etc).
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 8 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- add GNU/Hurd support
-
5.2.002 Jul 2024Release notes
Open source →New Features
- Add AIX support
Commit Statistics
- 2 commits contributed to the release.
- 27 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view detailsRelease notes
Open source →New Features
- <csr-id-d4e66dc1332e49672190060de6b39b13784c5de9/> Add AIX support
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 28 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.1.404 Jun 2024Release notes
Open source →This release adds vision-os support, by means of
iossimulation. See the PR for a little more context.Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 19 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.1.316 May 2024Release notes
Open source →Bug Fixes
- <csr-id-43d8d88a2d5949114cdebcc08a0aad68f2141e54/> use
ShellExecuteExWto avoid freeze when opening directories
Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release.
- 70 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #94
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- <csr-id-43d8d88a2d5949114cdebcc08a0aad68f2141e54/> use
-
5.1.207 Mar 2024Release notes
Open source →Bug Fixes
- <csr-id-2a62e84a234274b53cb77ffcef4ad76630ba7c2f/> link using "system" ABI
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 4 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.1.103 Mar 2024Release notes
Open source →Bug Fixes
- <csr-id-74fd8ec005d9bd24e6cb604e3239730b0b414b84/> add
shellexecute-on-windowsfeature. That way, it's possible to toggle on a feature that might cause issues in some dependency trees that containflate2withzlib-ngbackend.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 2 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- <csr-id-74fd8ec005d9bd24e6cb604e3239730b0b414b84/> add
-
5.1.001 Mar 2024 withdrawnRelease notes
Open source →New Features
- <csr-id-191cb0e2201c911d1bf0df3ba03062c6d9b6e738/> use
ShellExecuteWfor detached spawning on Windows
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 2 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- <csr-id-191cb0e2201c911d1bf0df3ba03062c6d9b6e738/> use
-
5.0.228 Feb 2024Release notes
Open source →<csr-id-a583658a2f2cfea64c3be6e12cef159f5cbc7fbf/>
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 98 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.0.122 Nov 2023Release notes
Open source →<csr-id-dca688bf473169b6d779695e35cb05596d094ba1/>
Bug Fixes
- <csr-id-15eedee81d851dd26e78984030020ba252812419/> open paths with given applications with whitespace in their paths on windows.
Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release.
- 150 days passed between releases.
- 2 commits were understood as conventional.
- 1 unique issue was worked on: #85
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
5.0.025 Jun 2023Release notes
Open source →Bug Fixes (BREAKING)
-
<csr-id-ddf4842dc78389e87615f5c2ddf9e859b11277b2/>
with()on windows to be able to lookupprogramin registry/PATH. The underlying invocation ofwith()changed slightly on windows to make it more useful as it can now find application names likechromein the registry, but that change may also be breaking for some who previously worked around the previous behaviour.Please let us know if this truly works better, or if more changes are needed to launch something with a program on Windows.
See https://github.com/Byron/open-rs/pull/82 for details.
Commit Statistics
<csr-read-only-do-not-edit/>
- 5 commits contributed to the release over the course of 3 calendar days.
- 4 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #80
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- #80
- Uncategorized
-
-
4.2.021 Jun 2023Release notes
Open source →<csr-id-323b8ea2aba9b0661bf3af6bd48ccef53197b0bf/>
New Features
-
<csr-id-7ad9cb373eb7e999f7e79705db891fd24a4d4bd2/> add
that_detached()andwith_detached()functions.They allow to open the program in a completely independent fashion so that it can out-live the program that spawned it.
Commit Statistics
<csr-read-only-do-not-edit/>
- 5 commits contributed to the release over the course of 28 calendar days.
- 56 days passed between releases.
- 2 commits were understood as conventional.
- 1 unique issue was worked on: #8
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
4.1.026 Apr 2023Release notes
Open source →New Features
- <csr-id-b8089a6403394a56e9d023cee85e839f91ddc9aa/> Add Redox support.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release over the course of 9 calendar days.
- 10 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #74
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
4.0.216 Apr 2023Release notes
Open source →Bug Fixes
-
<csr-id-5f1f80f9fb63e6c63b48ef97370711fd8cebcfcc/> now works within WSL if
giois installed.giowould fail on WSL which is fixed by detecting that WSL is present which is whenwslviewwill be prioritized.Note that the binary size inceases by ~13kb as we try to avoid running
wslviewfirst and fail everywhere, so prefer runtime performance on linux over binary size. The binary size changes only on unix.
Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release.
- 27 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #71
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
4.0.120 Mar 2023Release notes
Open source →In the previous releases 3.3 and 4.0 on windows the console windows would show. This was unintentional and is now fixed.
Thanks so much for the contribution.
Bug Fixes
- <csr-id-bc75d847c6c89cdd835f4220d6a0ed9a6985b41e/> hide the console window in Windows
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 10 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
4.0.010 Mar 2023 withdrawnRelease notes
Open source →Bug Fixes
-
<csr-id-9ceb0a4b707022a6ce8046d3512be7c7a51d77a4/> Windows URL encoding for multiple query params Previously, passing a URL with multiple query parameters on Windows would result in improper escaping, causing unexpected behavior when using it with "cmd /c". This commit addresses this issue by properly escaping all query parameters in the URL. Now, URLs with multiple query parameters are handled correctly on Windows.
See also:
- https://doc.rust-lang.org/std/os/windows/process/trait.CommandExt.html#tymethod.raw_arg
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmd
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/start
New Features (BREAKING)
-
<csr-id-0cd6f98d0a97ac3ddcecefc5d33952e7632298a5/> set minimal required Rust version of 1.62. This version is motivated only when compiling on windows (but we can't differentiate that) due to the recent addition of
CommandExt::raw_arg().This might be a breaking change as previously there was no minimal supported Rust version.
Commit Statistics
<csr-read-only-do-not-edit/>
- 5 commits contributed to the release.
- 4 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
3.4.006 Mar 2023 withdrawnRelease notes
Open source →<csr-id-7e2a9c645cd4ff5f86ece7cdc220e18c1b4ac1b5/>
New Features
- <csr-id-adf99e91af0f1c034123170e6dca77489484b004/> un-deprecate
that_in_background(). In some configurations launchers may block, thus it's better to provide an easy mechanism to unblock an otherwise blocking call. This is alongside being able to usecommand()directly and simply spawn the command without waiting for it. - <csr-id-66e0d7c295317aed27e89af8e323dde3b761c0e3/>
with_command()to obtain the command that opens a program with a given application. - <csr-id-a501d65388562724471b5493fe54c88fe23df31e/> improved error messages that will list the invoked command.
- <csr-id-245c95ede24adc6694d935993d6045d19a935035/>
commands()function to obtain a list of launchers to open the given path. This allows async applications to control the application launch in an async way, for instance withtokio.
Commit Statistics
<csr-read-only-do-not-edit/>
- 11 commits contributed to the release.
- 5 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Thanks Clippy
<csr-read-only-do-not-edit/>
Clippy helped 1 time to make code idiomatic.
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Release open v3.4.0 (
031c44b) - Improve README (
bfededa) - Improve documentation around how to use the library. (
7e2a9c6) - Modernize generics of API using
implinstead of 'the other way'. (cb322bf) - Thanks clippy (
2f6fb47) - Un-deprecate
that_in_background(). (adf99e9) with_command()to obtain the command that opens a program with a given application. (66e0d7c)- Refactor (
c2e0eb2) - Improved error messages that will list the invoked command. (
a501d65) commands()function to obtain a list of launchers to open the given path. (245c95e)- Remove dbg! statement (
5644f17) </details>
- Release open v3.4.0 (
- <csr-id-adf99e91af0f1c034123170e6dca77489484b004/> un-deprecate
-
3.3.006 Mar 2023 withdrawnRelease notes
Open source →New Features
-
<csr-id-fdd2ef013fe7dee1767694e229f4653f16d4ab8a/> add command function to return std::Command Adds new
commandfunction that returns the underlyingstd::Commandthat would be called to open given path. -
<csr-id-056cb003d19a6deb58214a041ee76d62716524c2/> use std Command Use std
Commandinstead ofShellExecuteWfrom windows sys crate.This change was already attempted in: https://github.com/Byron/open-rs/issues/25 and later reverted in: https://github.com/Byron/open-rs/pull/27 and it it seems that it didn't work due to incorrect usage of
explorerinstead ofcmd /c start. (see https://github.com/helix-editor/helix/pull/5820#issuecomment-1416796024 for detailed explanation).
Bug Fixes
-
<csr-id-55dc10dd1b3d04dbb0c7acb2b0a5efe7fc97dee6/> don't unnecessarily reject launchers on linux. Previously it probably went through 5 launers assuming they don't work before falling back to
xdg-openwhich is usually present.Now it will use the first launcher that it could invoke.
Commit Statistics
<csr-read-only-do-not-edit/>
- 8 commits contributed to the release.
- 105 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Release open v3.3.0 (
6600c23) - Don't unnecessarily reject launchers on linux. (
55dc10d) - Try commands without args (
8aa9bce) - Add command function to return std::Command (
fdd2ef0) - Merge branch 'md/windows-command' (
0d09f28) - Remove win32-msvc from build matrix as it fails due to permission-denied with rustup.exe (
1f4a9f9) - Refactor (
7ab725a) - Use std Command (
056cb00) </details>
- Release open v3.3.0 (
-
-
3.2.021 Nov 2022Release notes
Open source →New Features
- <csr-id-c3d2819d121ede284ba12d26ac3272c1f664c4ed/> upgrade
windows-systo more recent version. This mainly reduces build times for some, and may increase them for others, on windows only. If build times increase, try to upgradewindows-sysacross the dependency tree.
Commit Statistics
<csr-read-only-do-not-edit/>
- 5 commits contributed to the release.
- 1 day passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- <csr-id-c3d2819d121ede284ba12d26ac3272c1f664c4ed/> upgrade
-
3.1.020 Nov 2022 withdrawnRelease notes
Open source →YANKED
New Features
- <csr-id-a1c8dd79eb6c4f91a92aa631fd0d8bc163d1a05c/> upgrade
windows-systo more recent version. This mainly reduces build times for some, and may increase them for others, on windows only. If build times increase, try to upgradewindows-sysacross the dependency tree.
Commit Statistics
<csr-read-only-do-not-edit/>
- 7 commits contributed to the release.
- 65 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- <csr-id-a1c8dd79eb6c4f91a92aa631fd0d8bc163d1a05c/> upgrade
-
3.0.316 Sep 2022Release notes
Open source →Bug Fixes
- <csr-id-4c0fdb3bacd73c881c6e8178248c588932ec6196/> quote paths on windows to allow spaces in paths not be treated as multiple paths. Note that paths that are already quoted will also be quoted, as the current quoting implementation is unconditional.
Commit Statistics
<csr-read-only-do-not-edit/>
- 5 commits contributed to the release over the course of 60 calendar days.
- 60 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Release open v3.0.3 (
9c69785) - Quote paths on windows to allow spaces in paths not be treated as multiple paths. (
4c0fdb3) - Refactor (
e0d5968) - Fixed issue on Windows where a space in a path could cause problems with specific programs. (
1ab9bc3) - Try to fix CI by not using nightly toolchains on windows (
b20e01c) </details>
- Release open v3.0.3 (
-
3.0.217 Jul 2022Release notes
Open source →Bug Fixes
- <csr-id-fe70aad1ee0c792b83e1c5faabda8d2c142cdabe/> Improve documentation about blocking behaviour.
Commit Statistics
<csr-read-only-do-not-edit/>
- 2 commits contributed to the release.
- 36 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #51
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
3.0.112 Jun 2022Release notes
Open source →Bug Fixes
- <csr-id-df358d296fc40801e970654bf2b689577637db5e/> deprecate
that_in_background()asthat()is definitely non-blocking now. Note that we keepwith_in_background()as it's unclear if a custom launcher blocks or not.
Commit Statistics
<csr-read-only-do-not-edit/>
- 2 commits contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- <csr-id-df358d296fc40801e970654bf2b689577637db5e/> deprecate
-
3.0.012 Jun 2022Release notes
Open source →A major release which simplifies the error type to resolve a significant problems that surfaced on linux (and was present from day one).
Bug Fixes (BREAKING)
-
<csr-id-0bdc6d64ed425b2627a7ba17614f44ba686536fb/> Assure
that(…)is non-blocking on linux This change goes hand in hand with removing additional information from the error case which was the reason for the blocking issue on linux.Note that the top-level
Resulttype was also removed.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 9 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
-
2.1.303 Jun 2022Release notes
Open source →A maintenance release which reduces compile times on windows by switching from
winapito thewindowscrate.Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 35 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.1.229 Apr 2022Release notes
Open source →<csr-id-85f4dfdafe6119af5b3a5d8f079279818d3d61ee/>
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 55 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.1.105 Mar 2022Release notes
Open source →A maintenance release which allows boxed values in parameter position.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release.
- 11 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.1.021 Feb 2022Release notes
Open source →- add support for illumnos
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 9 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.0.313 Feb 2022Release notes
Open source →On MacOS, specify the
openprogram explicitly by path, instead of relying on a similarly named program to be available in thePATH.Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 74 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.0.230 Nov 2021Release notes
Open source →Bug Fixes
- <csr-id-30a144ac15acffbc78005cd67d3f783aa2526498/> Prevent deadlocks due to filled pipe on stderr
Commit Statistics
<csr-read-only-do-not-edit/>
- 7 commits contributed to the release.
- 129 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #85
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
2.0.116 Aug 2021 -
2.0.025 Jul 2021Release notes
Open source →Breaking: Change result from
io::Result<ExitStatus>toio::Result<()>. Commands that exit with a successful exit status result inOk, otherwise anErrvariant is created. Previously it was easy to receive anOk(ExitStatus)but forget to actually check the status. Along with issues with particular programs reporting success even on error, doing error handling correctly was close to impossible. This releases alleviates most of the issues. -
1.7.117 Jul 2021Release notes
Open source →- Improved support for Windows Subsystem for Linux
Commit Statistics
<csr-read-only-do-not-edit/>
- 9 commits contributed to the release.
- 90 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- (cargo-release) version 1.7.1 (
c5c0bf7) - Prepare release (
866740b) - Be bold and assert (
1dfb789) - Cargo fmt (
5bc5e8e) - Improve support for wsl. (
428ff97) - Merge pull request #32 from apogeeoak/exit_status (
81d8c40) - Cargo fmt (
215227a) - Clarify what the error handler does (
4f87a78) - Handle unsuccessful exit status. (
d2d35af) </details>
- (cargo-release) version 1.7.1 (
-
1.7.018 Apr 2021Release notes
Open source →- Add
giosupport on unix platforms
Commit Statistics
<csr-read-only-do-not-edit/>
- 7 commits contributed to the release over the course of 38 calendar days.
- 39 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- (cargo-release) version 1.7.0 (
ac09da1) - Update changelog (
e39f357) - Re-enable CI after branch renaming (
0db1b1a) - Merge pull request #31 from City-busz/patch-1 (
10fd4a7) - Remove unnecessary allocation (
6a1766a) - Add support for gio open on Linux (
90bc634) - Update changelog to reflect 1.5.1 is also yanked (
ccbae5d) </details>
- (cargo-release) version 1.7.0 (
- Add
-
1.6.010 Mar 2021 -
1.5.103 Mar 2021 withdrawnRelease notes
Open source →YANKED as it would erroneously exclude Android from the list of supported platforms, making it a breaking release for some despite the minor version change.
- Use shell instead of explorer on windows, reverting the original behaviour.
-
1.5.028 Feb 2021 withdrawnRelease notes
Open source →YANKED to avoid potential for breakage by using 'explorer.exe' to open URLs.
- Use 'explorer' on Windows instead of a shell.
Commit Statistics
<csr-read-only-do-not-edit/>
- 8 commits contributed to the release over the course of 7 calendar days.
- 7 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- (cargo-release) version 1.6.0 (
68613a5) - More coherent ordering of target_os attributes (
c058966) - Restore android support (
9e20f22) - Adjust changelog in preparation for release (
9bfefd0) - Merge pull request #28 from aspenluxxxy/ios (
049f698) - Bring back Android support (
ef91705) - Add iOS support (
00119a7) - Run cargo-fmt (
330c2d0) </details>
- (cargo-release) version 1.6.0 (
-
1.4.008 Mar 2020Release notes
Open source →- add
open::with(path, app)andopen::with_in_background(…)
Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release over the course of 25 calendar days.
- 26 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- add
-
1.3.411 Feb 2020Release notes
Open source →<csr-id-5c1497c6d09a829d4be19e9bd3eec5557efce370/>
- Add LICENSE.md and README.md into the crates.io tarball.
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release over the course of 9 calendar days.
- 184 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.3.301 Feb 2020 -
1.3.211 Aug 2019Release notes
Open source →Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 13 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.3.128 Jul 2019Release notes
Open source →Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 26 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.3.028 Jul 2019Nothing published for this version
-
1.2.303 Jul 2019Release notes
Open source →<csr-id-c2908176e2bb982a679d7097584e584a53deaf15/>
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release over the course of 16 calendar days.
- 332 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.2.205 Aug 2018Release notes
Open source →Commit Statistics
<csr-read-only-do-not-edit/>
- 6 commits contributed to the release.
- 315 days passed between releases.
- 0 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.2.124 Sep 2017Release notes
Open source →<csr-id-79bc73b7ca0927f0594670bcc23de989693275c0/>
Commit Statistics
<csr-read-only-do-not-edit/>
- 7 commits contributed to the release over the course of 178 calendar days.
- 236 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- Version bump - fix windows 'start' invocation (
d52cfb2) - Merge pull request #11 from reiner-dolp/master (
59dd0bd) - Merge pull request #9 from skade/patch-1 (
c017217) - Fix filenames with spaces on windows (
a631235) - Fix a small typo (
89caa59) - Merge pull request #7 from tshepang/misc (
0ccdbd0) - Improve example (
79bc73b) </details>
- Version bump - fix windows 'start' invocation (
-
1.2.031 Jan 2017Release notes
Open source →<csr-id-37a253c89b1241b6f6ca0d3cafc8baa936aa274f/>
- windows: escape '&' in URLs. On windows, a shell is used to execute the command, which requires certain precautions for the URL to open to get through the interpreter.
Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 296 days passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.1.110 Apr 2016Release notes
Open source →<csr-id-da45d9bad33fd9ed9659ec56ffe3b31d310253ca/>
Bug Fixes
- cargo: no docs for open (31605e0e)
- <csr-id-31605e0eddfb0cf8db635dd4d86131bc46beae78/> no docs for open And I thought I did that, but disabled tests only ... .
Improvements
- api: allow OSStrings instead of &str (1d13a671)
Features
- open added 'open' program (a4c3a352)
Bug Fixes
- cargo description added (0fcafb56)
- open
- don't use 'open' on linux (30c96b1c)
- linux uses open before anything else (4696d1a5)
- <csr-id-31605e0eddfb0cf8db635dd4d86131bc46beae78/> no docs for open And I thought I did that, but disabled tests only ... .
Commit Statistics
<csr-read-only-do-not-edit/>
- 4 commits contributed to the release over the course of 276 calendar days.
- 277 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
-
1.1.008 Jul 2015Release notes
Open source →<csr-id-a5557d5c096983cf70f59b1807cb6fbe2b6dab5e/> <csr-id-8db67f5874b007ea3710ed9670e88ad3f49b6d7d/> <csr-id-d816380f9680a9d56e22a79e025dc6c2073fb439/> <csr-id-bf8c9a11f4c1b1ac17d684a31c90d2a38255045e/> <csr-id-210ec6ef37ba7d230a0cc367e979173a555fa092/>
Documentation
- <csr-id-c2e31d55da439e30639da2d014951e2eb2b851ff/> added travis badge [skip ci]
New Features
- <csr-id-a4c3a352c8f912211d5ab48daaf41cb847ebcc0c/> added 'open' program
Which uses the
openlibrary to open any path or url.
Bug Fixes
<csr-id-30c96b1cb95c1e03bede218b8fb03bbd9ada9317/> <csr-id-4696d1a5ec80691e97bb1be4261d4f79ee0ade4d/> <csr-id-0fcafb56cdb5d154b3e983d17c93a1dd7c665426/>
- <csr-id-25c0e398856c24a2daf0444640567ed3fd2f4307/> use result I wonder why that was not shown when I compiled it
- <csr-id-8b4e1558f09937c555ab381ea6399a2c0758c23d/> (07560d233 2015-04-20) (built 2015-04-19)
- use std::io consistently
- adjust to improved
CommandAPI
Commit Statistics
<csr-read-only-do-not-edit/>
- 13 commits contributed to the release.
- 131 days passed between releases.
- 12 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- V1.1.0 (
a5557d5) - Use result (
25c0e39) - Added 'open' program (
a4c3a35) - Merge pull request #1 from oli-obk/patch-1 (
dee0000) - Start is a cmd command, not an executable (
210ec6e) - Use stable instead of beta (
8db67f5) - Switch to travis-cargo (
d816380) - Added sublime-rustc-linter cfg (
bf8c9a1) - (07560d233 2015-04-20) (built 2015-04-19) (
8b4e155) - Don't use 'open' on linux (
30c96b1) - Linux uses open before anything else (
4696d1a) - Description added (
0fcafb5) - Added travis badge (
c2e31d5) </details>
- V1.1.0 (
-
1.0.321 Apr 2015Nothing published for this version
-
1.0.228 Feb 2015Nothing published for this version
-
1.0.127 Feb 2015Nothing published for this version
-
1.0.027 Feb 2015Release notes
Open source →New Features
-
<csr-id-6fbf79011577d465d9fed94a07a5f75b63199609/> from zero to 1.0.0 Contains everything, including
- API docs
- usage
- CI
Commit Statistics
<csr-read-only-do-not-edit/>
- 1 commit contributed to the release.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
- Uncategorized
- From zero to 1.0.0 (
6fbf790) </details>
- From zero to 1.0.0 (
-