Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from tauri-apps:dev #19

Open
wants to merge 2,819 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
2819 commits
Select commit Hold shift + click to select a range
5a0e922
feat(cli): discover src/main.rs binary automatically (#11007)
lucasfernog Sep 15, 2024
94e9d47
fix: fix `main_binary_name` includes `.exe` regression on Windows (#1…
amrbashir Sep 15, 2024
63264a2
Apply Version Updates From Current Changes (#11010)
github-actions[bot] Sep 15, 2024
bc4804d
feat: Migrate to `objc2` (#10924)
madsmtm Sep 15, 2024
a12bf14
fix(covector): unexpected preminor bump
lucasfernog Sep 15, 2024
b1dacd5
Apply Version Updates From Current Changes (#11014)
github-actions[bot] Sep 15, 2024
58465d4
fix(core): missing NSImage feature on objc2-app-kit (#11016)
Legend-Master Sep 16, 2024
e5f0372
chore: add change file for #11016 (#11018)
amrbashir Sep 16, 2024
c530de4
Apply Version Updates From Current Changes (#11019)
github-actions[bot] Sep 16, 2024
e266f2f
docs: update CONTRIBUTING.md with .changes instructions (#11013)
fxsalazar Sep 16, 2024
e7fd676
feat(core): inject invoke key in custom invoke system script (#11025)
lucasfernog Sep 16, 2024
551e062
refactor(core): remove responder from custom invoke systems (#11027)
lucasfernog Sep 16, 2024
9bb8fc6
feat(cli/plugin): add `--no-example` flag (#11030)
amrbashir Sep 16, 2024
ddf6915
feat(api): add `{LogicalPosition,LogicalSize}.toPhysical` method (#11…
amrbashir Sep 16, 2024
ad294d2
feat(core): add `app > windows > create` option to disable window cre…
amrbashir Sep 16, 2024
a1cce04
feat: add tauri-schema-worker (#10871)
amrbashir Sep 16, 2024
5f694c3
ci: use correct version for cloudflare/wrangler-action action (#11033)
amrbashir Sep 17, 2024
09de8c6
refactor(cli/node): migrate `jest` to `vitest` for tests (#11034)
amrbashir Sep 17, 2024
5ff0bbc
docs: add RELEASING.md handbook (#11026)
amrbashir Sep 17, 2024
96c1ec3
fix(cli): test timeout (#11035)
lucasfernog Sep 17, 2024
cbdcee6
Apply Version Updates From Current Changes (#11029)
github-actions[bot] Sep 17, 2024
4d4e7bf
chore(deps) Update Rust crate syn to v2.0.77 (#11044)
renovate[bot] Sep 18, 2024
4f374a2
chore(deps) Update Tauri Build to v1.0.89 (#11045)
renovate[bot] Sep 18, 2024
fbff638
refactor(bundler): group and organize template file structure (#11046)
amrbashir Sep 18, 2024
a247170
feat: Expose ability to enable browser extensions in WebView2 (#11056)
SpikeHD Sep 19, 2024
62b52f6
fix(cli/add): use `>=` for npm and `~` for other package managers (#1…
amrbashir Sep 19, 2024
40a45b5
fix(windows): Handle root paths that cannot be canonicalized (#10838)
alexmoon Sep 19, 2024
b88e22a
fix(cli): set ios deployment target only when building for ios (#11063)
FabianLars Sep 20, 2024
0ddfc59
feat(core): add `Manager::unmanage` (#11071)
amrbashir Sep 20, 2024
9014a3f
feat: add `webview.clear_all_browsing_data` (#11066)
amrbashir Sep 20, 2024
8ab2e3c
refactor(core): simplify and document `push_pattern` (#11065)
amrbashir Sep 20, 2024
3f1a8a4
chore(deps) Update Tauri Bundler (#11048)
renovate[bot] Sep 20, 2024
f57a729
feat: add `upgradeCode` config option (#11039)
amrbashir Sep 20, 2024
67b8a9a
feat(cli): generate signatures for non-zipped targets with `createUpd…
amrbashir Sep 20, 2024
62b3a5c
fix(core): share webcontext between webviews (#11043)
amrbashir Sep 21, 2024
28169ae
fix(cli): Fix crate type (#11080)
AlexProgrammerDE Sep 21, 2024
d369e8d
chore(deps): update `muda` to `0.15` and `tray-icon` to `0.18` (#11097)
amrbashir Sep 23, 2024
56e0874
fix(cli): `ios xcode-script` arg parsing when using bun, closes #1074…
lucasfernog Sep 23, 2024
8d22c0c
fix(cli): only modify iOS code sign style when manually signing (#11101)
lucasfernog Sep 23, 2024
11db7be
feat(core): add a new function to set theme dynamically (#10210)
Legend-Master Sep 24, 2024
ae12f3c
build(deps-dev): bump rollup from 4.21.0 to 4.22.4 in /packages/api (…
dependabot[bot] Sep 24, 2024
cbe3bd8
fix(api): convert `Position` to `PhsyicalPosition` for `TrayIconEvent…
amrbashir Sep 24, 2024
e08c4e6
Change V1 links to V2 site (#11111)
tillmann-crabnebula Sep 24, 2024
948772a
refactor(api): change `button_state` to camelCase (#11114)
lucasfernog Sep 24, 2024
8d381a7
test: add tests for StateManager (#11106)
amrbashir Sep 24, 2024
4078923
fix(ios): Don't set macOS deployment target when building for iOS (#1…
FabianLars Sep 24, 2024
8f3f010
refactor(core): return state in `unmanage` (#11105)
amrbashir Sep 24, 2024
1efa5e7
fix(core): rerun build script if platform config changes, closes #109…
lucasfernog Sep 24, 2024
dfba0ed
fix(bundler): Detect ARM gnueabi as soft-float (fix: #10970) (#11084)
olivierlemasle Sep 24, 2024
9af08f9
fix(core): state tests (#11116)
lucasfernog Sep 24, 2024
06718b4
feat(bundler): improve GitHub mirror URL generation with custom templ…
thep0y Sep 24, 2024
a944b9b
feat(cli): add `--github-workflows` (#11118)
amrbashir Sep 25, 2024
2a654fd
chore(cli/deps): temporarily add tower dependency to fix compile erro…
FabianLars Sep 25, 2024
5621174
feat: add `ScopeObjectMatch` trait for easy scope validation (#11132)
chippers Sep 25, 2024
544328d
fix(nsis): properly handle Webview2 download return value (#11139)
amrbashir Sep 26, 2024
0b44959
refactor!: simplify `TrayIconEvent` in JS by tagging it with `type` f…
amrbashir Sep 26, 2024
95df53a
chore: add missing set theme change file in #10210 (#11143)
Legend-Master Sep 26, 2024
9e46e07
Revert "chore(cli/deps): temporarily add tower dependency to fix comp…
FabianLars Sep 26, 2024
58bab8b
docs: fix formatting of JS comments for API reference (#11148)
olivierlemasle Sep 26, 2024
d9d2502
feat: add `Webview::show` and `Webview::hide` (#11140)
amrbashir Sep 27, 2024
1d8b67b
feat(core): support async functions in `mobile_entry_point` macro (#1…
amrbashir Sep 27, 2024
a49fc99
fix(core): store the hosting `Window` directly on `Webview` and `Webv…
amrbashir Sep 27, 2024
de7414a
feat: add `Window::set_enabled` and `Window::is_enabled` (#11154)
amrbashir Sep 27, 2024
df24cb9
fix(cli): pbxproj parser not expecting underlines in build config IDs…
lucasfernog Sep 27, 2024
12de4fa
apply version updates (#11062)
github-actions[bot] Sep 27, 2024
354be36
refactor(core)!: pass webview label to uri scheme protocol handlers (…
amrbashir Sep 29, 2024
25e7833
chore(deps) Update Tauri Bundler (#11122)
renovate[bot] Sep 29, 2024
0c87e05
chore(deps) Update dependency @rollup/plugin-typescript to v12 (#11123)
renovate[bot] Sep 29, 2024
e10fdb7
revert: revert #10969, consistent product_code (#11182)
amrbashir Sep 30, 2024
60a5aea
feat(cli): support Trunk for iOS dev out of the box (#11181)
lucasfernog Sep 30, 2024
f5d6182
fix(cli): iOS app signature not retaining entitlements, closes #11089…
lucasfernog Oct 1, 2024
11e9f2e
feat(cli): add clap parse test (#11189)
lucasfernog Oct 1, 2024
6cfe7ed
feat(cli): retain log verbosity when running a mobile IDE script (#11…
lucasfernog Oct 2, 2024
a08e6ff
feat(cli): enhance Android dev port forwarding, use host IP for andro…
lucasfernog Oct 2, 2024
11b5e9c
apply version updates (#11175)
github-actions[bot] Oct 2, 2024
c7b9a53
chore: promote to v2 stable (#11198)
lucasfernog Oct 2, 2024
be683e2
fix: publish NPM packages with latest tag (#11199)
lucasfernog Oct 2, 2024
983e780
apply version updates (#11201)
github-actions[bot] Oct 2, 2024
0ab2b33
fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205)
lucasfernog Oct 3, 2024
6f3a2b3
chore(tauri): enhance Manager::add_capability documentation (#11206)
lucasfernog Oct 3, 2024
6d98f24
apply version updates (#11207)
github-actions[bot] Oct 3, 2024
4475fbb
chore(cli): update cargo-mobile2 to adjust lib name validation (#11208)
lucasfernog Oct 3, 2024
858b351
fix(windows): fix command bug in update elevated task (fix #11216) (#…
kittuov Oct 4, 2024
e968b3d
fix(api): actually publish with the latest tag (#11219)
lucasfernog Oct 4, 2024
e2a4da0
fix: usage of `node12 which is deprecated` (#11224)
hamirmahal Oct 5, 2024
03e7590
feat(core): expose invoke key for custom IPC implementations (#11235)
lucasfernog Oct 6, 2024
9102faa
apply version updates (#11209)
github-actions[bot] Oct 6, 2024
a49a19f
fix(bundler): wrap `Exec` in desktop with quotes, rename appimage mai…
amrbashir Oct 6, 2024
3e9fd06
fix: npm audit (#11243)
lucasfernog Oct 7, 2024
eda5713
feat(bundler/nsis): add `Italian` language (#11242)
alex-sandri Oct 7, 2024
04fd3a7
fix(core): return empty body for HEAD requests to `asset` protocol, c…
chrox Oct 8, 2024
1d3f51e
feat: add back `tauri::Builder::on_menu_event` (#11228)
amrbashir Oct 9, 2024
504bb8e
fix(bundler): enhance DMG creation script (#11287)
lucasfernog Oct 11, 2024
4731f0c
fix(core): expose ipc::Invoke (#11290)
lucasfernog Oct 11, 2024
d609bef
fix(cli & core): use unescaped package id in proguard file (#11314)
amrbashir Oct 11, 2024
b3563e3
feat(cli): add deno support (#11304)
amrbashir Oct 11, 2024
069c05e
fix(cli): resolve `bundle > icon` glob when searching for `.ico` for …
amrbashir Oct 12, 2024
2d087ee
fix: fix incorrect label passed to `ipc` protocol (#11268)
amrbashir Oct 12, 2024
61bffa4
fix(bundler): match on `Path::extension` instead of using `Path::ends…
amrbashir Oct 12, 2024
e55bd4b
fix(api): docs for core module __TAURI__ usage (#11324)
lucasfernog Oct 12, 2024
6a768cb
fix(cli): verbose output on tests (#11328)
lucasfernog Oct 12, 2024
4a2d51a
fix(ci): add missing librsvg2-dev dependency for e2e tests (#11329)
lucasfernog Oct 12, 2024
1bfe248
Apply Version Updates From Current Changes (#11255)
github-actions[bot] Oct 12, 2024
627e90c
fix(ci): install librsvg2-dev on the publish cli workflow (#11331)
lucasfernog Oct 12, 2024
e63432f
docs: fix "Capability" documentation example (#11337)
pjdon Oct 13, 2024
e75f0d2
chore(deps) Update Rust crate proc-macro2 to v1.0.87 (#11192)
renovate[bot] Oct 13, 2024
f3f521f
fix(core): fallback to `WRY_ANDROID_PACKAGE` with backticks replaced …
amrbashir Oct 14, 2024
68d4460
docs(android): warn users that passing raw bytes over ipc is not poss…
kartonrad Oct 14, 2024
bcf2792
feat(core): add `ContextMenu::hpopupmenu` on Windows (#11354)
amrbashir Oct 14, 2024
e3b09be
feat(core): add channel interceptor API (#11362)
lucasfernog Oct 14, 2024
ef2482d
fix(core): crash on macOS older than Sequoia (#11366)
lucasfernog Oct 15, 2024
3cb73d0
fix(core): mark event commands as async (#11355)
lucasfernog Oct 15, 2024
df83e5c
apply version updates (#11361)
github-actions[bot] Oct 15, 2024
25cc565
chore(ci): delete processed change file
lucasfernog Oct 15, 2024
2e88633
chore: remove references to unused __TAURI_INTERNALS__.metadata (#11369)
lucasfernog Oct 15, 2024
e4c9268
feat(cli): make tauri/cli fully support projects with non-standard st…
regexident Oct 17, 2024
20c142f
chore(deps) Update Rust crate json-patch to v3 (#11377)
renovate[bot] Oct 17, 2024
e1bf6ef
fix(core): expose `content-range` header in `asset` protocol (#11374)
chrox Oct 17, 2024
ea50f65
chore(deps) Update Rust crate brotli to v7 (#11197)
renovate[bot] Oct 17, 2024
add09c8
chore(deps) Update Rust crate brotli to v7 (#11195)
renovate[bot] Oct 17, 2024
f8b559d
chore(deps) Update Rust crate windows-registry to 0.3.0 (#11193)
renovate[bot] Oct 17, 2024
8278a36
chore(deps) Update Rust crate uuid to v1.11.0 (#11049)
renovate[bot] Oct 17, 2024
6cd917c
feat(core): add methods for predefined items with specific text on `M…
amrbashir Oct 17, 2024
37557ff
chore(deps) Update Tauri CLI (dev) (#10808)
renovate[bot] Oct 17, 2024
bd1b2a1
chore(deps) Update Tauri API Definitions (#10807)
renovate[bot] Oct 17, 2024
c8f55b6
feat(bundler): add `wix > version` option (#11388)
amrbashir Oct 17, 2024
eb61d44
feat(core): fallback to Window and AppHandle resource table on close …
lucasfernog Oct 17, 2024
fbb45c6
fix(api): broken `addPluginListener` implementation, closes #8068 (#1…
lucasfernog Oct 20, 2024
1367ff5
apply version updates (#11373)
github-actions[bot] Oct 20, 2024
8ca0e4d
chore(ci): bump tauri-utils with WiX version change
lucasfernog Oct 20, 2024
7a1a327
chore: bump tauri-utils dependency versions
lucasfernog Oct 21, 2024
a5bf48e
fix: CLI version on metadata file
lucasfernog Oct 21, 2024
f0da0bd
feat(core): add WebviewWindow::resolve_command_scope (#11439)
lucasfernog Oct 21, 2024
e0d1307
feat(cli) Make `tauri migrate` update $schema in tauri.conf.json (#11…
Czxck001 Oct 21, 2024
1f31183
enhance(cli): add context to public/secret key decoding errors (#11405)
amrbashir Oct 21, 2024
6dea12a
feat(bundler): add `recommends` for deb and rpm (#11402)
amrbashir Oct 21, 2024
8c6d1e8
fix(runtime-wry): run `cursor_position` getter on main thread (#11401)
amrbashir Oct 22, 2024
8e083c9
chore(deps) Update Tauri Build to v1.0.91 (#11456)
renovate[bot] Oct 23, 2024
d4b3659
chore(deps) Update Rust crate proc-macro2 to v1.0.89 (#11459)
renovate[bot] Oct 23, 2024
0d31fe9
chore(deps) Update Rust crate thiserror to v1.0.65 (#11463)
renovate[bot] Oct 23, 2024
d0c1189
chore(deps) Update Tauri API Definitions (#11464)
renovate[bot] Oct 23, 2024
ccf20eb
chore(deps) Update Rust crate json-patch to v3 (#11467)
renovate[bot] Oct 23, 2024
ed78f52
chore(deps) Update Rust crate json-patch to v3 (#11466)
renovate[bot] Oct 23, 2024
ce864ce
chore(deps) Update Rust crate image to v0.25.4 (dev) (#11457)
renovate[bot] Oct 23, 2024
54cbf59
fix(api/menu): fix submenus when created using an object in `items` f…
amrbashir Oct 23, 2024
516c7d9
chore(deps) Update Rust crate syn to v2.0.83 (#11473)
renovate[bot] Oct 24, 2024
8036c78
feat(core/path): add `PathResolver::home_dir` on Android (#11455)
amrbashir Oct 24, 2024
0014f9a
chore(deps) Update dependency @types/node to v20.17.0 (#11470)
renovate[bot] Oct 24, 2024
888277e
chore(deps) Update Rust crate syn to v2.0.85 (#11472)
renovate[bot] Oct 24, 2024
a8105ec
docs: fix wrongly rendered links on `docs.rs` (#11483)
cijiugechu Oct 24, 2024
ac22950
fix(cli): Fix mixup of `TAURI_APP_PATH` and `TAURI_FRONTEND_PATH` (#1…
regexident Oct 27, 2024
1065f63
feat(cli): remove UNC path prefix in `TAURI_APP_PATH` and `TAURI_FRON…
bizarre Oct 28, 2024
c43d5df
feat(cli): associate newly created capability with the main window (#…
lucasfernog Oct 28, 2024
d25dd9e
docs: fix capability configuration examples (#11537)
andrii-bodnar Oct 29, 2024
9f47259
chore(deps) Update Rust crate serde to v1.0.214 (#11540)
renovate[bot] Oct 30, 2024
12ffc19
chore(deps) Update Rust crate regex to v1.11.1 (#11542)
renovate[bot] Oct 30, 2024
129414f
fix: fix webview not focused by default (#11569)
amrbashir Nov 4, 2024
c33bbf4
enhance: include the path in ACL I/O errors (#11575)
kornelski Nov 4, 2024
f8994b2
fix(event): handle AnyLabel listeners in `emit_to` (#11581)
Mikkel-T Nov 4, 2024
058c0db
feat(bundler): add option to configure RPM compression (#11584)
amrbashir Nov 5, 2024
f37e97d
feat: add `use_https_scheme` for Windows and Android (#11477)
amrbashir Nov 5, 2024
4191a7a
fix(tray): build tray on main thread (#11583)
amrbashir Nov 5, 2024
100a445
fix(cli): fix yarn berry detection (#11529)
amrbashir Nov 5, 2024
7af01ff
fix(cli): fix `tauri migrate` failing to install NPM deps when runnin…
amrbashir Nov 5, 2024
17c6952
enhance(core): use `diagnostic::on_unimplemented` on rustc 1.78 and n…
amrbashir Nov 5, 2024
1b6b2cf
feat(cli): process `bundle > windows > wix > fragmentPaths` with Hand…
amrbashir Nov 5, 2024
2a75c64
feat(core): add window_class name API on Windows (#11469)
amrbashir Nov 5, 2024
cbc095e
feat: add `WebviewWindow/Webview::devtools` (#11451)
amrbashir Nov 5, 2024
5c4b830
feat(api): add `SERIALIZE_TO_IPC_FN` const and implement it for dpi t…
amrbashir Nov 5, 2024
0382858
chore(deps) Update Tauri API Definitions (#11543)
renovate[bot] Nov 6, 2024
0a170d0
chore(deps) Update Rust crate anyhow to v1.0.92 (#11594)
renovate[bot] Nov 6, 2024
e835751
chore(deps) Update Rust crate syn to v2.0.87 (#11595)
renovate[bot] Nov 6, 2024
8061fb2
chore(deps) Update Rust crate anyhow to v1.0.93 (#11598)
renovate[bot] Nov 6, 2024
58392a5
chore(deps) Update Rust crate handlebars to v6.2.0 (dev) (#11544)
renovate[bot] Nov 6, 2024
e8c0c57
chore(deps) Update Tauri Codegen (dev) (#11596)
renovate[bot] Nov 6, 2024
b63353b
chore(deps) Update Tauri API Definitions (dev) (#11597)
renovate[bot] Nov 6, 2024
15d6515
chore(deps) Update dependency @types/node to v22 (dev) (#11545)
renovate[bot] Nov 6, 2024
3781429
enhance: always check parent directory (fix #8679) (#11429)
griffi-gh Nov 6, 2024
6b3c82a
chore(deps) Update Tauri macOSSign (dev) (#11541)
renovate[bot] Nov 6, 2024
fabc2f2
feat: add HeaderConfig to SecurityConfig (#11485)
39zde Nov 6, 2024
4d545ab
feat: background color APIs (#11486)
amrbashir Nov 6, 2024
f550a3f
chore(deps) Update Tauri Bundler (dev) (#11601)
renovate[bot] Nov 6, 2024
8e8312b
ci: unpin ravif (#11608)
Legend-Master Nov 7, 2024
6bf9179
feat(cli): add `tauri remove` command (#11322)
ShaunSHamilton Nov 7, 2024
c561786
docs: fix typos in drag&drop event.payload (#11620)
Uninen Nov 8, 2024
229d7f8
fix(core): fix child webviews on macOS and Windows treated as full we…
amrbashir Nov 8, 2024
b284358
chore(deps) Update Rust crate thiserror to v2 (dev) (#11604)
renovate[bot] Nov 8, 2024
60e86d5
fix(cli): `android dev` not working on Windows without `--host` (#11624)
lucasfernog Nov 9, 2024
3f6f07a
chore(deps): update `wry` to `0.47` and `tao` to `0.30.6` (#11627)
amrbashir Nov 9, 2024
86f22f0
apply version updates (#11440)
github-actions[bot] Nov 9, 2024
0fcef3f
docs: document vanilla JS import alternative (#11632)
kornelski Nov 11, 2024
5e94354
fix(api/dpi): fix toLogical and toPhysical for positions (#11639)
dgerhardt Nov 11, 2024
e8a50f6
fix(core): hard code `BaseDirectory` integer values to avoid regressi…
amrbashir Nov 11, 2024
7f81f05
chore: rename change file
amrbashir Nov 11, 2024
ef2592b
Apply Version Updates From Current Changes (#11646)
github-actions[bot] Nov 11, 2024
c3b1fce
docs: correct payload property for DragDropEvent.over example (#11648)
idootop Nov 11, 2024
74212d4
feat(cli): include linux DE and session type in `tauri info` (#11653)
amrbashir Nov 12, 2024
4693521
fix: parse json5 capability files when `config-json5` is enabled (#11…
Legend-Master Nov 12, 2024
dc4d794
feat(windows, linux): add `WebviewWindowBuilder/WebviewBuilder::exten…
SpikeHD Nov 12, 2024
cccb308
feat(bundler): create signature for `.deb` bundle (#11562)
jLynx Nov 13, 2024
9cb6cad
chore(deps) Update Rust crate serde to v1.0.215 (#11666)
renovate[bot] Nov 13, 2024
ff39ad9
chore(deps) Update Tauri Codegen (#11667)
renovate[bot] Nov 13, 2024
f2814ed
fix(cli/info): use `XDG_SESSION_DESKTOP` instead of `DESKTOP_SESSION`…
amrbashir Nov 14, 2024
b63262c
fix(api.js): Change cb type in mockIPC to return unknown (#11724)
FabianLars Nov 18, 2024
2bc46b0
docs(examples): fix file-assoc readme cargo build command (#11711)
FabianLars Nov 18, 2024
93a3a04
fix(windows): add Portuguese language in nsis bundle (fix #11725) (#1…
Kiyozz Nov 18, 2024
d86aacc
enhance: allow show_menu_on_left_click on Windows (#11729)
sandercox Nov 18, 2024
72feaf9
refactor(bundler): remove unused fs utils, add http utils (#11716)
FabianLars Nov 18, 2024
b37c208
chore(deps) Update Tauri API Definitions (#11668)
renovate[bot] Nov 19, 2024
a09e48e
fix(core): manually simplify patterns for fs scope (#11730)
amrbashir Nov 19, 2024
020ea05
feat: Implement Badging API (#11661)
ahqsoftwares Nov 20, 2024
12a48d1
fix(api): transform icon when creating icon menu item and predefined …
amrbashir Nov 21, 2024
7a9b920
docs: Remove header images from inline docs (#11749)
liigo Nov 21, 2024
fc30b20
feat(api/tray): add `TrayIcon.setShowMenuOnLeftClick` method (#11726)
amrbashir Nov 21, 2024
f884bae
feat: add `tauri::Builder::on_tray_icon_event` (#11742)
amrbashir Nov 21, 2024
ba6f370
fix(core): Initialize command cache when a capability is added (#11785)
lars-berger Nov 26, 2024
5188c0f
feat(core): Add `Scope::is_forbidden` (#11767)
FabianLars Nov 26, 2024
df27b4d
chore(deps) Update Tauri Macros (#11803)
renovate[bot] Nov 27, 2024
9f0d902
chore(deps) Update Tauri Build to v1.0.215 (#11744)
renovate[bot] Nov 27, 2024
53f8086
feat(bundler): add option to disable `CI` for just the dmg bundler (#…
FabianLars Nov 28, 2024
18bd639
feat(macos): Add `with_data_store_identifier` to `WebviewBuilder` (#1…
lars-berger Nov 28, 2024
d6bed20
refactor(bundler): Move appimage bundler script logic into rust (#11758)
FabianLars Nov 28, 2024
a6e84f7
fix(api.js): wrong command for isAbsolute (#11835)
ilittlebig Nov 30, 2024
2c3e000
chore(deps) Update Rust crate url to v2.5.4 (#11745)
renovate[bot] Dec 2, 2024
983634a
chore(deps) Update dependency @types/node to v22.9.1 (#11750)
renovate[bot] Dec 2, 2024
0e2f0b2
docs: Add missing info regarding the drop position offset. (#11406)
shi-yan Dec 2, 2024
b50a1ac
fix(core): Add background color permissions (#11850)
FabianLars Dec 2, 2024
8ba5e16
ci: msrv compliant lockfile. test cli with 1.77.2 instead of stable. …
FabianLars Dec 2, 2024
a692c89
fix(bundler): create tauri tools dir first. make tools executable. (#…
FabianLars Dec 2, 2024
89e30ef
fix(core): Remove os check on `data_store_identifier` (#11817)
FabianLars Dec 2, 2024
882b0ad
chore: apply clippy suggestions. (#11849)
FabianLars Dec 2, 2024
01c74f4
chore(deps) Update Tauri API Definitions (#11867)
renovate[bot] Dec 4, 2024
e61225b
chore(deps) Update Rust crate anyhow to v1.0.94 (#11864)
renovate[bot] Dec 4, 2024
475597f
chore(deps) Update Rust crate syn to v2.0.90 (#11865)
renovate[bot] Dec 4, 2024
9f51bbf
chore(deps) Update Tauri Codegen (#11866)
renovate[bot] Dec 4, 2024
1f65fd2
fix(cli): Statically compile msvc runtime (#11769)
FabianLars Dec 4, 2024
2b8a981
refactor(cli): use `cargo run` for `tauri dev` (#11694)
FabianLars Dec 5, 2024
b37741d
fix(feature/specta): Resolve error when using latest version of spect…
johncarmack1984 Dec 5, 2024
afad806
chore(deps): update `tao` to `0.31` (#11906)
amrbashir Dec 9, 2024
0ae06c5
fix: the exclude path in file Cargo.toml of plugin template generated…
wtto00 Dec 9, 2024
2a120bd
chore(deps) Update Rust crate syn to v2.0.90 (#11935)
renovate[bot] Dec 11, 2024
22b26a2
chore(deps) Update Tauri Build to v1.0.94 (#11938)
renovate[bot] Dec 11, 2024
6bbf364
chore(deps) Update Tauri Codegen (#11939)
renovate[bot] Dec 11, 2024
f5eacf3
chore(deps) Update Tauri API Definitions (#11936)
renovate[bot] Dec 11, 2024
17bcec8
chore(deps): update all js dev dependencies (#11941)
Legend-Master Dec 11, 2024
ca7f025
fix(core): return an error when accessing unmanaged state in command …
amrbashir Dec 12, 2024
2601811
chore(deps) Update Tauri Build to v1.0.24 (dev) (#11998)
renovate[bot] Dec 19, 2024
f116714
chore(deps) Update dependency @types/node to v22.10.2 (dev) (#11943)
renovate[bot] Dec 19, 2024
7d38ee9
chore(deps) Update Tauri Codegen (dev) (#11999)
renovate[bot] Dec 19, 2024
fdaf48f
chore: fix crates.io link (#12018)
ferreira-tb Dec 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add tauri-schema-worker (tauri-apps#10871)
  • Loading branch information
amrbashir authored Sep 16, 2024
commit a1cce04260df7450bd909ebf676749720687f84c
40 changes: 14 additions & 26 deletions .changes/config.json
Original file line number Diff line number Diff line change
@@ -23,14 +23,14 @@
"prepublish": [
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
"command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
},
{
"command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
"command": "cargo generate-lockfile",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
},
{
@@ -79,15 +79,15 @@
}
},
"prepublish": [
{
"command": "pnpm i --frozen-lockfile",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>PNPM Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "pnpm i --frozen-lockfile",
"dryRunCommand": true
},
{
"command": "pnpm audit",
"dryRunCommand": true,
@@ -191,16 +191,7 @@
"path": "./crates/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"],
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
],
"assets": [
{
"path": "./crates/tauri-schema-generator/schemas/config.schema.json",
"name": "config.schema.json"
}
]
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
"tauri": {
"path": "./crates/tauri",
@@ -212,16 +203,16 @@
"tauri-runtime-wry",
"tauri-build"
],
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
]
},
"@tauri-apps/cli": {
"path": "./packages/cli",
"manager": "javascript",
"dependencies": ["tauri-cli"],
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../crates/tauri-schema-generator/Cargo.toml"
],
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"prepublish": [],
"publish": [],
"postpublish": []
@@ -230,10 +221,7 @@
"path": "./crates/tauri-cli",
"manager": "rust",
"dependencies": ["tauri-bundler", "tauri-utils", "tauri-macos-sign"],
"postversion": [
"cargo check",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
]
"postversion": "cargo check"
},
"tauri-driver": {
"path": "./crates/tauri-driver",
25 changes: 25 additions & 0 deletions .github/workflows/deploy-schema-worker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2019-2024 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT

name: deploy schema worker

on:
push:
branches:
- dev
paths:
- '.github/workflows/deploy-schema-worker.yml'
- 'crates/tauri-schema-worker/**'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cloudflare/wrangler-action@3
with:
command: deploy
workingDirectory: 'crates/tauri-schema-worker'
apiToken: ${{ secrets.SCHEMA_WORKER_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.SCHEMA_WORKER_CLOUDFLARE_ACCOUNT_ID }}
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/.changes
/audits
/.vscode

# change files are hand-written and shouldn't be formatted
/.changes/*
!/.changes/config.json

# dependcies and artifacts directories
node_modules/
target/
@@ -25,6 +28,7 @@ crates/tauri-cli/templates
**/autogenerated/**/*.md
packages/cli/index.js
packages/cli/index.d.ts
crates/tauri-schema-worker/.wrangler
CHANGELOG.md
*schema.json

121 changes: 121 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ members = [
"crates/tauri-codegen",
"crates/tauri-plugin",
"crates/tauri-schema-generator",
"crates/tauri-schema-worker",
"crates/tauri-cli",
"crates/tauri-bundler",
"crates/tauri-macos-sign",
@@ -50,6 +51,7 @@ codegen-units = 1
lto = true
incremental = false
opt-level = "s"
strip = true

# profiles for tauri-cli
[profile.dev.package.miniz_oxide]
1 change: 1 addition & 0 deletions crates/tauri-cli/config.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "tauri-config-2.0.0-rc.14",
"title": "Config",
"description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```",
"type": "object",
1 change: 1 addition & 0 deletions crates/tauri-cli/templates/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schema.tauri.app/config/2.0.0-rc",
"productName": "{{ app_name }}",
"version": "0.1.0",
"identifier": "com.tauri.dev",
24 changes: 20 additions & 4 deletions crates/tauri-schema-generator/build.rs
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

use std::{error::Error, path::PathBuf};

use serde::Deserialize;
use tauri_utils::{
acl::{capability::Capability, Permission, Scopes},
config::Config,
@@ -16,9 +17,13 @@ macro_rules! schema {
};
}

#[derive(Deserialize)]
pub struct VersionMetadata {
tauri: String,
}

pub fn main() -> Result<(), Box<dyn Error>> {
let schemas = [
schema!("config", Config),
schema!("capability", Capability),
schema!("permission", Permission),
schema!("scope", Scopes),
@@ -32,10 +37,21 @@ pub fn main() -> Result<(), Box<dyn Error>> {
for (filename, schema) in schemas {
let schema = serde_json::to_string_pretty(&schema)?;
write_if_changed(schemas_dir.join(filename), &schema)?;
}

// write config schema file
{
let metadata = include_str!("../tauri-cli/metadata-v2.json");
let tauri_ver = serde_json::from_str::<VersionMetadata>(metadata)?.tauri;

// set id for generated schema
let (filename, mut config_schema) = schema!("config", Config);
let schema_metadata = config_schema.schema.metadata.as_mut().unwrap();
schema_metadata.id = Some(format!("tauri-config-{}", tauri_ver));

if filename.starts_with("config") {
write_if_changed(out.join("../tauri-cli/config.schema.json"), schema)?;
}
let config_schema = serde_json::to_string_pretty(&config_schema)?;
write_if_changed(schemas_dir.join(filename), &config_schema)?;
write_if_changed(out.join("../tauri-cli/config.schema.json"), config_schema)?;
}

Ok(())
1 change: 1 addition & 0 deletions crates/tauri-schema-generator/schemas/config.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "tauri-config-2.0.0-rc.14",
"title": "Config",
"description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://tauri.app/v1/api/cli#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```",
"type": "object",
4 changes: 4 additions & 0 deletions crates/tauri-schema-worker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target
/node_modules
/.wrangler
/build
18 changes: 18 additions & 0 deletions crates/tauri-schema-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "tauri-schema-worker"
version = "0.0.0"
edition = "2021"
publish = false

[lib]
crate-type = ["cdylib"]

[dependencies]
worker = { version = "0.3", features = ['http', 'axum'] }
worker-macros = { version = "0.3", features = ['http'] }
console_error_panic_hook = { version = "0.1" }
axum = { version = "0.7", default-features = false }
tower-service = "0.3"
semver = { version = "1.0", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
anyhow = "1.0"
3 changes: 3 additions & 0 deletions crates/tauri-schema-worker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# schema.tauri.app worker

Source code for `https://schema.tauri.app` cloudflare worker.
Loading