Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol
instead of relying on user having custom-protocol
in their cargo features ( #8937 )
...
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features
* tauri-build dev cfg
* pass build-feature when building apk
* run beforeBuildCommand before first build for plugins
* clippy
* fix
* mut
* enhance dev/prod checks
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 15:17:45 -03:00
Lucas Fernandes Nogueira
a029b9f77e
feat(cli): codesign on iOS is optional for the simulator ( #8910 )
...
* feat(cli): codesign on iOS is optional for the simulator
* cargo-mobile2 0.10
2024-02-21 09:52:46 -03:00
Lucas Fernandes Nogueira
c115a978bb
fix(cli): adjust template for capabilities ( #8907 )
2024-02-19 15:12:52 -03:00
Lucas Fernandes Nogueira
8d16a80d2f
feat(codegen): allow defining additional capabilities, closes #8798 ( #8802 )
...
* refactor(core): capabilities must be referenced on the Tauri config file
* add all capabilities by default
* feat(codegen): allow defining additional capabilities, closes #8798
* undo example
* lint
* move add_capability to runtime authority
* add change files
* go through code review
* fix tests
* remove tokens option
2024-02-19 11:13:36 -03:00
Lucas Fernandes Nogueira
83a68deb56
refactor(core): allow referencing capabilities on the Tauri config file ( #8797 )
...
* refactor(core): capabilities must be referenced on the Tauri config file
* add all capabilities by default
* refactor(cli): reference all capabilities by default
2024-02-18 10:42:09 -03:00
Lucas Fernandes Nogueira
4e101f8016
refactor(core): enhance app rerun-if-changed for capabilities and frontend dist ( #8756 )
...
* refactor(core): enhance app rerun-if-changed for capabilities and frontend dist
* always rerun-if-changed=capabilities
* fix todo
* rerun if plugin permissions change
* add change files
2024-02-04 11:42:13 -03:00
Lucas Nogueira
c31c94ceb7
fix(cli): trailing comma on capability template
2024-02-03 13:14:56 -03:00
Lucas Fernandes Nogueira
0cdfda2876
refactor: move plugin functionality from tauri-build to tauri-plugin ( #8737 )
...
* refactor: move plugin functionality from tauri-build to tauri-plugin
* fixes
* fix build
* move docs function
* autogenerated
* fix path
2024-02-03 08:48:57 -03:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085
.
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
f492efd714
feat(cli): update template with permissions and capabilities ( #8666 )
...
* feat(cli): update template with permissions and capabilities
* update gitignore [skip ci]
2024-02-01 08:53:56 -03:00
Palash Bansal
27bad32d4d
feat: Add files field in macos build config, closes #3290 ( #7798 )
...
* Add appContents field in macos tauri config.
* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.
* Change appContents to files in helloworld/tauri.conf.json
* use common::copy_dir helper
* add change files [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives
mod to core
( #8273 )
2023-11-20 17:53:13 -03:00
Lucas Fernandes Nogueira
92b50a3a39
fix(cli): add support to Xcode's archive ( #8209 )
2023-11-13 22:35:43 -03:00
Tai Zeming
adc3cc2ffa
chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser ( #8194 )
2023-11-13 17:13:01 +02:00
Lucas Fernandes Nogueira
bfbbefdb9e
fix(cli): invalid plugin template ( #8161 )
2023-11-07 22:56:21 -03:00
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files ( #8025 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins ( #8076 )
2023-10-23 14:09:42 -03:00
renovate[bot]
c90ee65dbf
chore(deps) Update Tauri CLI (dev) ( #7630 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 ( #8057 )
2023-10-19 10:46:04 -03:00
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 ( #8031 )
2023-10-17 11:08:15 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri
module to primitives
( #7942 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 ( #7808 )
2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme ( #7779 )
2023-09-07 19:57:16 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
d010bc07b8
feat(ios): properly set iOS product name ( #7554 )
2023-08-05 08:59:19 -03:00
Lucas Fernandes Nogueira
aa94f7197e
feat(ios): add empty entitlements file to iOS project ( #7445 )
2023-07-18 10:20:32 -03:00
Jeffrey Hutchins
c7534e732d
feat(android): disable action bar in dark mode themes.xml ( #7226 )
2023-06-17 04:57:33 +03:00
Amr Bashir
8922be591c
feat(android): disable action bar in themes.xml
( #7164 )
2023-06-16 13:02:11 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -03:00
Flysoft
aa6c9164e6
fix(cli): don't build library when building desktop targets, closes #7007 ( #7014 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-22 11:32:20 -03:00
Amr Bashir
994e4fd6d9
chore: reuse defaultArchList
( #6978 )
2023-05-17 02:08:05 +03:00
Lucas Fernandes Nogueira
59db76af4c
refactor(android): fix race conditions processing Android plugin project as dependency ( #6968 )
2023-05-16 10:22:46 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers ( #6925 )
...
* chore: fix ci and cleanup leftovers
1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api
* remove leftover updater structs
* move updater under bundle and remove uneeded options
* fix cli on linux
* remove create_proxy
* clippy
* more clippy
* clippppy
* readd path api
* fix api example
* remove window allowlist
* remove window from allowlist config
* remove `all` allowlist option
* remove file_move
* lint
* fix windows build
* remvoe unused deps
* remvoe allowlist config option, move protocol to `security > asset_protocol`
* fix diffing features
* fmt and test
* fix scope alias
* change files
* android lint
* simplify allow_file impl
* Revert "simplify allow_file impl"
This reverts commit b8882f2fd0
.
* expose scopes
* remove unused error variants
* protocol-asset on docs.rs
* ignore reqwest on udeps
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Amr Bashir
5a9307d11c
feat(cli): update android template to gradle 8.0 ( #6890 )
...
* feat(cli): update android template to gradle 8.0
* update java in CI to 17
* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Lucas Fernandes Nogueira
b072daa3bd
refactor(core): move updater
to a plugin ( #6919 )
2023-05-09 16:43:31 -07:00
Lucas Fernandes Nogueira
d48aaa150a
fix(cli): readd plugin example template Cargo.toml files ( #6894 )
2023-05-07 17:19:51 -07:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next
2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
3188f37649
feat: update MSRV to 1.65 ( #6883 )
2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API ( #6837 )
2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
6d6b6e653e
feat: configure escaping on handlebars templates ( #6678 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-02 09:59:59 -03:00
Amr Bashir
19cd0e4960
feat: add key.properties
to android gitignore ( #6811 )
2023-04-27 16:04:53 +02:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script ( #6783 )
2023-04-24 11:17:59 -03:00
Lucas Fernandes Nogueira
d693e526e8
feat(android): add onNewIntent
plugin hook ( #6780 )
2023-04-23 19:59:46 -03:00
Amr Bashir
31444ac196
chore(deps): update wry to 0.28 ( #6725 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837
refactor(core): use absolute path for the tauri Android library ( #6774 )
2023-04-23 15:40:47 -03:00
Lucas Fernandes Nogueira
dfa407ffcb
feat(mobile): add plugin config to the Plugin class ( #6763 )
2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
ee2d3b971d
fix(cli): remove buildSrc from Android project gitignored paths ( #6702 )
2023-04-13 19:29:18 -03:00
Lucas Nogueira
a8153b9ff4
chore(cli): gitignore iOS Externals folder
2023-04-07 21:03:26 -03:00
Lucas Fernandes Nogueira
db4c9dc655
feat(core): add option to configure Android's minimum SDK version ( #6651 )
2023-04-07 11:21:42 -03:00
Amr Bashir
d03e47d141
fix: only build specified rust targets for aab/apk build ( #6625 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00