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
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
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
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
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
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
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
Tony
f153e8b0fe
docs: Fix js doc's param mismatch for setSizeConstraints ( #10342 )
2024-07-22 11:09:36 +02: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
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
3c17fb64fd
Fix Webview.reparent
pointing to wrong Rust API ( #10277 )
2024-07-14 19:20:56 +08:00
github-actions[bot]
6d965e9fbf
apply version updates ( #10179 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-12 16:37:38 -03:00
Lucas Fernandes Nogueira
7c7fa0964d
feat(cli): iOS signing for CI usage ( #9963 )
...
* feat(cli): iOS signing for CI usage
* license headers
* change file
* chore: support more cert types
* xplicit method arg
* keep keychain alive
* fix early keychano drop
* set team id
* use common name as cert name
2024-07-12 11:08:55 -03:00
renovate[bot]
532b3b1c03
chore(deps) Update Tauri API Definitions ( #9171 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 11:07:49 -03:00
Amr Bashir
261c9f942d
refactor!(core & api): rename drag events for better consistency and clarity ( #10170 )
...
* refacotr!(core & api): rename drag events for better consistency and clarity
* more renames
* remove imports
* fix drag over listen
* update example
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 10:22:06 -03:00
Amr Bashir
c01e87ad46
refactor(cli/migrate): use oxc
kit to parse and migrate js/ts files ( #10198 )
...
* refactor(cli/migrate): use `oxc` kit to parse and migrate js/ts files
closes #10192
* fix tests
* use majic-string to perserve formatting
* more comments
* Discard changes to package.json
* Update cli-migrate-enhancemnets.md
* Update cli-migrate-enhancemnets.md
* more context
* add missing quotes, rename getcurrent
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:03:30 -03:00
Amr Bashir
2b1ceb40d3
refactor(api)!: renamed getCurrent
functions to avoid ambiguity ( #10229 )
...
* refactor(api)!: renamed `getCurrent` functions to avoid ambiguity
closes #10193
* Update .changes/get-current-ambguity.md
* rename `getAll` and update docs and examples
2024-07-11 14:26:15 +03:00
Tony
080b6e1272
enhance: use EventName
on window's once
and remove listener before calling handler ( #10246 )
...
* Refactor
* Revert event => void
* Change file
2024-07-10 19:59:01 +03:00
Amr Bashir
15e1259966
fix(cli): parse cargo--target-dir
flag ( #10234 )
...
* fix(cli): parse cargo`--target-dir` flag
closes #10190
* clippy
2024-07-10 16:01:04 +03:00
Lorenzo Rizzotti
b4e16f3d8e
fix(android): fix Android Studio project plugin link ( #10235 )
...
* add plugin resolution to gradle settings
This is needed to make Android Studio able to link to the project
* reflect codegen edit in the plugin example
2024-07-10 14:26:06 +03:00
Fabian-Lars
c734b9e3cd
feat(bundler/windows): Update wix to fix vulnerabilities and add arm support ( #9861 ) ( #10072 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-08 15:51:26 +03:00
Amr Bashir
5998a90f3f
fix(bundler): update nsis_tauri_utils to 0.4.1 ( #10184 )
2024-07-08 13:33:40 +02:00
Amr Bashir
94136578bc
fix(cli/migrate): fix clipboard
permissions migration ( #10186 )
...
closes #10185
The plugin has been updated recently and its permissions has changed.
2024-07-04 10:47:44 +03:00
Fabian-Lars
96f65fef36
fix(bundler): Fix updater bundler warning condition for v2 artifacts ( #10188 )
2024-07-04 10:47:14 +03:00
Tony
11aa7743e7
enhance!(nsis): use !ifmacrodef
for installer hooks ( #10177 )
2024-07-03 05:48:22 +03:00
Jason Tsai
7bc6a2a1d6
feat(macos): support changing title bar style dynamically, close #9763 ( #9788 )
2024-07-03 05:36:51 +03:00
Tony
eeae0660e1
chore(deps): update cargo mobile2 to 0.12.2 ( #10165 )
2024-07-02 06:55:28 +03:00
github-actions[bot]
ff79161b0d
apply version updates ( #10166 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-01 23:30:21 -03:00
Lucas Nogueira
f5b121be6e
Revert "apply version updates ( #9926 )"
...
This reverts commit 1cc9aa4b66
.
2024-07-01 23:14:57 -03:00
github-actions[bot]
1cc9aa4b66
apply version updates ( #9926 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-07-01 22:40:01 -03:00
Tony
911242f092
feat!(core): add bundle createUpdaterArtifacts configuration ( #9883 )
...
* Add updater field
* Don't sign updaters when updater field is false
* Clippy
* Add updater to bundle migration
* Format
* Add updater config to api example
* No warning if update is not enabled
* Build
* Add change file
* We don't generate updater for dmg package
* Warning only for v1 compatible
* clean up
* More clean up
* little bit more
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Revert license header change
* Remove option around pubkey and msi args
* More migration tests
* Refactor private_key getter
* Only generate signature for updater for v1 compat
* Format
* Use map_err instead of anyhow context
* Don't generate updater for api example
* Fix misaligned comment
* Rename `updater` to `createUpdaterArtifacts`
* Revert changes in helloworld example
* Add warning for v1 compatible
* Update .changes/separate-updater-field.md
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
* update error messages [skip ci]
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-07-01 08:34:58 -03:00
Amr Bashir
77d44215ef
enhance(nsis): include uninstaller size in estimated size ( #10137 )
2024-06-27 09:43:13 -03:00
Amr Bashir
27838365a6
fix(cli): parse --profile=<profile>
syntax ( #10135 )
...
* fix(cli): parse `--profile=<profile>` syntax
ref: https://github.com/tauri-apps/tauri/issues/6255#issuecomment-2192466839
* Update tooling/cli/src/interface/rust.rs
* safe check next arg
* add test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-06-27 06:53:26 -03:00
Simon Richard
167b51a8de
feat: improve deserialization errors by using serde-untagged on enums ( #9952 )
...
* Use serde-untagged instead of derive trait for capabilities structs
* Update core/tauri-utils/Cargo.toml
* improve errors for other untagged enums
* clippy
* add tests, fix deserialization
* use schemars attribute instead
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-06-26 17:54:49 -03:00
Tony
878198777e
feat(schema): make acl permissions schema unique ( #9999 )
...
* Make acl permissions schema unique
* Add change file
* use a hashset
* fix cli
* Revert "use a hashset"
This reverts commit 778d316f34
.
* Revert "fix cli"
This reverts commit cfc0e39182
.
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-06-26 17:13:55 -03:00
Jesper L. Nielsen
1601da5b52
fix(cli): removed alpha channel from default IOS AppIcons ( #10114 )
...
* bug: removed alpha channel from default IOS AppIcons
According to Apple's human interface guideline
(https://developer.apple.com/design/human-interface-guidelines/app-icons )
transparent or icons with alpha channel are not allowed, and will be rejected
upon upload to Apple appstore.
* Update .changes/ios-non-transparent-icons.md
2024-06-26 21:10:16 +03:00
Amr Bashir
eb76df4c4f
fix(cli/plugin/new): construct path from components iterator instead of PathBuf::join
( #10128 )
...
fixes #10082
The problem that we were calling `PathBuf::join()` with value of collecting an empty iterator of path components which was equivalent to `PathBuf::from("ios").join("")` which will result in `ios/` with a trailing slash.
This is fixed by chaining iterators of path components and collecting only once into `PathBuf`, which will never append empy path component and will never append trailing slash.
```rs
[
Component::Normal(OsStr::new("ios")),
Component::Normal(&some_folder_name),
]
.into_iter()
.chain(other_components_iterator)
.collect::<PathBuf>()
```
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-06-26 11:11:31 -03:00
Tony
f21029b1bc
feat!(nsis): add an option to customize start menu folder ( #9994 )
2024-06-26 09:17:02 +03:00
Tony
35110dba21
fix(nsis): delete app data button gone on higher scaling ( #10106 )
...
* Fix delete app data button gone on high DPI
* Add change file
* change back translation template
* Use w string instead of t
* Add in some comment explaining PerMonitorV2
2024-06-26 09:01:34 +03:00
Fabian-Lars
61bbd8373f
fix(bundler/wix): Add AUTOLAUNCHAPP
and LAUNCHAPPARGS
public properties ( #10117 )
2024-06-26 06:27:12 +03:00