Skip to content

Commit

Permalink
Merge pull request #3389 from tauri-apps/next
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Feb 10, 2022
2 parents c4bb305 + 4334865 commit 45d427e
Show file tree
Hide file tree
Showing 1,169 changed files with 52,605 additions and 45,094 deletions.
7 changes: 0 additions & 7 deletions .changes/allow-prevent-window-close.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/allowlist-clipboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---

The `allowlist` configuration now includes a `clipboard` object, controlling the exposure of the `writeText` and `readText` APIs.
6 changes: 6 additions & 0 deletions .changes/allowlist-dialog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-utils": patch
"tauri": patch
---

The dialog allowlist now includes flags for the `message`, `ask` and `confirm` APIs.
5 changes: 5 additions & 0 deletions .changes/allowlist-process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---

The `allowlist` configuration now includes a `process` object, controlling the exposure of the `relaunch` and `exit` APIs.
5 changes: 5 additions & 0 deletions .changes/allowlist-window.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
tauri-utils: patch
---

The `window` allowlist now includes options to enable all window modification APIs: `center`, `close`, `create`, `hide`, `maximize`, `minimize`, `print`, `requestUserAttention`, `setAlwaysOnTop`, `setDecorations`, `setFocus`, `setFullscreen`, `setIcon`, `setMaxSize`, `setMinSize`, `setPosition`, `setResizable`, `setSize`, `setSkipTaskbar`, `setTitle`, `show`, `startDragging`, `unmaximize` and `unminimize`.
5 changes: 0 additions & 5 deletions .changes/anonymous-lifetimes.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-WebviewWindow-fileDropEnabled.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.
6 changes: 6 additions & 0 deletions .changes/api-add-log-dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"api": patch
---

Add `logDir` function to the `path` module to access the sugested log directory.
Add `BaseDirectory.Log` to the `fs` module.
6 changes: 6 additions & 0 deletions .changes/api-change-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri": patch
---

* **Breaking change**: Renamed `tauri::Event` to `tauri::RunEvent`
* Exported `tauri::Event` and `tauri::EventHandler` so you can define a function and pass it to `Window::listen`
5 changes: 0 additions & 5 deletions .changes/api-cjs-chunks.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/api-clipboard-export.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-convert-file-url.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-dialog-ask-message-confirm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Expose `ask`, `message` and `confirm` APIs on the dialog module.
5 changes: 5 additions & 0 deletions .changes/api-emit-payload-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Event `emit` now automatically serialize non-string types.
6 changes: 0 additions & 6 deletions .changes/api-export-BaseDirectory.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-export-package-json.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-export-type-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-export-type.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-feature-flags.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

The `tauri::api` modules `http`, `notification`, `dialog`, and `process::Command` APIs are now hidden behind a feature flag, `http-api`, `notification`, `dialog` and `command`, respectively.
5 changes: 5 additions & 0 deletions .changes/api-fetch-empty-reponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Fix `http.fetch` throwing error if the response is successful but the body is empty.
6 changes: 6 additions & 0 deletions .changes/api-file-dialog-title.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"api": patch
"tauri": patch
---

Add `title` option to file open/save dialogs.
5 changes: 0 additions & 5 deletions .changes/api-fix-double-window.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-fix-os-platform-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Fix `os.platform` returning `macos` and `windows` instead of `darwin` and `win32`.
5 changes: 0 additions & 5 deletions .changes/api-focus.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-format-callback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

The `formatCallback` helper function now returns a number instead of a string.
5 changes: 0 additions & 5 deletions .changes/api-is-decorated.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-is-resizable.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-is-visible.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/api-os-module.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/api-path-module.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-raw-headers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Added `rawHeaders` to `http > Response`.
5 changes: 5 additions & 0 deletions .changes/api-remove-current-dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": "patch"
---

Removed the `currentDir` API from the `path` module.
5 changes: 5 additions & 0 deletions .changes/api-remove-ts-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

Remove `.ts` files on the published package.
5 changes: 0 additions & 5 deletions .changes/api-request-user-attention.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-set-focus.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-set-skip-taskbar.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-skip-taskbar.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-target-es2021.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-toggle-maximize.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/api-transparent-window.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changes/api-ts-expect-error.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/api-use-uint8array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"api": patch
---

**Breaking change:** Replaces all usages of `number[]` with `Uint8Array` to be closer aligned with the wider JS ecosystem.
5 changes: 0 additions & 5 deletions .changes/api-window-center.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changes/api-window-type-for-size-and-position.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"api": patch
---

`WindowManager` methods `innerPosition` `outerPosition` now correctly return instance of `PhysicalPosition`.
`WindowManager` methods `innerSize` `outerSize` now correctly return instance of `PhysicalSize`.
5 changes: 5 additions & 0 deletions .changes/app-any-thread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Added `any_thread()` to the `tauri::Builder` to run applications on any thread (only exposed on Linux and Windows).
5 changes: 0 additions & 5 deletions .changes/app-callback.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/app-dir-refactor.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changes/app-folder-structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.js": patch
"cli.rs": patch
---

Do not force Tauri application code on `src-tauri` folder and use a glob pattern to look for a subfolder with a `tauri.conf.json` file.
5 changes: 0 additions & 5 deletions .changes/app-handle-create-window.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/app-handle-exit-cleanup.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/app-handle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/app-set-activation-policy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/app-state.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/appwindow-events.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/asset-allowlist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---

Added `asset` allowlist configuration, which enables the `asset` protocol and defines it access scope.
5 changes: 5 additions & 0 deletions .changes/asset-cors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Enable CORS on the `asset` protocol.
7 changes: 0 additions & 7 deletions .changes/asset-path.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/asset-protocol-feature-flag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

The `asset://` custom protocol is only defined when either the `api-all`, `protocol-all` or `protocol-asset` feature flags are enabled. These feature flags are accessible with the `tauri.conf.json` allowlist.
5 changes: 0 additions & 5 deletions .changes/asset-protocol.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changes/asset-resolver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch
---

Expose the `asset_resolver` API on the `App` and `AppHandle` structs.
7 changes: 0 additions & 7 deletions .changes/assets-refactor.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/async-commands.md

This file was deleted.

Loading

0 comments on commit 45d427e

Please sign in to comment.