Files
tauri-plugins-workspace/plugins/os/CHANGELOG.md
T
github-actions[bot]andLucas Nogueira cbfd428bcc Publish New Versions (v2) (#3618)
* publish new versions

* clippy

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-09-26 17:21:49 -03:00

10 KiB

Changelog

[2.4.0]

  • ae3c808e (#3602) The plugin's global API script (used with app.withGlobalTauri) now resolves the core API from window.__TAURI__ instead of bundling its own copy of @tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an Image from window.__TAURI__.image passed to clipboardManager.writeImage, which previously failed the instanceof check against the plugin's private copy), and the script is considerably smaller.
  • 9b29b601 Update MSRV to 1.90 to match tauri.
  • a87a3c7d Update documentation.

[2.3.2]

  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.

[2.3.1]

  • d3d290ab (#2912 by @FabianLars) Unlocked version of serialize-to-javascript from =0.1.1 to ^0.1.1 for compatibility with Tauri's upcoming version 2.8.

[2.3.0]

[2.2.2]

  • f634e524 This is an "empty" release to update the plugins' source files on crates.io and docs.rs. This should fix docs.rs build failures for projects using tauri plugins as dependencies.

[2.2.1]

  • a1b3fa27 (#2515 by @FabianLars) Re-exported the Geolocation, Haptics, Notification, and Os structs so that they show up on docs.rs.

[2.2.0]

  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.

[2.0.1]

[2.0.0]

  • e2c4dfb6 Update to tauri v2 stable release.

[2.0.0-rc.1]

[2.0.0-rc.0]

[2.0.0-beta.8]

[2.0.0-beta.7]

  • 40ef9a81 (#1514 by @fynntang) Changed: platform, arch, type, family, version and exe_extension functions in the documentation examples to better reflect that these functions are synchronous.
  • 22a17980 (#1537 by @lucasfernog) Update to tauri beta.24.

[2.0.0-beta.6]

[2.0.0-beta.5]

[2.0.0-beta.4]

[2.0.0-beta.3]

[2.0.0-beta.3]

  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.

[2.0.0-beta.2]

[2.0.0-beta.1]

[2.0.0-beta.0]

[2.0.0-alpha.6]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.

[2.0.0-alpha.5]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.
  • fc62ead(#721) Fix Uncaught TypeError: Cannot read properties of undefined (reading 'os')

[2.0.0-alpha.4]

  • e438e0a(#676) Update to @tauri-apps/api v2.0.0-alpha.11.

[2.0.0-alpha.3]

  • 5c13736(#673) Update to @tauri-apps/api v2.0.0-alpha.9.

[2.0.0-alpha.2]

[2.0.0-alpha.2]

  • e510f2f(#561) Fix macss -> macos typo in OsType type.

[2.0.0-alpha.1]

  • 1091d6d(#419) The os plugin is recieving a few changes to improve consistency and add new features:

    • Renamed Kind enum to OsType and kind() function to os_type().
    • Added family(),exe_extension(), and hostname() functions and their equivalents for JS.
    • Removed tempdir() function and its equivalent on JS, use std::env::temp_dir instead of temp_dir from tauri::path::PathResolver::temp_dir and path.tempDir on JS.
    • Modified platform() implementation to return windows instead of win32 and macos instead of darwin to align with Rust's std::env::consts::OS
    • EOL const in JS has been modified into a function eol() fix import issues in frameworks like next.js
  • d74fc0a(#555) Update to alpha.11.

[2.0.0-alpha.0]