Commit Graph

254 Commits

Author SHA1 Message Date
github-actions[bot] 7d926ee5b9 publish new versions (#1517)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-12 19:42:56 -03:00
Lucas Fernandes Nogueira 22a17980ff feat: update to tauri beta.24 (#1537)
* feat: update to tauri beta.24

* remove .tauri

* pnpm build
2024-07-12 17:59:17 -03:00
Naman Garg 08243e94c7 feat(biometrics): Improve Rust API docs (#1532)
* Improve Rust API docs

* Add changes file
2024-07-10 03:18:38 +03:00
Amr Bashir ac9a25cc12 fix(http): use tokio oneshot channel for detecting abort (#1395)
* fix(http): properly handle aborting

closes #1376

* abort early in JS

* avoid using unnecessary mutexes

* fix lint

* update bundle

* simplify
2024-07-08 20:31:29 +03:00
Amr Bashir 381a466db3 refactor(global-shortcut): enhance un/register to accept an array, remove un/registerAll (#1117)
* refactor(shell): enhance `un/register` to accept an array, remove `un/registerAll`

closes #1101

* Update lib.rs

* remove permissions, cleanup docs

* bring back unregister_all

* fmt

* fix build

* bundle

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-08 19:20:00 +03:00
Amr Bashir a66549329c fix(http): set headers on resposne manually (#1526)
The browser `Response` constructor removes `set-cookie` headers and so we set them manually.

closes #1470
2024-07-08 15:18:14 +03:00
Fynn Tang 40ef9a818f Update package versions and modify OS plugin (#1514)
* Update package versions and modify OS plugin

The version numbers for multiple packages have been updated in Cargo.lock. Additionally, changes were made in the OS plugin, specifically in the `index.ts` file where asynchronous function calls have been transformed into synchronous ones.

* Update package versions in Cargo.lock

Several packages in Cargo.lock have been updated to new versions. This includes "hyper", "hyper-util", "open", "serde_json", and "zerocopy" packages. Each package has had its version, checksum, and associated dependencies adjusted to reflect the latest release.

* Update OS sync functions in documentation examples

The documentation examples for `platform`, `arch`, `type`, `family`, `version`, and `exe_extension` functions have been updated. The changes are intended to better illustrate that these functions are synchronous.
2024-07-03 23:35:25 +02:00
github-actions[bot] 8f6d341e45 publish new versions (#1479)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-07-02 07:48:46 -03:00
renovate[bot] 76daee7aaf chore(deps): update tauri monorepo (v2) (#1512)
* fix(deps): update tauri monorepo

* Create tauri-beta-23.md

* fix clippy - regen permissions

* revert accidental cargo.toml change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-07-02 11:23:48 +02:00
Fabian-Lars 955ed6aec6 fix(updater): Start app after update via msi (#1498) 2024-07-02 08:22:33 +03:00
Tony acce342fcc chore(deps): migrate dirs-next to dirs for updater plugin (#1506)
* Migrate dirs-next to dirs for updater

* Add change file

* dirs_next -> dirs
2024-07-01 10:41:46 +02:00
Emin Yilmaz 99d125d86b feat(clipboard-manager): implement clear on iOS and Android (#1462) 2024-06-28 06:05:48 +03:00
Andrew Ferreira f1372adc9d feat(window-state): add Builder::map_label method (#1497) 2024-06-26 06:46:02 +03:00
Fabian-Lars 29751ee939 fix(updater): Escape msi path string (#1495)
* fix(updater): Escape msi path string

* fmt
2024-06-25 04:12:57 +03:00
Fabian-Lars 1146f068e1 fix(fs): Make read/write commands async to not block the main thread (#1477)
* fix(fs): Make commands async to not block the main thread so long

* more async

* changefile
2024-06-24 11:27:34 +03:00
Naman Garg 17c42fd42a fix(notification): Add permission commands for Actions (#1459)
* Add the permission commands

* Add changes file
2024-06-18 10:58:16 +02:00
Amr Bashir 0959fe3757 refactor(os)!: make platform, arch, type, family, version and exe_extension functions sync (#1353)
closes #1351
2024-06-17 17:03:04 +02:00
github-actions[bot] f30a3b0501 publish new versions (#1393)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-06-17 16:17:22 +02:00
Amr Bashir bf29a72baa fix(updater): use msiexec to install .msi updates (#1454)
* fix(updater): use msiexec to install .msi updates

* Update updater.rs

* Update updater.rs
2024-06-13 01:35:25 +03:00
Lucas Fernandes Nogueira 3779fb5063 refactor(notification): pull notify_rust from crates.io (#1432) 2024-06-11 14:31:59 +02:00
Simon Hyll 0b0088821e fix(deep-link): typo in js bindings for is_registered command (#1404)
* fix: typo

* rebuild + changefile

* fix changefile

---------

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-06-11 14:31:20 +02:00
thewh1teagle 4216c0517f feat(sql): made DbInstances public for managing directly from Rust (#1381) 2024-06-10 11:31:03 +02:00
Amr Bashir da8a7bbe3a fix(http): fix check logic to decide whether to set Origin header (#1438)
ref: https://github.com/tauri-apps/plugins-workspace/issues/1389#issuecomment-2150470335
2024-06-05 19:57:36 +03:00
Amr Bashir 0f739dbc48 feat(http): allow setting origin for unsafe headers (#1392)
* feat(http): allow setting `origin` for unsafe headers

closes #1389

* clippy

* Update .changes/http-origin-unsafe.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>

* Update commands.rs

* set origin not full url

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-05-30 22:09:32 +03:00
github-actions[bot] 554cb902b0 Publish New Versions (v2) (#1387)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-30 15:04:19 -03:00
Lucas Nogueira acd383af75 fix(android): adjust for Kotlin and project warnings 2024-05-30 14:52:47 -03:00
renovate[bot] 9013854f42 fix(deps): update tauri monorepo (#1382)
* fix(deps): update tauri monorepo

* fix positioner

* Update lib.rs

* Update lib.rs

* fix build

* change file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-05-30 06:49:05 +03:00
github-actions[bot] 0678af3a6c publish new versions (#1314)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-29 22:59:23 -03:00
Alexandre Villeneuve 5661cce795 fix(notification): update function dev to is_dev (#1385)
* fix(notification): update function dev to is_dev

* fix(notification): add changes markdown
2024-05-29 21:37:09 +03:00
Emin Yilmaz bd4544dbd7 fix(clipboard-manager): match Rust method parameters with native methods (#1379) 2024-05-29 18:43:40 +03:00
Amr Bashir 69e4c2e56f fix(updater): pass /NS and /UPDATE to nsis installer to disable creating shortcuts on updates (#1162)
* fix(updater): pass `/NS` to nsis installer to disable creating shortcuts on updates

ref: tauri-apps/tauri#9395

* add `/UPDATE`

* move args to function

* update updater test config

* revert /R

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 10:26:27 -03:00
Lucas Fernandes Nogueira 7581576a24 chore: update Android target SDK to 34 (#1368) 2024-05-25 07:47:19 -03:00
renovate[bot] 430bd6f4f3 chore(deps): update tauri monorepo (#1363)
* fix(deps): update tauri monorepo

* Create tauri-beta-20.md

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-23 11:50:58 +02:00
Amr Bashir aff47992b3 fix(shell): make execute command async (#1362)
closes #1361
2024-05-23 02:16:39 +03:00
Fabian-Lars cfb3d74d9f chore(authenticator): Add missing changefile 2024-05-22 15:00:36 +02:00
Amr Bashir cb0a788d17 fix(shell): use serde untagged not flatten (#1328) 2024-05-21 20:10:36 +03:00
Fabian-Lars db45dfaab3 fix(deep-link): prevent duplicate ; in .desktop files on Linux (#1357) 2024-05-21 20:00:41 +03:00
Tony 43224c5d5c feat(updater): add download and install js binding (#1330) 2024-05-21 18:54:06 +03:00
Amr Bashir 9d7ae45b0e fix(http): include browser headers if not set by user (#1354)
* fix(http): include browser automatic headers if not set by user

close #1349

* fmt

* Update browser-headers.md

* lint

* generate api
2024-05-21 12:43:26 +02:00
Tony 806404e96e chore(updater): disable zip crate default features (#1329)
* Only use deflate feature from zip crate

* Add change file

* Disable all zip crate features
2024-05-16 14:43:59 +02:00
renovate[bot] 290616d8e3 chore(deps): update tauri monorepo (#1325)
* chore(deps): update tauri monorepo

* enable ci for ver updates

* fix http

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-05-15 21:10:49 +02:00
thewh1teagle a940ef6250 feat(sql): preserve column order from query with indexmap (#1305)
* feat: preserve column order from query with indexmap

* chore(sql): remove default features

* change file
2024-05-15 15:15:34 +02:00
Fabian-Lars 224108818d chore: Remove dialog-js from changefile 2024-05-14 17:25:18 +02:00
Ale Guzman cd57dcdf04 feat(dialog): set len and modified_at fields in FileResponse on desktop (#1295) 2024-05-14 02:09:24 +03:00
Amr Bashir 58330f9ec1 feat(http): enable cookies and set origin header (#1192) 2024-05-14 01:39:36 +03:00
github-actions[bot] ecda84f8d5 Publish New Versions (v2) (#1279)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-11 07:13:52 -03:00
Fabian-Lars 021d23bef3 feat(deep-link): Add deep link support for desktop (#916) 2024-05-10 07:44:06 -03:00
Amr Bashir eb1679b997 fix(core/shell): speedup Command.execute & fix extra new lines (#1299)
* fix(core/shell): speedup `Command.execute` & fix extra new lines

The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.

The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519
ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383

* fmt

* dedup code
2024-05-09 18:15:03 +03:00
Amr Bashir 5c1b7917e4 fix(shell/command): retry sending events when it fails (#1298)
ref: https://github.com/tauri-apps/tauri/issues/7684
2024-05-09 10:38:56 -03:00
Amr Bashir d9de5b19d1 feat(positioner, window-state): impl WindowExt for WebviewWindow (#1283)
closes #1281
2024-05-03 13:16:40 +02:00