github-actions[bot]
ab4e56f5d2
apply version updates ( #10532 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-08 23:52:47 -03:00
Fabian-Lars
f5dfc02800
fix(core/cli): Add custom default
implementation for ios config ( #10533 )
...
* fix(cli): Add custom `default` implementation for ios config
* fix change
2024-08-08 19:57:56 -03:00
Fabian-Lars
5f56cb0a8b
feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1 ( #10507 )
...
* feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1
* Update .changes/android-gradle-8-9.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-08 08:48:54 -03:00
Fabian-Lars
00e5a6ac74
fix(cli): allow actions: write
for version-or-publish to fix cli publishing ( #10525 )
2024-08-08 07:25:59 -03:00
KV
10e30c5139
fix: 'ndecorated' typo in window shadow description ( #10527 )
2024-08-08 10:47:52 +08:00
github-actions[bot]
393428e5c8
apply version updates ( #10524 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-07 14:50:33 -03:00
Lucas Nogueira
9ed8fe8c92
fix(cli): allow write on pull-requests for version-or-publish
2024-08-07 14:32:06 -03:00
Lucas Fernandes Nogueira
8dc81b6cc2
feat(core): add option for custom Xcode project template (XcodeGen) ( #10496 )
2024-08-07 13:17:01 -03:00
Lucas Fernandes Nogueira
02c00abc63
feat(core): add config for the minimum iOS version ( #10495 )
...
* feat(core): add config for the minimum iOS version
* revert api exapmle
2024-08-07 13:16:27 -03:00
renovate[bot]
5be7607b26
chore(deps) Update Tauri Codegen to v1.7.0 ( #10513 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 13:52:44 +08:00
Catalin Andrei Cacuci
a440a3f9d8
fix(bundler): Correct nsis pre-uninstall hook to post-uninstall ( #10498 )
...
* fix(bundler): Correct nsis pre-uninstall hook to post-uninstall
* Create change-pr-10498.md
* Update change-pr-10498.md [skip ci]
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-05 19:15:45 +02:00
Fabian-Lars
ab382f4ca9
ci: Use GITHUB_TOKEN for workflow_dispatch via gh cli ( #10493 )
2024-08-05 10:12:29 -03:00
Lucas Fernandes Nogueira
2e8ab7bac1
fix(cli): v1 migration should add the updater plugin if it is enabled ( #10481 )
...
* fix(cli): v1 migration should add the updater plugin if it is enabled
* fix change tag
* move to process_updater
* Update tooling/cli/src/migrate/migrations/v1/config.rs
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-05 10:00:33 -03:00
Lucas Fernandes Nogueira
a3cd9779a4
chore(cli): remove android open
and ios open
commands ( #10480 )
...
It is recommended to use `[android|ios] dev --open` or `[android|ios] build --open` instead as it properly sets up the requirements for developing and building apps with Tauri.
2024-08-05 09:57:54 -03:00
chip
e2dc76cfbf
set packageManager
field in package.json for corepack ( #10470 )
2024-08-05 09:50:32 -03:00
Lucas Fernandes Nogueira
8e1e15304e
feat(cli): check if Rust lib contains required Android and iOS symbols #10094 ( #10483 )
...
* feat(cli): check if Rust lib contains required Android symbols #10094
* check for ios aswell
2024-08-05 09:46:28 -03:00
Lucas Fernandes Nogueira
ca68689564
feat(cli): check if project identifier or lib name changed ( #10479 )
...
* feat(cli): check if project identifier changed
* implement ios check
* also check lib name
* clippy
* ensure_init from xcode-script
* fill change file [skip ci]
2024-08-05 09:45:18 -03:00
anatawa12
7e810cb2a3
fix: permission file uses ':' in file name ( #10485 )
...
* fix: permission file uses ':' in file name
* style: rustfmt
2024-08-05 09:45:00 -03:00
renovate[bot]
725dbb7250
chore(deps) Update Rust crate url to v2.5.2 ( #10091 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 13:05:43 +02:00
github-actions[bot]
b9a4410516
apply version updates ( #10468 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-03 10:22:38 -03:00
Lucas Fernandes Nogueira
fb1933f174
fix(cli): android dev --open failing due to adb not finding device ( #10467 )
2024-08-03 10:04:26 -03:00
deadmeu
699319d8a7
docs: Update tauri::app::Builder::setup example ( #10463 )
...
This resolves a warning emitted by following the example code: warning:
unused `Result` that must be used.
2024-08-03 09:50:27 -03:00
Lucas Fernandes Nogueira
206914fe8d
fix(cli): adb reverse
failing in Node.js ( #10466 )
2024-08-03 09:47:50 -03:00
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