tauri/.changes/rename-hook-env-vars.md

11 lines
601 B
Markdown

---
"@tauri-apps/cli": patch:breaking
"tauri-cli": patch:breaking
"tauri-build": patch:breaking
"tauri-utils": patch:breaking
"tauri-codegen": patch:breaking
"tauri-macros": patch:breaking
---
Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables.