Commit Graph

1527 Commits

Author SHA1 Message Date
Lucas Nogueira ff9bddd95c make api consistent with the JS implementation, add examples 2024-10-15 08:06:27 -03:00
Lucas Nogueira 083c165543 rename createOrExistingStore to createOrLoad 2024-10-15 07:31:54 -03:00
Tony 7aca255209 Update readme 2024-10-15 09:34:52 +08:00
Tony 3127ce562b Merge remote-tracking branch 'upstream/v2' into store-rework-2 2024-10-15 09:23:10 +08:00
凊弦凝绝 aef5dd6157 fix(sql): don't panic on missing migration when preload is enabled (#1932)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-10-14 20:32:49 +02:00
Fabian-Lars 74ee7edc43 ci: Run workflows on ubuntu 22.04 (#1936) 2024-10-14 18:40:56 +02:00
Tony 1c401f7cb0 Fix wrong jsdoc param 2024-10-14 22:35:54 +08:00
Tony 99321ddbfa Remove StoreInner from pub and expose is_empty 2024-10-14 20:34:43 +08:00
Tony 02d077ea3b Remove with_store 2024-10-14 15:32:47 +08:00
Tony 1498eb5404 Expose resolve_store_path 2024-10-14 09:58:52 +08:00
Tony 7e33a5eba2 Update change file 2024-10-11 13:29:57 +08:00
Tony a020ae38e2 Remove unused pub(crate) 2024-10-11 13:24:47 +08:00
Tony 5296ffa3de Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-10-11 12:20:32 +08:00
Tony 3f470a7a67 Clean up 2024-10-10 17:15:13 +08:00
Tony 39dec5d5b4 Change to close_resource and take &self 2024-10-10 16:12:57 +08:00
Tony d88fcb5c8a Return result in resolve_store_path 2024-10-10 15:53:32 +08:00
Tony c3748b39fe Update breaking changes 2024-10-10 15:29:25 +08:00
Tony 7c24d4a939 Merge remote-tracking branch 'upstream/v2' into store-rework-2 2024-10-10 14:19:37 +08:00
Tony 3413d2a0f7 Use close instead 2024-10-10 14:05:54 +08:00
Tony 230e6bbdf3 Apply suggestions from code review 2024-10-10 13:59:07 +08:00
Fabian-Lars 7e1c17a635 ci(renovate): Remove tauri pre-release workaround 2024-10-09 14:44:38 +02:00
Lucas Fernandes Nogueira 3c1f3874f4 fix(positioner): handleIconState missing permission and wrong impl (#1911) 2024-10-09 09:37:16 -03:00
Amr Bashir 51ddf6a715 fix(shell): use async command for open JS API (#1881)
closes tauri-apps/tauri#11212
2024-10-09 08:47:25 -03:00
renovate[bot] 62082b7086 chore(deps): lock file maintenance (#1895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 08:46:38 -03:00
nashaofu aee14ed426 fix(dialog): Fix the issue of Android saving files with a .txt extension (#1892)
* fix: Fix the issue of Android saving files with a .txt extension

* fix(dialog): pull intent type from extensions filters

* fix covector

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-09 08:45:05 -03:00
Amr Bashir 9b2840db94 fix(http): retain headers order (#1884)
* fix(http): retain headers order

closes #1882

* simplify if

* actually set headers

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-09 08:07:46 -03:00
renovate[bot] 60064fce52 chore(deps): update dependency typescript to v5.6.3 (#1905)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 09:28:06 +08:00
renovate[bot] 0058583583 fix(deps): update tauri monorepo to v2.0.2 (#1874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 15:29:28 +08:00
Tony c7094473eb Update readme 2024-10-08 10:31:28 +08:00
Tony a00cb15224 Rename inner store's inset method to set 2024-10-08 10:22:58 +08:00
Tony 92196ee927 Build 2024-10-08 10:18:43 +08:00
Tony d3d9cfe725 Merge branch 'v2' into store-rework-2 2024-10-08 10:18:08 +08:00
renovate[bot] fb676626f1 chore(deps): update dependency typescript-eslint to v8.8.1 (#1899)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 10:01:07 +08:00
Tony c7f2cfc5e8 Merge branch 'v2' into store-rework-2 2024-10-05 16:21:37 +08:00
Tony dc5be009b7 Add create or existing 2024-10-05 16:21:27 +08:00
renovate[bot] f445c704a1 chore(deps): update eslint monorepo to v9.12.0 (#1887)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 07:29:30 +08:00
Tony 7faf8c31e0 Differentiate json null from no value for events 2024-10-04 17:09:41 +08:00
Tony 25d677d647 Change files 2024-10-04 10:21:33 +08:00
Tony 831105d7a8 Use undefined for empty value in get 2024-10-04 10:11:13 +08:00
Tony 1ef9f6a487 Use pretty json by default 2024-10-04 09:40:33 +08:00
Tony 4037589000 Add default (de)serialize fn 2024-10-04 08:47:30 +08:00
Tony fc51b3d132 More docs for StoreBuilder::build 2024-10-03 22:36:51 +08:00
Tony 50ab4c18e0 Fix example 2024-10-03 22:21:59 +08:00
Tony bfe2b38f8e Merge branch 'v2' into store-rework-2 2024-10-03 22:17:52 +08:00
Tony 120f39fd9b Build 2024-10-03 22:17:40 +08:00
github-actions[bot] fd785ab5de publish new versions (#1878)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
process-v2.0.1 fs-v2.0.1 positioner-v2.0.1 global-shortcut-v2.0.1 biometric-v2.0.1 stronghold-v2.0.1 shell-v2.0.1 single-instance-v2.0.1 upload-v2.0.1 store-v2.0.1 os-v2.0.1 deep-link-v2.0.1 window-state-v2.0.1 clipboard-manager-v2.0.1 sql-v2.0.1 localhost-v2.0.1 cli-v2.0.1 http-v2.0.1 websocket-v2.0.1 log-plugin-v2.0.1 notification-v2.0.1 dialog-v2.0.1 geolocation-v2.0.1 updater-v2.0.2 autostart-v2.0.1 nfc-v2.0.1 barcode-scanner-v2.0.1 haptics-v2.0.1 persisted-scope-v2.0.1
2024-10-03 10:58:13 -03:00
Lucas Fernandes Nogueira a1a82208ed chore: change MSRV to 1.77.2 to support Windows 7 (#1873)
* chore: change MSRV to 1.77.2 to support Windows 7

* fmt
2024-10-03 10:31:13 -03:00
renovate[bot] dc49de5341 chore(deps): update dependency typescript-eslint to v8.8.0 (#1854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 20:52:00 +08:00
Tony 7723f48f39 Use store instead of store_builder in example 2024-10-03 20:49:33 +08:00
Tony f6a72ee2cb Merge branch 'v2' into store-rework-2 2024-10-03 20:46:24 +08:00