Lucas Fernandes Nogueira
e8069af804
feat: update to tauri v2 stable, promote all packages to 2.0.0 ( #1863 )
...
* update to tauri v2
* covector setup
* update locks
* bump packages to v2 through covector, remove rc references
* msrv 1.78
* downgrade 1.79 msrv dep
* test clipboard
* fmt
* bitstream-io 2.3.0
* Revert "test clipboard"
This reverts commit c3e19dbe59 .
2024-10-02 12:08:37 -03:00
github-actions[bot]
fb62d03f73
publish new versions ( #1807 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-02 07:02:42 -03:00
Tony
f12d35609a
feat(store)!: fully rework and add auto save ( #1550 )
...
* Add auto save to store plugin
* Put jsdoc at constructor instead of class level
* Clippy
* Use enum instead of bool
* Some(AutoSaveMessage::Cancel) | None
* from_millis
* u64
* Add change file
* Rename to emit_on_change
* should use Duration in `with_store`
* Add breaking change notice to change file
* Emit change event for inserts by reset
* Update readme example
* Update example
* Remove extra line
* Make description clear it only works with managed
* Fix links in docstring
* Fix doc string closing
* get_mut
* Proof of concept
* fmt
* Load store on create
* cargo fmt
* Fix merge conflits
* Format
* small cleanup
* update docs, use `impl Into<JsonValue>`
* fix doctests, further simplification of api
* add store options
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-01 15:10:40 -03:00
Amr Bashir
44273b9889
fix(shell): fix schema requiring sidecar property even though it is optional ( #1839 )
...
* fix(shell): fix schema requiring `sidecar` property even though it is optional
* fix clippy
* make `cmd` and `sidecar` exclusive
* make args optional
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-01 10:16:14 -03:00
Jacob Bolda
2f7e32b5e0
[positioner] handleIconState in JS ( #1822 )
...
* [positioner] handleIconState in JS
* update readme
* fix change file version
* fixes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-01 10:15:22 -03: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
Amr Bashir
68579934c9
fix(cli): expose hidden structs ( #1856 )
...
closes #1843
2024-10-01 09:35:13 -03:00
Tony
04459afbb6
refactor(dialog)!: use enum instead of label for buttons ( #1842 )
...
* refactor(dialog)!: use enum instead of label
* Add change file
* Fix doc comment typo
* Move ok and cancel to lib.rs
2024-10-01 09:34:20 -03:00
Fabian-Lars
fc9b189e83
fix(fs): ignore OS specific paths in scope deserialization ( #1837 )
2024-09-26 02:43:33 +03:00
Amr Bashir
04a0aea0ab
feat(updater)!: add option to use insecure transport protocol ( #1814 )
2024-09-24 18:38:53 +03:00
Amr Bashir
221f50f53b
fix(updater): encode version when making requests ( #1816 )
...
* fix(updater): encode version when making requests
ref: https://github.com/tauri-apps/tauri/issues/10908
* Update .changes/updater-endpoint-version-encoded.md
* only skip `+`
* fmt
* use normal const
2024-09-20 07:57:40 -03:00
renovate[bot]
6bf1bd8d44
fix(deps): update rust crate rfd to 0.15 (v2) ( #1805 )
...
* fix(deps): update rust crate rfd to 0.15
* Fix compilation
* Add change file
* Remove platform specific note
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com >
2024-09-19 20:04:02 +08:00
Austin Bennett
3168e17603
Added quotes for cmd ( #1806 )
...
* Added quotes for cmd
* Add change file
---------
Co-authored-by: Tony <legendmastertony@gmail.com >
2024-09-19 09:59:54 +08:00
github-actions[bot]
3cbb55aa7b
publish new versions ( #1796 )
2024-09-16 16:29:07 -03:00
Lucas Fernandes Nogueira
60765694f5
refactor(geolocation): simplify API, defer permission checks ( #1773 )
2024-09-16 17:01:13 +03:00
github-actions[bot]
d8efd3cd20
Publish New Versions (v2) ( #1794 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-09-16 07:00:22 -03:00
Tony
c078f57a09
Revert "Publish New Versions (v2)" ( #1792 )
...
This reverts commit dc5721ac13 .
2024-09-16 05:20:21 +03:00
github-actions[bot]
dc5721ac13
Publish New Versions (v2) ( #1788 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-15 18:37:58 -03:00
Felix Salazar
1d9741b52b
[upload - http-extra] fix: download content to file when unsuccessful response (and test) #1750 ( #1783 )
...
* fix and test
* Update Cargo.toml
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
* Update Cargo.toml
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
* add .change log
* clippy fixes
* print test error
* fix tests
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-15 18:37:02 -03:00
Tony
7a37355e17
fix(window-state): deadlock when trying to restore window states on initial load ( #1787 )
...
* Fix deadlock when trying to restore window the size on initial load
* Typo
2024-09-15 18:01:27 -03:00
github-actions[bot]
5cbd593e76
publish new versions ( #1772 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-15 11:55:38 -03:00
Lucas Fernandes Nogueira
fb85e5dd76
chore(deps): update tauri to 2.0.0-rc.12 ( #1785 )
2024-09-15 11:36:23 -03:00
Lucas Fernandes Nogueira
6f3f66794a
feat(deep-link): add on_open_url Rust API ( #1780 )
2024-09-14 21:35:31 -03:00
FabianLars
79d6e19c4b
chore: Add changefile for #1777
2024-09-14 18:34:45 +02:00
Lucas Fernandes Nogueira
341a5320c3
fix(clipboard): Android warnings and build on SDK under 28 ( #1771 )
2024-09-13 12:03:10 -03:00
Lucas Fernandes Nogueira
cc03ccf5e0
fix(fs): app scopes not properly enabling paths ( #1774 )
2024-09-13 09:57:46 -03:00
Tony
204e5aacad
fix(window-state)!: saving minimized state ( #1743 )
...
* Fix saving minimized state again
* Add change file
* Fix saving minimized size
* Add change file
* Fix missing .md
* Remove window-shadows
2024-09-13 06:29:38 +03:00
github-actions[bot]
8a45c35160
publish new versions ( #1764 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-12 15:49:29 -03:00
Lucas Fernandes Nogueira
984110a978
fix(deep-link): emit new-url event on app load ( #1770 )
2024-09-12 11:20:16 -03:00
Lucas Fernandes Nogueira
2b898f0786
fix(dialog): update asset protocol scope on directory open, closes #1553 ( #1769 )
2024-09-12 11:10:16 -03:00
Tony
b2269333e3
chore(single-instance): put deep link integration behined a feature ( #1766 )
...
* Make deep link optional for single instance
* Add change file
* Add deep-link feature to example
* Update plugins/deep-link/README.md
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
* format
* [skip ci] update readme
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-09-12 18:20:15 +08: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
github-actions[bot]
253ae66210
publish new versions ( #1761 )
2024-09-10 16:14:05 -03:00
Lucas Nogueira
949e2d6c45
chore: update docs
2024-09-10 16:02:38 -03:00
Lucas Fernandes Nogueira
64a6240f79
feat(deep-link): implement getCurrent on Windows/Linux ( #1759 )
...
* feat(deep-link): implement getCurrent on Windows/Linux
checks std::env::args() on initialization, also includes integration with the single-instance plugin
* fmt
* update docs, fix event
* add register_all function
* expose api
* be nicer on docs, clippy
2024-09-10 16:00:42 -03:00
github-actions[bot]
77680f6ed8
publish new versions ( #1740 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-10 13:06:48 -03:00
Lucas Fernandes Nogueira
8c3a6a253d
feat(barcode-scanner): validate missing Info.plist configuration ( #1758 )
2024-09-10 12:24:03 -03:00
Olivier Lemasle
713c54ef83
chore(barcode): remove unused Android dependencies ( #1749 )
...
* chore(barcode): remove unused Android dependencies
Plugin barcode-scanner has two unused Android dependencies:
- com.google.zxing:core
- com.journeyapps:zxing-android-embedded
However, these dependency's AndroidManifest.xml were merged, and contained
required parameters (to get camera's permissions).
See the merged manifests:
- https://github.com/zxing/zxing/blob/zxing-3.3.0/android/AndroidManifest.xml
- https://github.com/journeyapps/zxing-android-embedded/blob/v4.3.0/zxing-android-embedded/AndroidManifest.xml
This commit removes the unused dependencies (and unused Java imports)
and updates the Android manifest.
* chore: remove comments
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-10 08:01:29 -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
Lucas Fernandes Nogueira
3d301c654e
fix(notification): body should be optional on iOS ( #1737 )
2024-09-05 17:46:04 -03:00
github-actions[bot]
12e80ffe00
Publish New Versions (v2) ( #1736 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-09-05 13:26:57 +02:00
Amr Bashir
a2fe55512f
refactor: add methods and implement traits for FilePath and SafeFilePath ( #1727 )
...
* refactor: add methods and implement traits for `FilePath` and `SafeFilePath`
closes #1726
* clippy
* path -> as_path
* fix prettierignore
* Discard changes to Cargo.lock
* Discard changes to Cargo.toml
* update tauri deps
2024-09-05 14:12:40 +03:00
Fabian-Lars
d00519e3e3
chore: Add missing changefile for updater rust changes ( #1735 )
2024-09-05 13:10:04 +02:00
github-actions[bot]
c565a08d09
publish new versions ( #1711 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-04 17:30:08 -03:00
Lucas Fernandes Nogueira
4654591d82
fix(deep-link): allow empty config values ( #1732 )
2024-09-04 08:18:42 -03:00
Lucas Fernandes Nogueira
feb1e93fcb
feat(dialog): implement save API on iOS ( #1707 )
2024-09-02 21:13:43 -03:00
Fabian-Lars
ff134a8ca4
Remove authenticator plugin ( #1723 )
2024-09-03 02:41:19 +03:00
Amr Bashir
f8255e1db5
feat(updater): allow passing headers & timeout in Update.download* methods ( #1661 )
...
closes #1634
2024-09-03 01:02:16 +03:00
Lucas Fernandes Nogueira
51819c601f
fix(fs): writeFile command implementation on Android ( #1708 )
2024-09-02 13:13:53 -03:00
Tony
f7280c8830
fix(fs): can't use Windows path ( #1710 )
...
* Fix fs can't use Windows path
* Add change file
* Implement `Deserialize` instead
* Rename FilePath's visitor to FilePathVisitor
* Add todo and test
* Clippy
* Unused variable
2024-09-02 18:24:37 +03:00