tauri-plugin-device-info-api 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.0] - 2026-11-18
9
+
10
+ ### Changed
11
+
12
+ - **Minimum versions:** the plugin now requires Tauri **2.12** (`tauri`
13
+ crate) and `@tauri-apps/api` **^2.12.5**.
14
+ - **Dependencies:**
15
+ - `sysinfo` 0.40, `wmi` 0.18 (Windows), and the other dependencies
16
+ updated within range.
17
+ - Apple Silicon: `sysinfo` now reads the CPU clock, so the device tier
18
+ score can rise slightly (an M5 Pro moves from 90 to 92).
19
+ - **Mobile builds:** desktop-only crates (`sysinfo`, `local-ip-address`, the
20
+ network crate) are no longer compiled for iOS and Android
21
+ ([#7](https://github.com/edisdev/tauri-plugin-device-info/pull/7)).
22
+ - **Package manager:** the repository uses pnpm instead of yarn. Install
23
+ commands in the docs show npm, pnpm and yarn.
24
+
25
+ ### Fixed
26
+
27
+ - **Unmaintained crates replaced:**
28
+ - `battery` is replaced by `starship-battery`, its maintained fork, on
29
+ Windows and Linux. On macOS it was never used and is no longer compiled.
30
+ - `default-net` is replaced by `netdev`, its successor.
31
+ - **Security advisories:** no known advisories remain in the JS
32
+ dependencies of the plugin, the docs or the example app.
33
+
8
34
  ## [1.2.0] - 2026-11-17
9
35
 
10
36
  ### Added
@@ -122,6 +148,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
122
148
  `getStorageInfo`, and `getDisplayInfo` across Windows, macOS, Linux, iOS, and
123
149
  Android.
124
150
 
151
+ [1.3.0]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.3.0
125
152
  [1.2.0]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.2.0
126
153
  [1.1.1]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.1.1
127
154
  [1.1.0]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.1.0
package/README.md CHANGED
@@ -60,6 +60,8 @@ A comprehensive Tauri plugin to access device information including Battery, Net
60
60
  ```bash
61
61
  npm run tauri add device-info
62
62
  # or
63
+ pnpm tauri add device-info
64
+ # or
63
65
  yarn tauri add device-info
64
66
  ```
65
67
 
@@ -69,7 +71,7 @@ yarn tauri add device-info
69
71
 
70
72
  ```toml
71
73
  [dependencies]
72
- tauri-plugin-device-info = "1.2" # Check crates.io for latest version
74
+ tauri-plugin-device-info = "1.3" # Check crates.io for latest version
73
75
  # or from git
74
76
  tauri-plugin-device-info = { git = "https://github.com/edisdev/tauri-plugin-device-info" }
75
77
  ```
@@ -79,7 +81,7 @@ tauri-plugin-device-info = { git = "https://github.com/edisdev/tauri-plugin-devi
79
81
  ```json
80
82
  {
81
83
  "dependencies": {
82
- "tauri-plugin-device-info-api": "^1.2.0"
84
+ "tauri-plugin-device-info-api": "^1.3.0"
83
85
  }
84
86
  }
85
87
  ```
@@ -468,7 +470,7 @@ cargo fmt -- --check
468
470
  cargo clippy -- -D warnings
469
471
 
470
472
  # JavaScript type check
471
- yarn tsc --noEmit
473
+ pnpm exec tsc --noEmit
472
474
  ```
473
475
 
474
476
  ## Changelog
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-device-info-api",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "author": "edisdev<edisdev14@gmail.com>",
5
5
  "description": "A Tauri plugin to access device information.",
6
6
  "license": "MIT",
@@ -50,20 +50,20 @@
50
50
  ],
51
51
  "files": [
52
52
  "dist-js",
53
- "README.md"
53
+ "README.md",
54
+ "CHANGELOG.md"
54
55
  ],
55
- "scripts": {
56
- "build": "rollup -c",
57
- "prepublishOnly": "yarn build",
58
- "pretest": "yarn build"
59
- },
60
56
  "dependencies": {
61
- "@tauri-apps/api": "^2.0.0"
57
+ "@tauri-apps/api": "^2.12.5"
62
58
  },
63
59
  "devDependencies": {
64
- "@rollup/plugin-typescript": "^12.0.0",
65
- "rollup": "^4.9.6",
66
- "typescript": "^5.3.3",
67
- "tslib": "^2.6.2"
60
+ "@rollup/plugin-typescript": "^12.3.1",
61
+ "rollup": "^4.68.5",
62
+ "tslib": "^2.9.1",
63
+ "typescript": "^5.9.3"
64
+ },
65
+ "scripts": {
66
+ "build": "rollup -c",
67
+ "pretest": "pnpm build"
68
68
  }
69
69
  }
@@ -1,7 +0,0 @@
1
- {
2
- "recommendations": [
3
- "svelte.svelte-vscode",
4
- "tauri-apps.tauri-vscode",
5
- "rust-lang.rust-analyzer"
6
- ]
7
- }