pytauri¶
Unreleased¶
0.8.0¶
Added¶
-
#265 - feat(pytauri): add
WebviewWindowBuilderbindings.Added
tauri-macos-private-apifeature. -
#259 - feat(pytauri): more
WebviewWindowandAppHandlebindings.Added
tauri-devtoolsfeature.
0.7.0¶
0.6.1¶
- #175 - fix(pytauri): bump
tauri-plugin-*to fix rust docs build failures ondocs.rs.
0.6.0¶
BREAKING¶
- #161 - refactor(pytauri)!: refactor
BuilderArgstoTypedDict.
Added¶
- #160 - feat!: integrate
plugin-notificationas a gated-feature ofpytauri.
Fixed¶
- #159 - fix(standalone): explicitly pass
PyStringtomultiprocessing.set_executable.
0.5.0¶
BREAKING¶
- #133 - fix(pytauri)!: make
BuilderArgs.invoke_handleras required parameter for #110.
0.4.0¶
0.3.0¶
Added¶
- #80 - feat:
BuilderArgs:- add
BuilderArgs::setupto support tauri app setup hook. BuilderArgs::contextnow can bePosition and Keywordarguments.
- add
0.2.0¶
BREAKING¶
- #52 - refactor(standalone)!: new API for preparing python interpreter.
The
pytauri::standalonemodule has been completely rewritten. Previously, you usedprepare_freethreaded_python_with_executableandappend_ext_mod. Now, you need to usePythonInterpreterBuilder. See thepytauricrate rust API docs and tutorial (examples/tauri-app)main.rscode for more information on how to migrate.
Added¶
- #60 - feat: re-export
dunce::simplifiedto removeresource_dir()UNC path prefix\\?\forPythonInterpreterEnv::Standalone. Fix pallets/jinja#1675 fornicegui-appstandalone example. - #51 - feat: support
multiprocessingfor standalone app.- For standalone app:
- set
sys.executableto the actual python interpreter executable path. - set
sys.argvtostd::env::args_os(). - set
sys.frozentoTrue. - call
multiprocessing.set_start_methodwith- windows:
spawn - unix:
fork
- windows:
- call
multiprocessing.set_executablewithstd::env::current_exe().
- set
- Add
fn is_forkingfor checking if the app is spawned bymultiprocessing.
- For standalone app:
Internal¶
- #54 - feat: export the extension module to
sys.modules["__pytauri_ext_mod__"]if on standalone mode. - #52 - feat: set
sys._pytauri_standalone=Truewhen run on standalone app (i.e., launch from rust). - #51 - refactor: use
Python::runwithlocalsas arguments to execute_append_ext_mod.pyfor better performance.