* fix(updater): format `Update.date` to RFC 3339
* Messed up on argument in #2572
* Format
* Update example
* Avoid extra to_string
* Deprecate `Update.available`
* fix(deep-link): local machine registry handling
* typo
* Wrong version bump
* return false if registry open fails
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Fix very inconsistent webview log target
* Add change file
* It's log-plugin not log
* Lower rust version requirement
* Use the third line instead of second
* refactor(store): more reworks
* Enable auto save by default
* Store to resource table by default
* Remove share store
* Clean up
* Add close store
* Add store function
* Add lazy store
* Add init to lazy store
* refresh cache in example
* Add get-or-create-store
* Revert "Add get-or-create-store"
This reverts commit 7ffd769240.
* try get first
* Docs
* Use absolute path for store
* more docs
* Allow js to use pre-stored (de)serialize functions
* Fix js get and close store
* Show case how to use pretty json
* Update readme
* Use store instead of `store_builder` in example
* Build
* Fix example
* More docs for StoreBuilder::build
* Add default (de)serialize fn
* Use pretty json by default
* Use `undefined` for empty value in get
* Change files
* Differentiate json null from no value for events
* Add create or existing
* Build
* Rename inner store's inset method to set
* Update readme
* Apply suggestions from code review
* Use close instead
* Update breaking changes
* Return result in resolve_store_path
* Change to close_resource and take &self
* Clean up
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Remove unused pub(crate)
* Update change file
* Expose resolve_store_path
* Remove with_store
* Remove StoreInner from pub and expose is_empty
* Fix wrong jsdoc param
* Update readme
* rename createOrExistingStore to createOrLoad
* make api consistent with the JS implementation, add examples
* fmt
* reintroduce "get existing store" behavior for create_or_load
* rename createOrLoad to newOrExisting
* keep store lock throughout whole new_or_existing_inner
* Remove load
* Missed if load
* Don't make StoreState public
* Remove R: Runtime from Builder
* rename newOrExisting to load, load to reload
* update docs
* rename missing reload fn
* rename builder fn to build()
* fix default permission
* Fix description and create_new logic
* Clippy
* Update docs
* Update docs
* remove create_store command
* remove close_store command since we extend from Resource
* Revert "remove close_store command since we extend from Resource"
This reverts commit 4a29fc8990.
* Reapply "remove close_store command since we extend from Resource"
This reverts commit 70a1830e7d.
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
* 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>
* 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>
* Use named tempfile on Windows
* append installer
* Add change file
* Fix ci
* Wrap in a folder
* Name temp dir for eaiser debugging
* format
* temp_dir
* target_os
* Document use updater_builder instead
* Fix example for newer tauri version
`onDragDropEvent` -> `onFileDropEvent`
* Revert "Fix example for newer tauri version"
This reverts commit 9eeaf85605.
* Update tauri api and cli version
* Migrate to ShellExecute
* Add change file
* Revert cargo.toml style
* Remove unused imports
* Migrate to windows-sys
* Use open instead of runas
* Use encode_wide instead of hstring
* small cleanup