Skip to content

os

Access operating system-specific information.

2.3.x

2.3.2

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

2.3.1

Aug 20, 2025
  • 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

Jun 25, 2025

2.2.x

2.2.2

Jun 16, 2025
  • 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

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

2.2.0

Dec 9, 2024
  • 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.x

2.0.1

Oct 3, 2024

2.0.0

Oct 2, 2024
  • e2c4dfb6 Update to tauri v2 stable release.

2.0.0-rc.x

2.0.0-rc.1

Aug 29, 2024

2.0.0-rc.0

Aug 2, 2024

2.0.0-beta.x

2.0.0-beta.8

Jul 31, 2024

2.0.0-beta.7

Jul 12, 2024
  • 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

Jul 2, 2024

2.0.0-beta.5

May 30, 2024

2.0.0-beta.4

May 30, 2024

2.0.0-beta.3

May 1, 2024
  • bd1ed590(#1237) Update to tauri beta.17.

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

2.0.0-beta.2

Mar 7, 2024

2.0.0-beta.1

Feb 21, 2024

2.0.0-beta.0

Feb 3, 2024

2.0.0-alpha.x

2.0.0-alpha.6

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

2.0.0-alpha.5

Dec 14, 2023
  • 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

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

2.0.0-alpha.3

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

2.0.0-alpha.2

Aug 15, 2023

2.0.0-alpha.1

Aug 14, 2023
  • 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

May 24, 2023

Full Changelog

os full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT