Compare commits

...

38 Commits

Author SHA1 Message Date
Lucas Nogueira
005e4a9649 chore: promote API package to RC 2024-08-02 10:32:39 -03:00
Lucas Fernandes Nogueira
88619e8914 feat: promote v2 to RC (#10434)
* feat: promote v2 to RC

* update changelog
2024-08-02 10:28:06 -03:00
Lucas Fernandes Nogueira
786f188923 feat(cli): allow using iOS device tun address for dev server (#10456)
- Changes the IP prompt to also show IPV6 address ending with ::2 (usually device's address)
- Adds --host option on ios dev to force the host
- Also makes it work with our own dev server impl (builtin)
2024-08-02 10:04:08 -03:00
Lucas Fernandes Nogueira
7ba67b4aca refactor!: use localhost for development on Android devices and emulators or iOS simulators (#10437)
* feat(cli): use localhost on mobile!

* change cargo-mobile2

* use public network address on iOS device :(

* add change file

* actually breaking

* pin cargo-mobile2

* rename env var
2024-08-02 07:35:18 -03:00
Lucas Fernandes Nogueira
a5bfbaa62b feat: add iOS frameworks config option, closes #9962 (#10393)
* feat: add iOS frameworks config option, closes #9962

* fix template

* typo
2024-08-02 07:35:03 -03:00
chip
b32295de18 prevent unnecessary rebuilds when working in the cargo workspace (#10442)
* hash codegen image cache output

* remove left over dbg! statement

* prevent info.plist from workspace rebuilds

* prevent schema generation from workspace rebuilds

* use new `Cached` struct in `CachedIcon`

* fmt

* use full import for cached plist

* use `to_vec()` for raw icons
2024-08-02 07:30:02 -03:00
Oscar Beaumont
6755af2302 fix: Specta remote implementation for Channel (#10435)
* Update channel.rs
* Don't rely on `DataType` reexport
2024-08-01 16:26:52 +09:00
Lucas Fernandes Nogueira
24445d71de fix(core): usage without the compression feature (#10432) 2024-07-31 18:40:02 -03:00
chip
eaec5fe9c1 Limit pub exposure in 2.x (#10158)
* hide `Invoke` from documentation

* make `Asset` non-exhaustive

* make `InvokeRequest` non-exhaustive

* mark `tauri_utils::platform::Target` non-exhaustive

* mark the runtime crates as unstable API

* Revert "mark the runtime crates as unstable API" [skip ci]

This reverts commit b8377222e3.

* mark the runtime crates as unstable API

* Revert "mark the runtime crates as unstable API" [skip ci]

This reverts commit 9284897644.

* mark the runtime crates as unstable API

* mark tauri_utils::TitleBarStyle as `#[non_exhaustive]`

* mark `InvokeRequest` as non_exhaustive unless `unstable` feature

* mark config and acl items as unstable
2024-07-31 10:54:43 -03:00
Lucas Fernandes Nogueira
1e0793b682 feat(core): fallback to file system for AssetResolver::get, closes #8411 (#10357)
* feat(core): fallback to file system for AssetResolver::get, closes #8411

Ports #10356 to v2

* fix test

---------

Co-authored-by: Chip Reed <chip@chip.sh>
2024-07-31 07:13:40 -03:00
chip
d03332617c chore: Transfer schemars fork to tauri-apps org (#10429) 2024-07-31 15:40:45 +09:00
Lucas Fernandes Nogueira
d5511c3117 feat(cli): add migration from 2.0.0-beta to 2.0.0-rc (#10395)
* refactor(cli): check tauri version on migration

* rc migration

* license headers

* fix tests

* add path

* update schema
2024-07-30 16:32:59 -03:00
chip
426d14bb41 check the main frame's origin in isolation.js (#10423)
* check the main frame's origin in isolation.js

* add changefile

* correct changefile tag

* use strict origin checking
2024-07-30 16:32:32 -03:00
martin frances
87029310b8 Minor: 'cargo doc' reports links need to be wrapped in angle brackets. (#10320) 2024-07-30 07:54:08 -03:00
Lucas Fernandes Nogueira
758d28c8a2 refactor: core plugin permissions are now prefixed core:, closes #10359 (#10390)
* refactor: core plugin permissions are now prefixed core:, closes #10359

* code review

* expand reserved plugin names

* fix

* add core:default permission set

* fix permission usage

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-07-30 07:52:43 -03:00
Tillmann
a0841d509a Add change file for #10360 (#10421) 2024-07-30 14:29:06 +09:00
chip
11af545bf3 feat: Use loopback interface on desktop dev server by default (#10360)
Use loopback interface on desktop dev server by default
2024-07-30 14:17:19 +09:00
dependabot[bot]
a0af6c00df chore(deps): bump openssl from 0.10.64 to 0.10.66 (#10354)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:56:41 -03:00
chip
cf994a6bb0 add failable try_build for plugin builder (#10405)
* add failable try_build for plugin builder

* add changefile

* implement `Hash`, `PartialEq` for `BuilderError`

* mark config and acl items as unstable

give some doc tips if they need to be used from Rust

* Revert "mark config and acl items as unstable" [skip ci]

This reverts commit e23728edb6.
2024-07-29 10:51:56 -03:00
Lucas Fernandes Nogueira
289ae5555d feat: re-enable TLS checks for Android and dev proxy (#10386)
* feat: re-enable TLS checks for Android and dev proxy

* update time
2024-07-29 10:43:59 -03:00
Vladimir Stoilov
7aeac39e7f feat(core): make setting of gtk app id optional (#10397)
* feat(core): make setting of gtk app id optional

* Fix change file

* Update .changes/linux-option-gtk-app-id.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* [skip ci] Update linux-option-gtk-app-id.md

* Update app.rs

* Update app.rs

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-07-29 15:26:13 +02:00
Ernest M. van der Linden
498f405ca8 fix(core): Conf parsing error always displays tauri.conf.json file name even when using toml or json5 (#10404)
* Conf parsing error displays `tauri.conf.json` when using toml or json5

Conf parsing error always displays `tauri.conf.json` as path, even when using `Tauri.toml` or `tauri.conf.json5`

Example Error Message when using Tauri.toml:
Error unable to parse toml Tauri config file at
/Users/bla/repo/bla/bla/src-tauri/tauri.conf.json because
invalid TOML value, did you mean to use a quoted string? at line 41
column 7

* merge changefile pr into main pr

* Update and rename fix-conf-parsing-error-filepath to fix-conf-parsing-error-filepath.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-07-29 14:54:21 +02:00
github-actions[bot]
2a402b4845 apply version updates (#10281)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-07-29 07:27:56 -03:00
Lucas Fernandes Nogueira
efdce038bb fix(core): apply clippy suggestions (#10394)
* fix(core): apply clippy suggestions

* more fixes
2024-07-29 10:53:53 +02:00
Brendan Allan
e1776946ad fix(core): use specta's derive feature (#10362)
* use specta's derive feature

* use specta rc.15

* .changes file

* try patched specta

* specta rc.16

* Update .changes/specta-derive-feature.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update specta-derive-feature.md [skip ci]

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-07-24 12:47:51 +02:00
renovate[bot]
c072090ed8 chore(deps) Update Rust crate syn to v2.0.72 (#10369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 11:59:29 +08:00
Tony
f153e8b0fe docs: Fix js doc's param mismatch for setSizeConstraints (#10342) 2024-07-22 11:09:36 +02:00
Lucas Fernandes Nogueira
8b3e6eccf4 fix(ci): gh CLI expects the GH_TOKEN env var (#10333) 2024-07-20 09:42:40 -03:00
Jacob Bolda
cfc53074d0 (chore) covector comment on forks (#10331)
* (chore) covector comment on forks

* bump header year

* Update .github/workflows/covector-comment-on-fork.yml

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-07-20 09:17:06 -03:00
renovate[bot]
88552d66c3 chore(deps) Update Tauri Macros (#10309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 10:39:03 +08:00
Jason Tsai
9546548ec0 fix(macos): set default title-bar style to Visible, close #10225 (#10297)
* fix(macos): set default title-bar style to `Visible`

* chore: add TODO
2024-07-17 06:40:38 +03:00
Fabian-Lars
7acac58d23 docs(core): Fix syntax in tauri.conf.json example (#10299) 2024-07-17 04:27:20 +03:00
Amr Bashir
da25f73530 feat: add granular size constraints APIs (#10242) 2024-07-17 04:05:56 +03:00
Hamir Mahal
26f2e19a4f refactor: remove unnecessary hashes around raw str (#10273) 2024-07-15 14:54:46 +03:00
Tony
9f0a5fceac changes(nsis): move pre hooks before kill app (#10271) 2024-07-15 14:54:02 +03:00
Tony
d1df6be701 fix(bundler): warning for self contained updaters (#10270)
* Fix warning for self contained updaters

* Add change file
2024-07-15 16:18:48 +08:00
Tony
506f1dd873 chore: use from string instead of from_anyhow anyhow! (#10282)
* Use from string instead of from_anyhow anyhow!

* Clippy
2024-07-14 21:44:01 +08:00
Tony
3c17fb64fd Fix Webview.reparent pointing to wrong Rust API (#10277) 2024-07-14 19:20:56 +08:00
486 changed files with 2660 additions and 3846 deletions

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:bug"
---
Export `tauri::UriSchemeResponder`.

View File

@@ -1,6 +0,0 @@
---
"tauri-build": patch:enhance
"tauri-utils": patch:enhance
---
Fallback to an empty permission set if the plugin did not define its `default` permissions.

View File

@@ -1,8 +0,0 @@
---
"tauri-utils": patch:enhance
"tauri": patch:enhance
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Changed the permission and capability platforms to be optional.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
Removed the lifetime parameter from `ipc::GlobalScope` and `ipc::CommandScope`.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:breaking
"tauri-utils": patch:breaking
---
The ACL configuration for remote URLs now uses the URLPattern standard instead of glob patterns.

View File

@@ -1,5 +0,0 @@
---
"tauri": 'patch:enhance'
---
A file-drop now allows sub-directories recursively when the path is a directory.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
---
Migrate to new Android buildFeatures.buildConfig format.

View File

@@ -1,7 +0,0 @@
---
"tauri": "patch:feat"
"@tauri-apps/api": "patch:feat"
---
Add `defaultWindowIcon` to the JS `app` module to retrieve the default window icon in JS.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": "patch:bug"
---
Fix `isTauri` incorrect return type.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/api": "patch:feat"
---
Add `isTauri` function in `core` module to check whether running inside tauri or not.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": "patch:bug"
---
Fix `Window/Webview/WebviewWindow.setSize`, `Window/Webview/WebviewWindow.setPostion`, `Window/WebviewWindow.setMinSize`, `Window/WebviewWindow.setMaxSize`, `Window/WebviewWindow.setCursorPosition` and `Menu/Submenu.popup` methods failing with invalid args.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:bug'
---
Re-added the `TauriEvent.WINDOW_CREATED` (`tauri://window-created`) event.

View File

@@ -1,5 +0,0 @@
---
tauri: patch:enhance
---
Tauri's built-in commands for the JS api will now return simplified paths on Windows, removing the `\\?\` prefix.

View File

@@ -1,9 +0,0 @@
---
'@tauri-apps/api': 'patch:breaking'
---
Renamed the following enum variants of `TauriEvent` enum:
- `TauriEvent.WEBVIEW_FILE_DROP` -> `TauriEvent.FILE_DROP`
- `TauriEvent.WEBVIEW_FILE_DROP_HOVER` -> `TauriEvent.FILE_DROP_HOVER`
- `TauriEvent.WEBVIEW_FILE_DROP_CANCELLED` -> `TauriEvent.FILE_DROP_CANCELLED`

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add `TrayIcon.getById` and `TrayIcon.removeById` static methods.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": patch:bug
---
Set the `exports > types` package.json field.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add a new `webviewWindow` module that exports `WebviewWindow` class and related methods such as `getCurrent` and `getAll`.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:breaking'
---
Move `WebviewWindow` class from `webview` module to a new `webviewWindow` module.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add `Window.onFileDropEvent` method.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Added `AppHandle::set_activation_policy` for macOS.

View File

@@ -1,9 +0,0 @@
---
"tauri": patch:enhance
"tauri-build": patch:breaking
"tauri-utils": patch:breaking
"tauri-plugin": patch:breaking
"tauri-codegen": patch:breaking
---
Allow defining permissions for the application commands via `tauri_build::Attributes::app_manifest`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:feat
---
Add `app-region: drag` to HTML elements with `data-tauri-drag-region` on Windows, only WebView2 123+, which should fix dragging using touch.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": "patch:bug"
---
Fixed an issue that caused the AppImage to segfault on start due to an incorrect .desktop file.

View File

@@ -0,0 +1,6 @@
---
"tauri": patch:enhance
"tauri-codegen": patch:enhance
---
Enhance `AssetResolver::get` in development mode by reading distDir directly as a fallback to the embedded assets.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:feat
---
The `Assets` trait now include a `setup` method that lets you run initialization code for your custom asset provider.

View File

@@ -1,15 +0,0 @@
---
"tauri": major:feat
"tauri-plugin": major:feat
"tauri-build": major:feat
"tauri-utils": major:feat
"tauri-codegen": major:feat
"tauri-macros": major:feat
"tauri-runtime": major:feat
"tauri-runtime-wry": major:feat
"tauri-cli": major:feat
"@tauri-apps/api": major:feat
"@tauri-apps/cli": major:feat
---
Move to beta!

View File

@@ -1,5 +0,0 @@
---
'tauri': patch:enhance
---
Improve the error message that is shown when deserializing the Tauri plugin config.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:enhance
---
Check for Android version code before building the package in release mode.

View File

@@ -1,6 +0,0 @@
---
"tauri-build": "patch:bug"
---
Avoid copying resources if the target path is the same as source.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Fixed generation of capability schema for permissions field which previously disallowed mixed (strings and objects) permission definition.

View File

@@ -1,6 +0,0 @@
---
"tauri-bundler": "patch:feat"
---
Add support for NSIS installer hooks providing a path to a `.nsh` file in `bundle > windows > nsis > installer_hooks` key in `tauri.conf.json`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:breaking
---
Changed `NsisSettings::compression` field from `Option<NsisCompression>` to just `NsisCompression`

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fixed an issue that caused the msi bundler to crash when deep link schemes were configured.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": "minor:feat"
"tauri-bundler": "minor:feat"
---
Add `bundle > homepage` option, if unset, it will fallback to `homepage` defined in `Cargo.toml`.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix NSIS installer always containing a license page even though `licenseFile` option is not set in the config.

View File

@@ -1,6 +0,0 @@
---
"tauri-bundler": "patch:feat"
---
Expose `{{long_description}}` variable for custom templates.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": "patch:bug"
---
Fix NSIS installer deep links registration.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix encoding of NSIS license page when using a license file without a BOM.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:enhance'
---
Update `nsis_tauri_utils` plugin to `0.3` and use the built-in NSIS download plugin, which reduces the NSIS installer size by 775kb.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
The NSIS uninstaller now won't mindlessly try to remove the whole installation folder when the "Remove application data" checkbox was ticked. This prevents data loss when the app was installed in a folder which contained other files.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fixed an issue causing the NSIS bundler to install resources incorrectly when the installer was built on a non-Windows system.

View File

@@ -1,6 +0,0 @@
---
"tauri-bundler": "patch:bug"
---
Use the `productName` for `rpm` package name instead of main binary name, to be consistent with other bundle types.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch:bug
---
Don't fallback to `licenseFile` and use only `license` field when building RPM.

View File

@@ -1,6 +0,0 @@
---
"tauri-bundler": "patch:enhance"
---
Added `/UPDATE` flag for NSIS installer which will make the installer avoid deleting app data and re-creating shortcuts.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:enhance
"tauri-utils": patch:enhance
---
Add `webviews` array on the capability for usage on multiwebview contexts.

View File

@@ -1,7 +0,0 @@
---
"tauri-build": patch:breaking
"tauri-utils": patch:enhance
"tauri-codegen": patch:enhance
---
Added a new configuration option `tauri.conf.json > app > security > capabilities` to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:feat
---
Added `CapabilityBuilder::platform` to link the runtime capability with a specific platform.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": patch:breaking
"tauri-cli": patch:breaking
"@tauri-apps/cli": patch:breaking
---
Changed the capability format to allow configuring both `remote: { urls: Vec<String> }` and `local: bool (default: true)` instead of choosing one on the `context` field.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---
Fix Specta remote implementation target for `Channel`.

View File

@@ -1,5 +0,0 @@
---
tauri: patch:bug
---
Fix resource tables not cleaned up on exit which causes tray icon inside resource tables not cleaned up on exit

View File

@@ -1,12 +0,0 @@
---
'tauri-cli': 'patch:feat'
'@tauri-apps/cli': 'patch:feat'
---
Add new subcommands for managing permissions and cababilities:
- `tauri permission new`
- `tauri permission add`
- `tauri permission rm`
- `tauri permission ls`
- `tauri capability new`

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "minor:feat"
"@tauri-apps/cli": "minor:feat"
---
Support specifying a version for `tauri add` subcommand, for example: `tauri add window-state@2.0.0-beta.2`

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation.

View File

@@ -1,5 +0,0 @@
---
"tauri-cli": "patch:enhance"
---
On Android, allow using Kotlin keywords as identifiers and escape them in templates.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Upgrade `heck` to v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Fix `migrate` command, migrating incorrect permissions for `clipboard`.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Changes the default behavior of the `dev` command to only expose to localhost (`127.0.0.1`) instead of the default system interface.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Ignore `.DS_Store` by default for `tauri dev` hot reloads.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Allow empty responses for `devUrl`, `beforeDevCommand` and `beforeBuildCommands` questions in `tauri init`.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch
"@tauri-apps/cli": patch
---
Show full expected path of `frontendDist` when if can't be found.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Exit `tauri icon` with non-zero code when it fails.

View File

@@ -1,5 +0,0 @@
---
"tauri-cli": patch:enhance
---
Use `$CARGO_MANIFEST_DIR` when including templates at build-time.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix wrong migration of `clipboard` and `globalShortcut` modules

View File

@@ -1,14 +0,0 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Enhance `tauri migrate` to also migrate variables like `appWindow`:
```ts
import { appWindow } from '@tauri-apps/api/window'
```
will become:
```ts
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow'
const appWindow = getCurrentWebviewWindow()
```

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Fix `tauri migrate` incorrectly migrating `@tauri-apps/api/tauri` module to just `core` and `@tauri-apps/api/window` to just `webviewWindow`.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Gracefully handle Non-UTF8 files when using `tauri migrate`

View File

@@ -1,7 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Fix `tauri migrate` trying to migrate to a non-existing plugin.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": patch:enhance
"tauri-cli": patch:enhance
---
`openssl` is no longer a required dependency on macOS.

View File

@@ -1,7 +0,0 @@
---
"tauri-cli": "patch:breaking"
"@tauri-apps/cli": "patch:breaking"
---
Avoid renaming main binary to product name and perserve the name generated by cargo.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Enhance the plugin template to include `permissions/default.toml` and default capabilities file for the example application.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add plugins to `Cargo.toml` when using `tauri migrate`

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Fix parsing of cargo profile when using `--profile=<profile>` syntax.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---
Fix cli failing to detect the correct cargo target directory when using cargo `--target-dir` flag with `tauri build` or `tauri dev`

View File

@@ -1,5 +0,0 @@
---
"tauri-cli": patch:deps
---
Update dependencies, fix `log` compilation issue.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix bundling when `plugins > updater > windows > installerArgs` are set in `tauri.conf.json`

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.

View File

@@ -1,5 +0,0 @@
---
"tauri-cli": "patch:bug"
---
Use `windows-sys` crate instead of `winapi` which fixes installing the published cli from crates.io using `cargo install tauri-cli --version "^2.0.0-beta"`.

View File

@@ -1,6 +0,0 @@
---
"tauri": "patch:bug"
"tauri-runtime-wry": "patch"
---
Fix `closable`, `maximizable` and `minimizable` options not taking effect when used in tauri.conf.json or from JS APIs.

View File

@@ -1,6 +0,0 @@
---
"tauri-macros": patch:enhance
"tauri-codegen": patch:enhance
---
The `generate_context` proc macro now accepts a `capabilities` attribute where the value is an array of file paths that can be [conditionally compiled](https://doc.rust-lang.org/reference/conditional-compilation.html). These capabilities are added to the application along the capabilities defined in the Tauri configuration file.

View File

@@ -1,6 +0,0 @@
---
"tauri-macros": patch:feat
"tauri-codegen": patch:feat
---
The `Context` codegen now accepts a `assets` input to define a custom `tauri::Assets` implementation.

View File

@@ -1,6 +0,0 @@
---
'tauri-utils': 'patch:bug'
'tauri': 'patch:bug'
---
Fix compile time error in context generation when using `app.windows.windowEffects.color`

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
The `Context` struct and the `Assets` trait now takes a `R: Runtime` generic.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
`Context::assets` now returns `&dyn Assets` instead of `&A` generic.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
The `Context` type no longer uses the `<A: Assets>` generic so the assets implementation can be swapped with `Context::assets_mut`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
Removed `Context::assets_mut` and added `Context::set_assets`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:enhance
---
The `Context` struct now includes the runtime authority instead of the resolved ACL. This does not impact most applications.

View File

@@ -1,6 +0,0 @@
---
"tauri-build": "patch:bug"
---
Fix tauri always rebuilding even if source code didn't change.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:breaking'
---
Removed `App/AppHandle::tray` and `App/AppHandle::remove_tray`, use `App/AppHandle::tray_by_id` and `App/AppHandle::remove_tray_by_id` instead. If these APIs were used to access tray icon configured in `tauri.conf.json`, you can use `App/AppHandle::tray_by_id` with ID `main` or the configured value.

View File

@@ -1,6 +0,0 @@
---
'tauri': 'patch:enhance'
'tauri-runtime-wry': 'patch'
---
Enhance centering a newly created window, it will no longer jump to center after being visible.

View File

@@ -1,5 +0,0 @@
---
tauri: 'patch:bug'
---
Fixed an issue preventing webview/window creation events to not be emitted. This also fixed the `getByLabel` and `getAll` JavaScript functions.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix `emit` and `emit_to` (when used with `EventTarget::Any`) always skipping the webview listeners.

View File

@@ -1,6 +0,0 @@
---
"tauri": "patch:breaking"
---
Include binary path in `Env.args_os`, previously it was skipped.

View File

@@ -1,6 +0,0 @@
---
"tauri": "patch:feat"
---
Add `window.isTauri` to check whether running inside tauri or not.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix JS event listeners registered using JS `listen` api with `EventTarget::Any` never fired.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:breaking"
---
Changed `JsImage::into_img` to take a reference to a `ResourceTable` instead of a `Manager`.

View File

@@ -1,15 +0,0 @@
---
"tauri": "patch:breaking"
---
Added `Emitter` and `Listener` traits that defines what an emitter or a listener can do, this however comes with a few breaking changes:
- Removed `Manager::listen_any`, use `Listener::listen_any` instead.
- Removed `Manager::once_any`, use `Listener::once_any` instead.
- Removed `Manager::unlisten`, use `Listener::unlisten` instead.
- Removed `Manager::emit`, use `Emitter::emit` instead.
- Removed `Manager::emit_to`, use `Emitter::emit_to` instead.
- Removed `Manager::emit_filter`, use `Emitter::emit_filter` instead.
- Removed `App/AppHandle::listen`, `WebviewWindow::listen`, `Window::listen` and `Webview::listen`, use `Listener::listen` instead.
- Removed `App/AppHandle::once`, `WebviewWindow::once`, `Window::once` and `Webview::once`, use `Listener::once` instead.
- Removed `App/AppHandle::unlisten`, `WebviewWindow::unlisten`, `Window::unlisten` and `Webview::unlisten`, use `Listener::unlisten` instead.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:bug"
---
Fix deadlock when using the menu/tray/image JS APIs.

Some files were not shown because too many files have changed in this diff Show More