Closed
Description
Public API changes:
- Remove custom protocol types and replace with
http
crate types - refactor(core): allow custom protocol handler to resolve async #7754 - Remove
tauri::api
module, not sure if it is needed, it still has hidden exports but ultimately it should be removed and replace with a public API if needed - refactor!: removetauri::api
module #7874 -
path
andplugin
modules both, have aResult
type alias, where they should be usingtauri::Result
instead and not have Error types on their own - refactor!: remove unnecessary error enum and result type aliases #7875 -
Make almost all callbacks (where it makes sense), return atauri::Result
because most of our APIs returntauri::Result
and would be easier to use?
operator. - Remove
rand
anduuid
crates, our usages of it could be replaced with an atomically incremented counter - refactor!: remove uuid and rand dependencies where applicable #7939 - change
Env.args
to pull fromstd::env::args_os
instead ofstd::env::args
- refactor!: changedEnv.args
toEnv.args_os
and useOsString
instead ofString
#7876 - Consistent naming
- Scope struct names, we have
FsScope
, then we haveipc::Scope
- refactor!: consistent naming intauri::scope
module #7944 -
TrayIconBuilder/TrayIcon::on_tray_event
should be renamed toTrayIconBuilder/TrayIcon::on_tray_icon_event
- refactor!: renamedTrayIconBuilder/TrayIcon::on_tray_event
toTrayIconBuilder/TrayIcon::on_tray_icon_event
#7943 - Environment variables used by tauri and tauri-cli is inconsistent and needs major renaming with possibly prefixing each var with
TAURI_<SCOPE>_<VAR>
- refactor!: consistent environment variables #7949
A few examples but not limited to:TAURI_FIPS_COMPLIANT
should beTAURI_BUNDLER_WIX_FIPS_COMPLIANT
TAURI_PRIVATE_KEY
relies onTAURI_KEY_PASSWORD
and so it should be renamed toTAURI_PRIVATE_KEY_PASSWORD
APPLE_ID
andAPPLE_PASSWORD
should probably be prefixed withTAURI_
unless these env vars are somewhat of a convention used by other tools, in that case, it should be fine to keep as is.
-
Event
andRunEvent
, I thinkRunEvent
should be renamed toEvent
andEvent
should be changed toEmittedEvent
and a variant underEvent
(which was previously namedRunEvent
)
- Scope struct names, we have
Internal changes:
- primitives in
@tauri-apps/api
, likeinvoke
,Channel
,convertFileSrc
and probably all exports from@tauri-apps/api/tauri
module, should be all just a shim for the globally defined equivalents inscripts/core.js
- refactor(core&api)!: hide internal functions and reuse them in api.js & renametauri
module toprimitives
#7942 -
Move from TS to JS with JSDoc for @tauri-apps/api npm package, see discord wg-forum post - Make
tauri-runtime
agnostic again #8036
This list is open for discussion, I just made it because I keep forgetting about them and feel free to add more as you see fit.
cc @tauri-apps/wg-tauri
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done