Skip to content

Commit

Permalink
merge from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Feb 19, 2024
2 parents bfed944 + f284f9c commit 762756d
Show file tree
Hide file tree
Showing 146 changed files with 9,302 additions and 2,090 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---

A file-drop now allows sub-directories recursively when the path is a directory.
9 changes: 9 additions & 0 deletions .changes/api-tauri-event-file-drop-rename.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@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`
5 changes: 5 additions & 0 deletions .changes/api-webview-window-new-methods.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:feat'
---

Add a new `webviewWindow` module that exports `WebviewWindow` class and related methods such as `getCurrent` and `getAll`.
5 changes: 5 additions & 0 deletions .changes/api-webview-window.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:breaking'
---

Move `WebviewWindow` class from `webview` module to a new `webviewWindow` module.
5 changes: 5 additions & 0 deletions .changes/api-window-on-filedrop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:feat'
---

Add `Window.onFileDropEvent` method.
6 changes: 6 additions & 0 deletions .changes/capabilities-multiwebview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri": patch:enhance
"tauri-utils": patch:enhance
---

Add `webviews` array on the capability for usage on multiwebview contexts.
6 changes: 6 additions & 0 deletions .changes/cli-plugin-android-init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.
6 changes: 6 additions & 0 deletions .changes/cli-windows-build-tools-detect-utf8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
6 changes: 6 additions & 0 deletions .changes/codegen-capabilities-attribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"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.
5 changes: 5 additions & 0 deletions .changes/context-runtime-authority.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:enhance
---

The `Context` struct now includes the runtime authority instead of the resolved ACL. This does not impact most applications.
6 changes: 6 additions & 0 deletions .changes/core-center-window.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri': 'patch:enhance'
'tauri-runtime-wry': 'patch'
---

Enhance centering a newly created window, it will no longer jump to center after being visible.
5 changes: 5 additions & 0 deletions .changes/core-js-event-anytarget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix JS event listeners registered using JS `listen` api with `EventTarget::Any` never fired.
6 changes: 6 additions & 0 deletions .changes/downgrade-minisign.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
5 changes: 5 additions & 0 deletions .changes/enhance-resource-dir-resolution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:enhance
---

Enhance resource directory resolution on development.
6 changes: 6 additions & 0 deletions .changes/fix-config-arg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fixes a regression on the `--config` argument not accepting file paths.
6 changes: 6 additions & 0 deletions .changes/handle-empty-permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-plugin": patch:enhance
"tauri-utils": patch:enhance
---

Do not generate JSON schema and markdown reference file if the plugin does not define any permissions and delete those files if they exist.
5 changes: 5 additions & 0 deletions .changes/inline-plugins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-build': patch:enhance
---

Added `Attributes::plugin()` to register a plugin that is inlined in the application crate.
6 changes: 6 additions & 0 deletions .changes/refactor-capability-remote-option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-utils": patch:breaking
"tauri": patch:breaking
---

Changed the capability `remote` configuration to take a list of `urls` instead of `domains` for more flexibility.
7 changes: 7 additions & 0 deletions .changes/rwh-06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri": patch:breaking
"tauri-runtime": patch:breaking
"tauri-runtime-wry": patch:breaking
---

Update raw-window-handle to 0.6.
5 changes: 5 additions & 0 deletions .changes/tauri-build-codegen-capabilities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-build": patch:enhance
---

Added `CodegenContext::capability` to include a capability file dynamically.
5 changes: 5 additions & 0 deletions .changes/tauri-close-requested-target-specific.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---

Fix JS `onCloseRequested` catching close event from other windows.
6 changes: 6 additions & 0 deletions .changes/tauri-plugin-identifier-alphanumeric.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri': 'patch:enhance'
'tauri-utils': 'patch:enhance'
---

Relax requirements on plugin's identifiers to be alphanumeric and `-` instead of only lower alpha and `-`.
6 changes: 6 additions & 0 deletions .changes/tauri-runtime-webview-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-runtime': 'patch'
'tauri-runtime-wry': 'patch'
---

Add `WebviewEvent`, `RunEvent::WebviewEvent` and `WebviewDispatch::on_webview_event`.
5 changes: 5 additions & 0 deletions .changes/tauri-utils-capability-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:enhance
---

Refactored the capability types and resolution algorithm.
9 changes: 9 additions & 0 deletions .changes/tauri-webview-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'tauri': 'patch:feat'
---

Add webview-specific events for multi-webview windows:

- Add `WebviewEvent` enum
- Add `RunEvent::WebviewEvent` variant.
- Add `Builder::on_webview_event` and `Webview::on_webview_event` methods.
5 changes: 5 additions & 0 deletions .changes/wry-0.36.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:deps
---

Update `wry` to 0.36.
2 changes: 1 addition & 1 deletion .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: test (using cross)
if: ${{ matrix.platform.cross }}
run: |
cargo install cross --git https://github.com/cross-rs/cross
cargo install cross --git https://github.com/cross-rs/cross --locked
cross ${{ matrix.platform.command }} --target ${{ matrix.platform.target }} ${{ matrix.features.args }}
- name: test (using cargo)
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ TODO.md
target

# lock for libs
/Cargo.lock
#/Cargo.lock Committed to prevent msrv checks from failing
/tooling/bench/tests/Cargo.lock
/yarn.lock

Expand Down
Loading

0 comments on commit 762756d

Please sign in to comment.