Tony
0d1b78a958
Merge branch 'v2' into store-rework-2
2024-10-17 11:31:51 +08:00
Tony
99cafa6d73
Fix description and create_new logic
2024-10-17 11:31:38 +08:00
Lucas Nogueira
3288e4bd74
fix default permission
2024-10-16 15:51:24 -03:00
Lucas Nogueira
150e030c12
rename builder fn to build()
2024-10-16 15:38:24 -03:00
Lucas Nogueira
ac912703d0
rename missing reload fn
2024-10-16 15:31:28 -03:00
Lucas Nogueira
d7bff64098
update docs
2024-10-16 15:30:47 -03:00
Lucas Nogueira
983bd82212
rename newOrExisting to load, load to reload
2024-10-16 15:24:58 -03:00
Niko Korvenlaita
cfd48b3b2e
feat: allow http calls without origin header ( #1941 )
2024-10-16 15:56:36 +03:00
Tony
44016a480f
Remove R: Runtime from Builder
2024-10-15 23:06:43 +08:00
Tony
985059a1f0
Don't make StoreState public
2024-10-15 22:52:11 +08:00
Tony
5f2de5e4ea
Missed if load
2024-10-15 22:48:35 +08:00
Tony
fbc7149d60
Remove load
2024-10-15 22:47:57 +08:00
Lucas Nogueira
a7af6612f2
keep store lock throughout whole new_or_existing_inner
2024-10-15 10:28:58 -03:00
Lucas Nogueira
8a8bdcac23
rename createOrLoad to newOrExisting
2024-10-15 10:28:22 -03:00
Lucas Nogueira
028d6661ca
reintroduce "get existing store" behavior for create_or_load
2024-10-15 09:52:56 -03:00
Lucas Nogueira
afbb5aae05
fmt
2024-10-15 08:08:52 -03:00
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
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
a020ae38e2
Remove unused pub(crate)
2024-10-11 13:24:47 +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
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
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
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]
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
dc5be009b7
Add create or existing
2024-10-05 16:21:27 +08:00
Tony
7faf8c31e0
Differentiate json null from no value for events
2024-10-04 17:09:41 +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
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 >
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