tauri-plugin-device-info-api 1.2.0 → 1.3.1
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 +41 -0
- package/README.md +5 -3
- package/package.json +12 -12
- package/examples/tauri-app/.vscode/extensions.json +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,45 @@ 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.1] - 2026-11-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **MAC address could change after upgrading to 1.3.0** (Windows, macOS,
|
|
13
|
+
Linux). 1.3.0 picked the "default" network interface through a route to
|
|
14
|
+
`10.254.254.254` (the `netdev` crate's method) instead of `1.1.1.1:80`. On
|
|
15
|
+
machines with a separate route to 10.0.0.0/8, such as a second network card
|
|
16
|
+
for a POS network, a split-tunnel VPN, or some Docker or Hyper-V networks, it
|
|
17
|
+
could pick a different card and report a different MAC than 1.2.x. The
|
|
18
|
+
interface is chosen through `1.1.1.1:80` again, exactly as before 1.3.0. If
|
|
19
|
+
you derive an identity from the MAC address, skip 1.3.0.
|
|
20
|
+
|
|
21
|
+
## [1.3.0] - 2026-11-18
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Minimum versions:** the plugin now requires Tauri **2.12** (`tauri`
|
|
26
|
+
crate) and `@tauri-apps/api` **^2.12.5**.
|
|
27
|
+
- **Dependencies:**
|
|
28
|
+
- `sysinfo` 0.40, `wmi` 0.18 (Windows), and the other dependencies
|
|
29
|
+
updated within range.
|
|
30
|
+
- Apple Silicon: `sysinfo` now reads the CPU clock, so the device tier
|
|
31
|
+
score can rise slightly (an M5 Pro moves from 90 to 92).
|
|
32
|
+
- **Mobile builds:** desktop-only crates (`sysinfo`, `local-ip-address`, the
|
|
33
|
+
network crate) are no longer compiled for iOS and Android
|
|
34
|
+
([#7](https://github.com/edisdev/tauri-plugin-device-info/pull/7)).
|
|
35
|
+
- **Package manager:** the repository uses pnpm instead of yarn. Install
|
|
36
|
+
commands in the docs show npm, pnpm and yarn.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- **Unmaintained crates replaced:**
|
|
41
|
+
- `battery` is replaced by `starship-battery`, its maintained fork, on
|
|
42
|
+
Windows and Linux. On macOS it was never used and is no longer compiled.
|
|
43
|
+
- `default-net` is replaced by `netdev`, its successor.
|
|
44
|
+
- **Security advisories:** no known advisories remain in the JS
|
|
45
|
+
dependencies of the plugin, the docs or the example app.
|
|
46
|
+
|
|
8
47
|
## [1.2.0] - 2026-11-17
|
|
9
48
|
|
|
10
49
|
### Added
|
|
@@ -122,6 +161,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
122
161
|
`getStorageInfo`, and `getDisplayInfo` across Windows, macOS, Linux, iOS, and
|
|
123
162
|
Android.
|
|
124
163
|
|
|
164
|
+
[1.3.1]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.3.1
|
|
165
|
+
[1.3.0]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.3.0
|
|
125
166
|
[1.2.0]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.2.0
|
|
126
167
|
[1.1.1]: https://github.com/edisdev/tauri-plugin-device-info/releases/tag/v1.1.1
|
|
127
168
|
[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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "1.3.1",
|
|
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.
|
|
57
|
+
"@tauri-apps/api": "^2.12.5"
|
|
62
58
|
},
|
|
63
59
|
"devDependencies": {
|
|
64
|
-
"@rollup/plugin-typescript": "^12.
|
|
65
|
-
"rollup": "^4.
|
|
66
|
-
"
|
|
67
|
-
"
|
|
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
|
}
|