Yuri Astrakhan
0afee5ed80
chore: update brotli dependency to v6 ( #10436 )
...
* chore: update brotli dependency to v6
brotli v6 plays nice with other versions of the same crate
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 08:23:31 -03:00
renovate[bot]
f65990d1d7
chore(deps) Update Rust crate json-patch to v2 (dev) ( #10515 )
...
* chore(deps) Update Rust crate json-patch to v2
* update other crates
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:45:24 -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
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 Fernandes Nogueira
88619e8914
feat: promote v2 to RC ( #10434 )
...
* feat: promote v2 to RC
* update changelog
2024-08-02 10:28:06 -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
Lucas Fernandes Nogueira
24445d71de
fix(core): usage without the compression feature ( #10432 )
2024-07-31 18:40:02 -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
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
5d29229858
fix(codegen): icon rewriting always triggering build to rerun ( #10268 )
2024-07-12 10:12:58 -03:00
Amr Bashir
4c239729c3
fix(core): fix raw invoke body for isolation pattern ( #10167 )
...
* fix(core): fix raw invoke body for isolation pattern
The `isolation` pattern requests are made using JSON but the payload could be raw bytes, so we send the original `Content-Type` from frontend and make sure to deserialize the payload using that one instead of `Content-Type` from request headers
* clippy
* disable plist embed in generate_context in tests
* change file
* docs [skip ci]
* move unused_variables [skip ci]
* last commit regression [skip ci]
* fix test
* add example, do not text encode raw request
* check type instead of contenttype
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:52:53 -03:00
Hamir Mahal
1a88fc1a9b
style: simplify string formatting ( #10259 )
...
* style: simplfiy string formatting
* fix: file formatting in `core/`
2024-07-12 13:33:14 +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
olexiyb
1f6e478c84
fix : #7614 - rebuild every time on macos because of Info.plist changes ( #9878 )
...
* fix : #7614 : rebuild every time on macos because of Info.plist changes
* apply proposed patch from lucasfernog
* Update core/tauri-codegen/src/context.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Update core/tauri-codegen/src/context.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* added changes file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-06-26 08:08:14 -03:00
Tony
5b769948a8
feat(core): add include_image
macro ( #9959 )
2024-06-06 06:03:11 +03:00
github-actions[bot]
594e3e2939
Apply Version Updates From Current Changes ( #9869 )
...
* apply version updates
* fix bundler version
* update lockfile
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-29 00:10:20 -03:00
Amr Bashir
ccc3ea729d
fix(codegen): use TAURI_ENV_TARGET_TRIPLE
to determine the current platform-specific config ( #9646 )
...
* fix(codegen): use `TAURI_ENV_TARGET_TRIPLE` to determine the current platform-specific config
* set env var
* Update .changes/tauri-codegen-use-correct-env.md
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-28 13:48:24 -03:00
github-actions[bot]
51b5d581b5
Apply Version Updates From Current Changes ( #9752 )
...
* apply version updates
* fix tests
* fix tests
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 23:20:59 -03:00
github-actions[bot]
6968c40053
Apply Version Updates From Current Changes ( #9722 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-09 15:22:54 -03:00
Lucas Fernandes Nogueira
5a85ee2826
Revert "Apply Version Updates From Current Changes" ( #9723 )
...
This reverts commit 1bee4f279f
.
2024-05-09 14:02:22 -03:00
github-actions[bot]
1bee4f279f
Apply Version Updates From Current Changes ( #9693 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-05-09 12:28:30 -03:00
github-actions[bot]
83acd85788
apply version updates ( #9639 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-05-07 00:02:54 +02:00
github-actions[bot]
ac9bfada4a
Apply Version Updates From Current Changes ( #9548 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-22 17:09:51 -03:00
Marc Espin
55bf4eb51c
fix: Remove old links and updated CONTRIBUTING.md ( #9472 )
...
* fix: Remove old links update CONTRIBUTING.md
* update
2024-04-16 00:12:33 +02:00
github-actions[bot]
535691a711
Apply Version Updates From Current Changes ( #9348 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-04-15 09:32:40 -03:00
github-actions[bot]
1a58cdf2ed
Apply Version Updates From Current Changes ( #9279 )
...
* apply version updates
* fix bundler version
* fix bundler version
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 15:15:12 -03:00
github-actions[bot]
f1df6b2c35
Apply Version Updates From Current Changes ( #9162 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-18 09:43:47 -03:00
Lucas Fernandes Nogueira
e227fe02f9
feat(core): allow defining global API script on plugin build ( #9156 )
...
* feat(core): allow defining global API script on plugin build
Adds `tauri_plugin::Builder::global_api_script_path` so plugin authors can define the JavaScript global API bindings (supposed to be injected to `window.__TAURI__`) at compile time, so the string is only part of the binary when withGlobalTauri is true.
Currently this needs to be done manually at runtime (and it's always added to the binary via include_str).
* prefix variable
* use list of scripts instead of combining them
* static str
* header [skip ci]
* slice
2024-03-12 12:01:13 -03:00
github-actions[bot]
d349558abb
Apply Version Updates From Current Changes ( #9149 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-11 15:14:25 -03:00
Lucas Fernandes Nogueira
490a6b424e
refactor(core): add setup() to the Assets trait ( #9147 )
...
* feat(core): allow swapping the assets implemenetation
* refactor(core): add setup() to the Assets trait
* code review
2024-03-11 13:38:32 -03:00
Lucas Fernandes Nogueira
ba0206d8a3
feat(core): allow swapping the assets implementation ( #9141 )
2024-03-11 11:07:15 -03:00
github-actions[bot]
d701f29f17
Apply Version Updates From Current Changes ( #9117 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-07 19:56:45 -03:00
Lucas Fernandes Nogueira
ed48e2b3c7
feat(core): expose the image module ( #9122 )
...
* feat(core): expose the image module
* code review
* fix import
* fix
* fix codegen
* jsimage owned
* fmt
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 19:23:21 -03:00
github-actions[bot]
e7f245e81e
Apply Version Updates From Current Changes ( #9035 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-06 19:00:57 -03:00
renovate[bot]
5829f23171
chore(deps) Update Rust crate base64 to 0.22 (dev) ( #9092 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:55:36 -03:00
Lucas Fernandes Nogueira
b5c7432769
feat(core): use a strict CSP on the isolation iframe ( #9086 )
2024-03-05 14:20:17 -03:00
Amr Bashir
bb23511ea8
feat: enhance multiple capabilities file format & fix mixed permissions schema ( #9079 )
...
* feat: enhance multiple capabilities file format & fix mixed permissions schema
* change files
2024-03-05 13:09:32 -03:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
d1e77acd8d
refactor!(core): remove Icon
enum and add Image
type ( #9011 )
...
* refactor!(core): remove `Icon` enum and add `Image` type
* clippy
* revert api example config change
* Update image.rs
* fix build
* clippy
* change files
* add back removed methods as setter functions
* simplify error message
* Update .changes/runtime-icon-lifetime.md
* Update .changes/ico-featrue-flags.md
* Update core/tauri/src/image.rs
* update api lockfile
* update api ref
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-29 09:05:11 -03:00
github-actions[bot]
ab060ebb34
Apply Version Updates From Current Changes ( #9000 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-29 00:06:59 -03:00
Lucas Fernandes Nogueira
3657ad82f8
feat(core): allow defining permissions for the app commands ( #9008 )
...
* feat(core): allow defining permissions for the app commands
* global scope
* command scope
* write to disk
* lint
* fix path
* get autogenerated commands from generate_handler macro
* revert
* remove cli
* use const instead of empty str
2024-02-28 08:45:28 -03:00
github-actions[bot]
31a33d4680
Apply Version Updates From Current Changes ( #8980 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-02-26 23:05:51 -03:00
Lucas Fernandes Nogueira
bc5b5e671a
chore(linux): remove CSP tag on custom protocol response ( #8984 )
2024-02-26 13:08:19 -03:00
github-actions[bot]
0606ab326b
Apply Version Updates From Current Changes ( #8938 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 18:50:24 -03:00
github-actions[bot]
af646520cf
Apply Version Updates From Current Changes ( #8918 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-21 12:00:32 -03:00
github-actions[bot]
18ff84fc81
Apply Version Updates From Current Changes ( #8775 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-19 15:49:28 -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 Nogueira
c426c0dca2
merge from 1.x
2024-02-19 08:03:05 -03:00