36 Commits

Author SHA1 Message Date
Madhusudhan
2dc3f3f039 fix(sql): uuid columns returning null in postgres query results (#2039) (#3144)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2026-01-19 17:30:28 +01:00
Fabian-Lars
d402c3865a fix(sql): more explicit error if no driver is enabled (#2047) 2024-11-13 23:43:58 +01:00
John Carmack
90ef77c872 fix(sql) Allow tauri-plugin-sql to work when Tauri is running async (#2038) 2024-11-13 16:58:50 +01:00
Fabian-Lars
51856e9e0a docs: Remove header image from inline docs (#2045) 2024-11-13 16:07:29 +01:00
阿良仔
4341d7f500 fix(sql): replace Mutex with RwLock to enable concurrent SQL execution (#1972) 2024-10-26 13:19:59 +02: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
30bcf5dcc2 refactor(sql): Allow multiple drivers at the same time (#1838)
* refactor(sql): Allow multiple drivers at the same time

* fmt

* remove default feature comment [skip ci]

* what was that doing there [skip ci]

* disable public methods for now
2024-10-01 09:47:08 -03:00
Kauan Curbani
0dd97d9115 feat(sql): added uuid type in postgres decoder (#1375)
Co-authored-by: Kauan Curbani <kauan.curbani@segalas.local>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-09-09 17:40:45 +02:00
renovate[bot]
37cb9a6681 fix(deps): update rust crate sqlx to 0.8 (v2) (#1575)
* fix(deps): update rust crate sqlx to 0.8

* fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-07-23 13:40:59 +02:00
thewh1teagle
4216c0517f feat(sql): made DbInstances public for managing directly from Rust (#1381) 2024-06-10 11:31:03 +02:00
thewh1teagle
a940ef6250 feat(sql): preserve column order from query with indexmap (#1305)
* feat: preserve column order from query with indexmap

* chore(sql): remove default features

* change file
2024-05-15 15:15:34 +02:00
Lucas Fernandes Nogueira
a04ea2f382 refactor: only inject API IIFE script when withGlobalTauri is true (#1071)
* refactor: only inject API IIFE script when withGlobalTauri is true

* fmt

* update tauri
2024-03-19 15:03:20 -03:00
Amr Bashir
fe4fb7dc7a Update plugin.rs 2024-02-19 16:03:20 +02:00
amrbashir
72db444401 feat(sql,store): add Builder::new
ref: https://github.com/tauri-apps/tauri/issues/8880
2024-02-19 15:54:56 +02:00
Mitchell van der Hoeff
f4b2674fd5 fix(sql): Encode JSON numbers as f64 to fix JSON_EXTRACT queries (#797)
Signed-off-by: Mitchell van der Hoeff <8631205+mitchelljustin@users.noreply.github.com>
2023-12-06 15:20:35 +01:00
Amr Bashir
1b98b85a1f refactor: simplify rollup config and match @tauri-apps/api output style (#722)
* refactor: simplify rollup config and match `@tauri-apps/api` output style

* add license headers

* update api-iife.js [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-14 21:09:53 +02:00
Fabian-Lars
251852ccbc chore: Merge branch v1 into v2 (#702) 2023-11-13 21:50:13 -03:00
Lucas Fernandes Nogueira
e438e0a62d feat: update to alpha.17, typed mobile plugin IPC arguments (#676)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-29 16:06:44 -03:00
Lucas Fernandes Nogueira
5c137365c6 chore: update to tauri alpha.16, api alpha.9 (#673)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-20 13:50:18 -03:00
Simon Hyll
5fd597ddaf docs: added banners and icons (#443)
* added banners and icons

* fix: formatting
2023-06-20 14:55:14 +03:00
Lucas Fernandes Nogueira
b131bc8f7c feat(plugins): inject API on window.__TAURI__ (#383) 2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira
5914fb9f36 chore: add license headers (#384)
* feat: check for license headers

* add headers

* format
2023-05-21 16:56:10 -03:00
Lucas Fernandes Nogueira
d677f73495 feat(ci): test mobile targets (#378) 2023-05-19 09:46:06 -07:00
FabianLars
fad6edab71 Merge remote-tracking branch 'origin/dev' into next 2023-04-26 16:56:03 +02:00
Lucas Fernandes Nogueira
bbdccefa2d chore(deps): update to tauri alpha.8 (#303) 2023-04-14 08:02:48 -03:00
FabianLars
62c9285c0b fix(sql): bind Value::Null as None in select query 2023-03-13 18:02:44 +01:00
Fabian-Lars
c6502f673b fix(sql): bind Value::Null as None, fixes #11 (#278) 2023-03-13 13:40:32 +01:00
Fabian-Lars
1d52416f70 feat(sql): Improve type decoding. Adds support for time and dates (#266)
* feat(sql): Improve type decoding. Adds support for time and dates

* remove default feat

* typo
2023-03-05 12:25:15 +01:00
Lucas Fernandes Nogueira
22f987bf24 feat: update setup hook to new syntax (#257) 2023-02-16 13:42:26 -03:00
Fabian-Lars
d18bc1ea60 fix(sql): derive datatype from value, not colomn (#118) 2023-02-15 13:07:21 +01:00
Fabian-Lars
ba81e865b2 feat(sql): Handle JSON columns as TEXT columns and return content as string, closes #112 (#113) 2023-01-26 11:53:41 +01:00
Jonas Kruckenberg
900b8ccdb1 fmt 2023-01-11 18:34:23 +01:00
Fabian-Lars
42b145e0ce fix(sql): don't panic if no migrations were provided, fixes #84 2023-01-11 16:33:34 +01:00
Fabian-Lars
4d8d109b6b fix(sql): derive default on Builder, fixes #82 (#83) 2023-01-11 14:24:51 +01:00
Jonas Kruckenberg
2d670f70d9 refactor: use builder style (#50)
* refactor(upload): use plugin builder style

* refactor(sql): use builder style

* refactor(fs-watch): use builder style

* refactor(fs-extra): use builder style

* refactor(auth): use builder style

* fmt

* fmt

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-01-07 15:53:56 +01:00
Jonas Kruckenberg
eb3495fb72 copy plugin sources 2022-12-14 18:43:39 +01:00