GeezerVison is showing github.com — publish new versions (#2545) · tauri-apps/tauri-plugin-shell@99c0aad
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: CHANGELOG.md +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## \[2.2.1] |
| 4 | + |
| 5 | +### bug |
| 6 | + |
| 7 | +- [`9cf0390a`](https://github.com/tauri-apps/plugins-workspace/commit/9cf0390a52497e273db1a1b613a0e26827aa327c) Apply the default open validation regex `^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+` when the open configuration is not set, preventing unchecked input from being used in this scenario (previously the plugin would skip validation when it should disable all calls). This keeps backwards compatibility while still fixing this vulnerability. |
| 8 | + The scope is no longer validated for Rust calls via `ShellExt::shell()` so if you need to block JavaScript from calling the API you can simply set `tauri.conf.json > plugins > shell > open` to `false`. |
| 9 | + |
3 | 10 | ## \[2.2.0] |
4 | 11 |
|
5 | 12 | - [`3a79266b`](https://github.com/tauri-apps/plugins-workspace/commit/3a79266b8cf96a55b1ae6339d725567d45a44b1d) ([#2173](https://github.com/tauri-apps/plugins-workspace/pull/2173) by [@FabianLars](https://github.com/tauri-apps/plugins-workspace/../../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. |
|
Collapse file
Copy file name to clipboardExpand all lines: Cargo.toml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | [package] |
2 | 2 | name = "tauri-plugin-shell" |
3 | | -version = "2.2.0" |
| 3 | +version = "2.2.1" |
4 | 4 | description = "Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application." |
5 | 5 | edition = { workspace = true } |
6 | 6 | authors = { workspace = true } |
|
Collapse file
Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | { |
2 | 2 | "name": "@tauri-apps/plugin-shell", |
3 | | - "version": "2.2.0", |
| 3 | + "version": "2.2.1", |
4 | 4 | "license": "MIT OR Apache-2.0", |
5 | 5 | "authors": [ |
6 | 6 | "Tauri Programme within The Commons Conservancy" |
|