Tony
58dda44a59
feat(bundler/nsis): add minimum webview2 version checks ( #10339 )
2024-08-23 15:21:39 +03:00
Amr Bashir
91e9e784aa
feat(cli/info): include plugins info ( #10729 )
...
* feat(cli/info): include plugins info
closes #10682
* header
* resolve package manager once
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-08-23 08:29:03 -03:00
github-actions[bot]
9620c58e5a
Apply Version Updates From Current Changes ( #10740 )
2024-08-22 11:50:17 -03:00
Lucas Fernandes Nogueira
c33adb19a7
Revert "apply version updates ( #10715 )" ( #10739 )
...
This reverts commit dc49cb3d9b
.
2024-08-22 09:44:23 -03:00
github-actions[bot]
dc49cb3d9b
apply version updates ( #10715 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-22 09:43:45 -03:00
Amr Bashir
f4d5241b37
chore: cleanup unnecessary scripts and files ( #10731 )
...
* chore: cleanup unnecessary scripts and files
- Removed `.cargo/config` and `__TAURI_WORKSPACE__` workaround
- Removed husky and precommit hooks
- Remove unecessary script files
- Moved `.scripts/covector/sync-cli-metadata.js` to `.scripts/ci/sync-cli-metadata.js`
- Moved `app-icon.png` to `.github/icon.png`
- Enhanced has-diff.sh script to output which files are modified
* lock file
* bring back __TAURI_WORKSPACE__
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-08-22 07:56:52 -03:00
Lucas Fernandes Nogueira
793ee05317
fix(core): allow hyphens and underscores on identifiers, closes #9707 ( #10700 )
...
* fix(core): allow hyphens and underscores on identifiers, closes #9707
* fix build
* fix build
* lint
* move replace
* update tao
* update tao-macros
2024-08-21 13:46:25 -03:00
Lucas Fernandes Nogueira
da8c9a7d30
refactor(cli): synchronize pbxproj and export options, handle cert on build ( #10669 )
2024-08-21 11:38:02 -03:00
github-actions[bot]
762cf31a11
apply version updates ( #10698 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-20 14:25:20 -03:00
Lucas Fernandes Nogueira
1a60822a42
fix(cli): add
should use 2.0.0-rc for known plugins ( #10699 )
...
changes the CLI `add` command to match the CLI major and pre requirements for known plugins
this is required because right now adding the deep-link plugin installs the v1 plugin (latest version known by cargo as the v2 is still in RC), even though we're running the v2 CLI
2024-08-20 14:09:50 -03:00
Lucas Fernandes Nogueira
da381e07f3
feat(core): resources on mobile apps ( #10696 )
...
* feat(core): resources on mobile apps
* resources dir on android
2024-08-20 13:49:17 -03:00
github-actions[bot]
02f85dffbe
apply version updates ( #10685 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-19 21:35:58 -03:00
Lucas Fernandes Nogueira
7796a8fc64
fix(cli): adapt Package.swift to work on older Swift versions ( #10687 )
...
I noticed the plugin build fails on older Swift (tested on macOS 12) because the default minimum required macOS version (10.10 in my case) is older than `v10_13` which is set by the Tauri iOS package (and also swift-rs).
So the plugins must explicitly define a minimum macOS version too.
2024-08-19 16:29:16 -03:00
anatawa12
8d148a9e25
feat: Custom sign command with object notation ( #10634 )
...
* feat!: Custom sign command with object notation
* implement JsonSchema if schema feature is enabled
* feat: support old string-based custom signing command config
* format: Run cargo fmt inside tooling/bundler folder
* chore: update json schema
* format: cargo fmt again
* small cleanup
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-19 15:55:58 -03:00
Masahiko Sakakibara
8ae52a615a
fix(cli): change "register_ios_plugin" params to snake case ( #10676 )
...
* fix(cli): change "register_ios_plugin" params to snake case
* Create change-pr-10676.md
* Update .changes/change-pr-10676.md
* Update .changes/change-pr-10676.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-19 13:29:01 -03:00
Guillaume M
9b99ebab17
fix(cli): do not force architecture when building and archiving iOS app ( #10431 )
...
* feat(ios): add a new cli option to dev to use project archs
Add a new option to instruct cargo-mobile2 to use architectures configured in the project for building
* update cargo-mobile2, add change file
* fix change file [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-19 12:36:48 -03:00
Lucas Fernandes Nogueira
23a912bb84
fix(ci): @tauri-apps/cli publish workflow ( #10659 )
...
* fix(ci): pnpm install
* fix setup-node
* node16 setup fails somehow
* remove unnecessary install deps step
* run nodejs directly
* fix permissions
* fix metadata
2024-08-17 08:21:27 -03:00
github-actions[bot]
3522fbd78e
Apply Version Updates From Current Changes ( #10561 )
...
* apply version updates
* fix versions
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-16 23:39:49 -03:00
Amr Bashir
01f6aa3405
build: migrate repo to use pnpm
as the package manager ( #10607 )
...
* build: migrate repo to use `pnpm` as the pacakge manager
* corepack enable
* update lock file
* format files
* format .github
* fix audit js
* wrap in quotes
* --frozen-lockfile
* simplify packageManager field
* lockfile
* remove cache from audit workflow
2024-08-16 23:04:08 -03:00
Lucas Fernandes Nogueira
8deb1966ac
feat(bundler): infer signing identity from certificate to import ( #10652 )
2024-08-16 20:30:49 -03:00
Amr Bashir
6d7ac65676
chore: use 0.1.0 as version in templates ( #10644 )
...
closes #10474
2024-08-16 20:19:04 -03:00
Lucas Fernandes Nogueira
1b0c447fcb
fix(macos-sign): missing stdout/stderr in Node.js context ( #10654 )
2024-08-16 20:16:00 -03:00
Lucas Fernandes Nogueira
10fb027b75
fix(cli): migrate v1 plugin dependencies, prevent dup, closes #10650 ( #10656 )
2024-08-16 19:58:20 -03:00
Lucas Fernandes Nogueira
255d64e3dc
fix(cli): actually check if there are multiple android devices connected ( #10642 )
2024-08-16 04:12:34 +03:00
Lucas Fernandes Nogueira
d0510f52eb
refactor(core): serialize response once, closes #5641 ( #10641 )
...
* refactor(core): serialize response once closes #5641
This change impacts both the custom protocol and the postMessage based IPC implementations. Basically it changes the whole IPC mechanism to work on raw JSON strings so we do not need to serialize a serde_json::Value after serializing to it from a user-provided type.
i benchmarked this with a 150MB file response (returning Vec<u8> instead of tauri::ipc::Response since the latter does not serialize at all) and it went from 29s to 23s (custom protocol) and from 54s to 48s (post message) on macOS.
* fix mobile & lint
* clippy
2024-08-15 16:15:11 -03:00
renovate[bot]
d1ee3f4b55
chore(deps) Update Tauri CLI (dev) ( #10610 )
...
* chore(deps) Update Tauri CLI
* html5ever 0.28
* update windows-sys
* cast
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-15 15:39:21 -03:00
Lucas Fernandes Nogueira
9089d97637
fix(cli): properly resolve merge config on mobile build closes #9970 ( #10605 )
...
just applying the change from #10600 to xcode to fix the linked issue :)
2024-08-15 10:50:19 -03:00
Lucas Fernandes Nogueira
b160f9359d
fix(cli): only validate iOS lib on debug builds ( #10638 )
2024-08-15 09:12:21 -03:00
Lucas Fernandes Nogueira
9f75d06228
fix(cli): adb port forward error handling, add logs, closes #9509 ( #10604 )
2024-08-13 22:07:02 -03:00
Amr Bashir
39bf0a1635
refactor: rename TAURI_SIGNTOOL_PATH
-> TAURI_WINDOWS_SIGNTOOL_PATH
( #10595 )
...
immediately after merging #10588 I noticed that the variable name might be a bit ambigious and could cause confusion on other pl atforms other than Windows
2024-08-13 21:48:12 -03:00
Amr Bashir
78e22bedca
feat(cli): support AndroidTV by default ( #10602 )
...
closes #10534
2024-08-13 21:47:41 -03:00
Lucas Fernandes Nogueira
f4cd68f040
fix(cli): builtin dev server should also be forwarded for Android ( #10600 )
2024-08-13 21:11:01 -03:00
Lucas Fernandes Nogueira
f35bcda289
feat(cli): handle known target specific plugins on permission add #10596 ( #10598 )
...
Closes #10596
2024-08-13 14:01:10 -03:00
Lucas Fernandes Nogueira
712f1049fa
fix(cli): ios dev
and ios build
support for bun
( #10569 )
2024-08-13 09:00:41 -03:00
Lucas Fernandes Nogueira
41c7a6646b
fix(cli): properly exit with code 0 on panic when running with bun ( #10572 )
2024-08-13 08:53:04 -03:00
Lucas Fernandes Nogueira
794cf8234f
chore(cli): change default export method to debugging ( #10571 )
2024-08-13 04:04:16 +03:00
renovate[bot]
20be073bc4
chore(deps) Update Tauri CLI (dev) ( #10308 )
...
* chore(deps) Update Tauri CLI
* fix build
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-12 12:52:16 -03:00
renovate[bot]
f228d3d3d4
chore(deps) Update Tauri Bundler (dev) ( #10512 )
...
* chore(deps) Update Tauri Bundler
* fix build
* fix linux
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-12 12:39:33 -03:00
Lucas Fernandes Nogueira
3bec7b1595
feat(cli): add support to Svelte and Vue.js code on v1 migration ( #10544 )
...
* feat(cli): add support to Svelte and Vue.js code on v1 migration
* clippy
2024-08-12 13:45:42 +09:00
Lucas Fernandes Nogueira
3998570fd3
fix(cli): manifest v1 migration ( #10540 )
...
update features that got removed/renamed, and also migrate any core crate on any dependency table
2024-08-12 12:23:39 +09:00
Lucas Fernandes Nogueira
3beba92b5b
fix(cli): incorrect JS generated by frontend migration closes #10500 ( #10542 )
...
* fix(cli): incorrect JS generated by frontend migration closes #10500
2024-08-12 12:10:27 +09:00
Lucas Fernandes Nogueira
f3837d5b98
fix(cli): broken v1 updater migration, add TOML support, closes #10508 ( #10539 )
...
- make the v1 config migration more resilient by checking null values
- fix "targets: all" incorrectly migrating createUpdaterArtifacts when there's no updater configuration (this is problematic because this targets config is the default)
- migrate Tauri.toml
- add more tests
2024-08-12 11:56:13 +09:00
苏向夜
71d00646a9
feat(cli): detect project NPM package manager on init ( #10504 )
...
* feat(cli): improve init behavior to ask once
* chore(cli): bump version
* fix(clippy): fix clippy warning
* feat(cli): add `bun` and fix version bump msg
* refactor(cli): auto detect the package manager
* move function
* update change file
* update change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 18:33:26 -03:00
Sam Kearney
2d47352a07
fix(cli): make app_dir() logic consistent ( #10418 )
...
* fix(cli): Make app_dir() consistent by basing it on the explicit invocation directory rather than the current working directory
* resolve app paths before everything else
* fix xcode script
* fix test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 09:44:15 -03:00
AHQ
bfc49cc7a1
refactor(android): Remove targetSdk from gradle config ( #10558 )
...
* refactor: remove targetSdk as it is being removed in DSL 9.0
* note
* fix: typo
* update: changelog
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-11 07:06:14 -03:00
anatawa12
4bfe4880fb
fix: fails to build universal fat binary if main bin is renamed to another name ( #10550 )
...
* fix: fails to build universal fat binary if main bin is renamed to another name
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 06:56:53 -03:00
Maarten
bba1a44191
feat(cli): allow skipping rustfmt project reformatting when adding a plugin ( #10457 )
...
* feat(cli): allow skipping rustfmt project reformatting
* Apply suggestions from code review
* fixes, change file
* fix change file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-10 17:09:07 -03:00
renovate[bot]
92cac12a92
chore(deps) Update Rust crate zip to v2 (dev) ( #10516 )
...
* chore(deps) Update Rust crate zip to v2
* SimpleFileOptions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:55:53 -03:00
renovate[bot]
e91550bd86
chore(deps) Update Tauri CLI (dev) (major) ( #10517 )
...
* chore(deps) Update Tauri CLI
* update cargo-mobile2
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:39:55 -03:00
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