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
Lucas Fernandes Nogueira
8b3e6eccf4
fix(ci): gh
CLI expects the GH_TOKEN env var ( #10333 )
2024-07-20 09:42:40 -03:00
Jacob Bolda
cfc53074d0
(chore) covector comment on forks ( #10331 )
...
* (chore) covector comment on forks
* bump header year
* Update .github/workflows/covector-comment-on-fork.yml
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-07-20 09:17:06 -03:00
renovate[bot]
88552d66c3
chore(deps) Update Tauri Macros ( #10309 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 10:39:03 +08:00
Jason Tsai
9546548ec0
fix(macos): set default title-bar style to Visible
, close #10225 ( #10297 )
...
* fix(macos): set default title-bar style to `Visible`
* chore: add TODO
2024-07-17 06:40:38 +03: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
Hamir Mahal
26f2e19a4f
refactor: remove unnecessary hashes around raw str ( #10273 )
2024-07-15 14:54:46 +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
506f1dd873
chore: use from string instead of from_anyhow
anyhow!
( #10282 )
...
* Use from string instead of from_anyhow anyhow!
* Clippy
2024-07-14 21:44:01 +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
Fabian-Lars
202f15fc40
ci: Fix cli auto publishing ( #10223 )
2024-07-12 10:45:55 -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
Lucas Fernandes Nogueira
69dcfdfe0f
fix(build): skip rerun-if-changed when Info.plist do not exist ( #10267 )
2024-07-12 10:13:08 -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
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
2c076d63d0
ci: recognize contributors in releases ( #10003 )
2024-07-12 09:02:26 -03:00
Amr Bashir
ba9590aa92
feat!: add Listener and Emitter traits ( #9640 )
...
* feat!: add `Listener` and `Emitter` traits
* keep only trait implementation
* change file
* fix doctests
* fix build
2024-07-12 09:01:40 -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
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
249cdde9b6
Fix Serialize impl missing TSend ( #10252 )
2024-07-11 11:11:15 +02:00
Tony
11339418b1
chore(example/api): fix enter doesn't work on input with action button ( #10254 )
...
* Fix enter doesn't work on input with action button
* Use form
2024-07-11 11:06:36 +02: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
Brendan Allan
57612ab249
feat: add TSend generic to Channel ( #10139 )
...
* add TSend to Channel
* add changeset
* fix tray Channel
* Update .changes/ipc-channel-generic.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-07-10 10:03:20 -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