Sam Hinshaw
515182a179
fix: Specify Generic for readFile ArrayBuffer ( fix #2914 ) ( #2915 )
2025-08-17 17:19:44 +08:00
Tony
4eb36b0ff5
fix(fs): writeFile with ReadableStream throws ( #2907 )
2025-08-10 18:44:33 +08:00
Tony
44a1f65912
fix(fs): writeFile create file by default ( #2846 )
2025-07-15 09:46:43 +08:00
Tony
dac4d53724
refactor(fs): reduce overhead of watch ( #2613 )
2025-04-19 13:35:14 +02:00
Tim Ramage
831c35ff39
fix(fs): convert async iterator syntax to manual read ( #2550 )
2025-03-21 09:19:50 +02:00
Tony
c5da9d2579
chore: update prettier to 3.5.1 and enable experimentalOperatorPosition ( #2427 )
2025-02-16 10:36:53 +08:00
Trevor Fitzgerald
ba6d0f1a63
docs(fs): fix link to path API ( #2292 )
2025-01-09 11:17:24 +01:00
ayang
fef76bd504
feat(fs): add the size method to get the size of a file or directory ( #2095 )
2024-11-26 14:09:42 +02:00
Amr Bashir
ed981027dd
feat(fs): improve readTextFile and readTextFileLines performance ( #1962 )
2024-11-21 15:43:51 +02:00
Amr Bashir
5092ea5e89
feat(fs): support ReadableStream<Unit8Array> for writeFile API ( #1964 )
2024-11-21 14:49:40 +02:00
Fabian-Lars
52c093ac9d
docs(fs): Fix scope example in js inline docs ( #2034 )
2024-11-12 00:20:36 +02:00
Amr Bashir
77149dc432
fix(fs): fix writeFile converting UTF-8 characters in path into replacement character ( #1965 )
2024-10-22 08:17:37 +03:00
Amr Bashir
ae8024565f
perf(fs): improve FileHandle.read performance ( #1950 )
...
* perf(fs): improve `FileHandle.read` performance
* handle different target pointer width
* improve `writeTextFile` performance
* revert packageManager field
* change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-20 08:49:01 -03:00
Lucas Fernandes Nogueira
cc03ccf5e0
fix(fs): app scopes not properly enabling paths ( #1774 )
2024-09-13 09:57:46 -03:00
SRutile
9291e4d2ca
fix(fs): support any UTF-8 path in writeFile ( #1640 )
...
* In the `writeFile` function, when `options.baseDir` is not set, convert `path` to URL to avoid errors caused by Chinese characters.
* fmt
* use TextEncoder
* use percent encoding
* add change file
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-11 12:02:24 -03:00
Amr Bashir
cf4d7d4e6c
chore: adjust prettier config, .gitignore and use taplo to format toml files ( #1728 )
...
* chore: adjust prettier config, .gitignore and use taplo to format toml files
This brings the plugins-workspace repository to the same code style of the main tauri repo
* format toml
* ignore examples gen dir
* add .vscode/extensions.json
* remove packageManager field
* fmt
* fix audit
* taplo ignore permissions autogenerated files
* remove create dummy dist
* fix prettier workflow
* install fmt in prettier workflow
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-04 08:54:23 -03:00
Lucas Fernandes Nogueira
d0482502e9
chore(api): tauri can serialize array buffers from rc.7 ( #1694 )
...
* chore(api): tauri can serialize array buffers from rc.7
* fmt
* fix audit
* update lockfile
2024-08-28 17:58:56 -03:00
Lucas Fernandes Nogueira
5f68990297
chore(fs): update API documentation ( #1645 )
...
* chore(fs): update API documentation
* fmt
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
2024-08-12 00:54:29 -03:00
Simon Hyll
bd3b5e948d
docs: fix broken links ( #1503 )
2024-06-28 11:55:54 +02:00
Micheal Winger
03d3cc3677
docs: use join in readDir documentation example ( #1500 )
2024-06-27 04:43:11 +03:00
renovate[bot]
a2eb3a6e43
chore(deps): update dependency eslint to v9 (v2) ( #1424 )
...
* chore(deps): update dependency eslint to v9
* flat config
* license header
* rebuild
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-06-03 21:04:13 +02:00
Lucas Fernandes Nogueira
1d8662e71a
feat(fs): use IPC streaming for read and write file ( #1251 )
...
* feat(fs): use IPC streaming for read and write file
* fix build
* clippy
2024-05-29 22:17:47 -03:00
Tony
e1d06b93b7
refactor: drop eslint config love ( #1341 )
...
* Drop eslint config love
* More eqeqeq
* Even more
2024-05-18 11:00:09 +02:00
renovate[bot]
faa89850d0
chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 ( #1228 )
...
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0
* actually apply the rules lol
* rebuild
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2024-04-23 00:40:51 +02:00
Tony
51ba4c5330
fix(fs): make rename third parameter optional ( #962 )
...
* Fix rename option can't be empty
* change file
2024-02-19 14:48:22 +02:00
Tony
9b49f0abf7
docs(fs): dir -> baseDir ( #961 )
2024-02-19 14:37:06 +02:00
Amr Bashir
531123cad0
fix(fs/wtacher): fix incorrect type for rename events ( #947 )
2024-02-14 15:29:27 +02:00
Daniel Faust
61edbbec0a
feat(fs/watch): migrate to notify-debouncer-full ( #885 )
...
* Add support for notify-debouncer-full
* Add fs watch to demo
* Remove notify-debouncer-mini
* Rename RawEvent to WatchEvent
* Add full type definition for EventKind
* Remove `track file ids` option from fs watcher
* Update plugins/fs/guest-js/index.ts
2024-01-18 20:35:49 +02:00
Amr Bashir
2e2fc8de69
fix(fs): use correct arg name for unwatch ( #857 )
...
* fix(fs): use correct arg name for unwatch
* fmt
2023-12-28 11:18:44 +01:00
Trevor Fitzgerald
85f8419682
fix(fs): Fix DebouncedEvent type to match what notify-rs returns ( #848 )
...
* fix(fs): Fix DebouncedEvent type to match what notify-rs returns
* Update fix-debounced-event-type.md
2023-12-27 15:39:05 +02:00
Amr Bashir
c60123093d
fix(fs): fix panic due to unwrap & truncate by default ( #847 )
...
* fix(fs): fix panic due to unwrap & truncate by default
closes #846
* fmt and change file
2023-12-27 15:27:45 +02:00
Amr Bashir
69a1fa099c
feat(fs): improved API ( #751 )
...
* feat(fs): improved API
* fmt
* fix unix builds
* again
* clippy
* clippy
* fix import in docs examples
* fmt, clippy
* Update linux.rs
* add API for watch
* fix with `watcher` feature flag
* use baseDir for all commands
* do not export close function
* fix build
* organize and address review comments
* fmt
* generated files
* rename FsFile to FileHandle, move APIs and docs
* extend example
* extend `Resource`
* actually extend it
---------
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-12-19 22:08:34 -03:00
Lucas Fernandes Nogueira
2cf8faa3e1
chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13 ( #839 )
...
* chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13
* fix lockfile
2023-12-20 00:18:05 +02:00
Amr Bashir
88d260d901
fix(fs): add options argument for exists function closes #734 ( #744 )
...
closes #734
2023-11-21 01:31:00 +02: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
Fabian-Lars
aba07c27b8
Merge v1 into v2 ( #468 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
Co-authored-by: Alexandre Dang <124160233+vdang-crabnebula@users.noreply.github.com >
Co-authored-by: Ludea <ludovicw35@hotmail.com >
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Duke Jones <104690+dukejones@users.noreply.github.com >
Co-authored-by: NaokiM03 <37442712+NaokiM03@users.noreply.github.com >
Co-authored-by: Thibault <thibault_poisson@orange.fr >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Blythe <49919035+writeDavid@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
fix(stronghold): change wrong argument name for `remove` (#422 )
fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424 )
fix(stronghold): return null if there is no record (#129 )
fix(window-state): propagate promise (#435 )
closes #432
fix(window-state): manual default implentation (#425 )
fix(window-state): manual default implentation, closes #421
fix(deps): update rust crate iota-crypto to 0.21 (#438 )
fix readme example (#447 )
fix: handle recursive directory correctly (#455 )
fix(deps): update rust crate sqlx to 0.7. plugin-sql msrv is now 1.65 (#464 )
fix(persisted-scope): separately save asset protocol patterns (#459 )
fix(deps): update rust crate iota-crypto to 0.22 (#475 )
fix(deps): update tauri monorepo to v1.4.0 (#482 )
resolve to v15.1.0 (#489 )
fix(deps): update rust crate iota-crypto to 0.23 (#495 )
2023-07-19 14:50:43 -03:00
Pretzel Vector
0bba6932c0
fix(fs-js): fix writeBinaryFile invalid command usage ( #454 )
...
* write_binary_file -> write_file
* Missing artifact
* Create fs-wiret-binary-file.md
---------
2023-07-10 16:18:37 +03:00
Lucas Fernandes Nogueira
9bf98f68e7
chore(api): update @since tag to 2.0.0 ( #395 )
2023-05-23 23:44:05 -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
f4069f5588
docs: update README.md and remove allowlist information ( #381 )
2023-05-20 20:28:27 -03:00
Lucas Fernandes Nogueira
3c9771e287
feat: update to tauri 2.0.0-alpha.9 ( #372 )
2023-05-18 11:39:46 -03:00
Lucas Fernandes Nogueira
22991af9f4
feat(plugins): use @tauri-apps namespace on NPM ( #368 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-05-17 20:52:53 -03:00
FabianLars
b730c34923
Run formatter on new plugins
2023-05-03 09:13:24 +02:00
Lucas Fernandes Nogueira
8cd7d3501b
feat(clipboard): add plugin ( #323 )
2023-04-18 10:19:45 -03:00
Lucas Fernandes Nogueira
4539c03f95
feat(fs): add plugin ( #308 )
2023-04-16 08:53:19 -03:00