Skip to content

Update Rust crate open to v5.4.0 - #169

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/open-5.x-lockfile
Open

Update Rust crate open to v5.4.0#169
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/open-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
open dependencies minor 5.3.25.4.0

Release Notes

Byron/open-rs (open)

v5.4.0

Compare Source

New Features
  • cargo run now 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 details
  • #​124
    • Prevent launcher option and shell injection (fd29861)
  • Uncategorized
    • Merge pull request #​126 from Byron/fix-wsl (bdc3397)
    • Align WSL PowerShell invocation with Windows (7265cae)
    • Merge pull request #​125 from Byron/open-with-dash-dash (407b058)
    • cargo run now shows the exact commands that were tried when opening. (7c19c0a)

v5.3.6

Compare 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 still wslview.

    Build the WSL opener as a PowerShell Start-Process -FilePath script 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
  • 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
view details

v5.3.5

Compare Source

Bug Fixes
  • 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, or WINEDEBUG) and prepends a winebrowser command to the launcher list. winebrowser is Wine's official utility for forwarding file/URL requests to the host OS's default handler (e.g., xdg-open on Linux, open on macOS).

    If winebrowser is unavailable or fails, the existing cmd /c start fallback is used automatically, preserving backward compatibility. No public API changes or compile-time flags are introduced.

Commit Statistics
  • 4 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 details

v5.3.4

Compare 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
  • 7 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
    • 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)

v5.3.3

Compare Source

Documentation
  • point to webbrowser crate for users that seek this specific functionality.
Bug Fixes
  • pass canonicalized path to ILCreateFromPathW
Commit Statistics
  • 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
view details
  • 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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 6am on the first day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Apr 1, 2026
@renovate
renovate Bot force-pushed the renovate/open-5.x-lockfile branch from 932b9df to 32e4e6a Compare April 22, 2026 09:23
@renovate renovate Bot changed the title Update Rust crate open to v5.3.3 Update Rust crate open to v5.3.4 Apr 22, 2026
@renovate
renovate Bot force-pushed the renovate/open-5.x-lockfile branch from 32e4e6a to 0c78e44 Compare May 15, 2026 00:32
@renovate renovate Bot changed the title Update Rust crate open to v5.3.4 Update Rust crate open to v5.3.5 May 15, 2026
@renovate
renovate Bot force-pushed the renovate/open-5.x-lockfile branch from 0c78e44 to 1d5572e Compare July 2, 2026 09:59
@renovate renovate Bot changed the title Update Rust crate open to v5.3.5 Update Rust crate open to v5.3.6 Jul 2, 2026
@renovate
renovate Bot force-pushed the renovate/open-5.x-lockfile branch from 1d5572e to 0fb943c Compare July 15, 2026 09:03
@renovate renovate Bot changed the title Update Rust crate open to v5.3.6 Update Rust crate open to v5.4.0 Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants