- Updated the release workflow to conditionally include a Windows-specific configuration file for Tauri builds.
- Simplified the resource management in the Tauri configuration by removing unnecessary DLL paths from the main config and adding them to a new Windows-specific config file.
- Changed the host for Linux builds from `blacksmith-8vcpu-ubuntu-2204` to `blacksmith-16vcpu-ubuntu-2404`, enhancing build capacity.
- Updated the ARM host from `blacksmith-8vcpu-ubuntu-2204-arm` to `blacksmith-8vcpu-ubuntu-2404-arm` for consistency in the environment.
- Updated the step to hide Clang compilers by renaming executables instead of modifying environment variables.
- Ensured `libclang.dll` remains accessible for bindgen while preventing CMake from using Clang over MSVC's cl.exe.
- Changed the shell for LLVM configuration from bash to PowerShell to align with Windows environment.
- Updated environment variable settings for `LIBCLANG_PATH` and modified PATH handling to ensure compatibility with MSVC's cl.exe.
- Removed unnecessary CMake compiler variables from the release workflow, streamlining the configuration process.
- Added steps to set `LIBCLANG_PATH`, `CC`, and `CXX` environment variables for Windows builds.
- Updated PATH to exclude LLVM binaries, ensuring CMake uses MSVC's cl.exe instead of Clang.
- Introduced `CMAKE_C_COMPILER` and `CMAKE_CXX_COMPILER` environment variables for Windows builds to specify the CMake compilers, improving build setup.
- Added `fail-fast: false` to the desktop build strategy to allow all jobs to run even if one fails.
- Introduced `CC` and `CXX` environment variables for Windows builds to specify the compiler, improving build configuration.
- Added a new GitHub Actions workflow (`mobile.yml`) for manual dispatch to build and release the React Native app for iOS and Android.
- Updated the publish artifacts action to change Windows bundle type from MSI to NSIS and adjusted related paths.
- Modified the front-end bundle path to reflect the new structure in the mobile app.
- Enhanced documentation to include details about the new mobile release process and required secrets.
- Modified the condition for maximizing build space to exclude ARM64 architecture, ensuring compatibility and optimizing resource usage during the build process.
- Updated Cargo.lock to reflect changes in dependencies.
- Changed versioning from "2.0.0-pre.1" to "2.0.0-alpha.1" in various Cargo.toml files and package.json to reflect a new alpha release.
- Added support for ARM64 builds in the GitHub Actions workflow, including a new host configuration and installation of VA-API libraries for the ARM target.
- Introduced a new `bump` command in the xtask to facilitate version updates across all relevant files, improving version management.
- Removed commented-out sections for CLI builds to clean up the workflow file, enhancing readability and maintainability.
- Updated the server build configuration to change the bundle type from MSI to NSIS for Windows builds, aligning with deployment requirements.
- Adjusted artifact paths to include .exe and .nsis.zip files, ensuring proper artifact management during the release process.
- Added a step to install VA-API libraries in the release workflow specifically for the ARM64 target, enhancing multimedia processing capabilities.
- Adjusted the file path in the Tauri configuration to ensure correct library linking, improving deployment consistency.
- Modified host and target configurations for ARM builds to use `blacksmith-4vcpu-ubuntu-2204-arm` and `aarch64-unknown-linux-gnu`, enhancing compatibility.
- Updated x86_64 build host to `blacksmith-8vcpu-ubuntu-2204`, ensuring consistency across platforms.
- Replaced the Rust toolchain setup action with a custom action for improved maintainability.
- Consolidated the native dependencies setup step, removing platform-specific conditions for a more streamlined process.
- Simplified the build step for the server binary by removing platform-specific conditions, enhancing clarity and reducing redundancy.
- Added the installation of the `libgnutls28-dev` package to the x86_64 native dependencies setup in the release workflow, enhancing security and compatibility for multimedia processing.
- Updated the installation step for FFmpeg libraries in the ARM64 section of the release workflow to include additional VA-API libraries, improving multimedia support.
- Renamed the installation step for clarity, reflecting the inclusion of both FFmpeg and VA-API libraries.
- Updated the release workflow to improve ARM64 cross-compilation support by modifying host configurations and installation steps.
- Changed the host for ARM builds to `blacksmith-4vcpu-ubuntu-2204-arm` and streamlined the installation of OpenSSL and FFmpeg libraries for ARM64.
- Removed unnecessary APT configuration steps for ARM and adjusted the installation commands for clarity and efficiency.
- Changed build hosts for various platforms to utilize self-hosted runners and specific configurations for improved performance and consistency.
- Updated Linux and Windows build hosts to reflect new self-hosted environments, enhancing the release process.
Introduces a proper feature flag hierarchy for AI-related dependencies,
allowing lite builds without heavy speech-to-text dependencies.
Feature hierarchy:
- `ai` - umbrella feature for all AI capabilities
- `speech-to-text` - transcription capability (requires ffmpeg + whisper)
- `whisper` - Whisper speech recognition engine (internal)
- `ffmpeg` - audio/video processing (existing)
Changes:
- Make whisper-rs, hound, rubato optional deps behind `whisper` feature
- Add `speech-to-text` feature that requires both ffmpeg and whisper
- Add `ai` umbrella feature that enables all AI features
- Update all cfg guards to use semantic `#[cfg(feature = "speech-to-text")]`
- Expose new features in apps/server and apps/cli
- Update release workflow to include `ai` feature (maintains existing behavior)
This enables:
- Mobile builds without STT (smaller binary, already using default-features=false)
- Desktop "lite" builds for users who want minimal size
- Future AI features can be added under the `ai` umbrella
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Re-enabled the pull_request trigger for specific paths to enhance workflow automation.
- Updated macOS build hosts to use specific versions (macos-15-arm64 and macos-15-intel) for improved compatibility and performance during the release process.
- Commented out the pull_request trigger to simplify the workflow.
- Re-enabled Windows build steps for x86_64 architecture, ensuring proper configuration for Windows builds in the release process.
- Integrated the tauri-plugin-updater to enable automatic updates for the application.
- Updated tauri configuration to include updater artifacts and defined permissions for the updater in the capabilities schema.
- Refactored the main.rs file to initialize the updater plugin during application startup.
- Improved the handling of file sources in the mobile explorer, simplifying the logic for fetching files.
- Cleaned up unused search functionality in the mobile search screen, ensuring a more streamlined user experience.
The x86_64 build was getting empty env vars that broke openssl-sys, and the aarch64 build needed cross-compiler env vars during xtask setup. Split into separate conditional steps to fix both.
- Added environment variables for aarch64 architecture to configure the linker and compiler settings dynamically based on the target triple.
- Improved the setup process for native dependencies, ensuring proper configuration for aarch64 builds, which enhances cross-compilation capabilities.
- Added CARGO_BUILD_TARGET environment variable to the GitHub Actions workflow for better target management during builds.
- Updated package.json scripts to conditionally include the target option for the daemon build commands, improving flexibility for different architectures.
- Refactored the setup function in main.rs to utilize a dynamic target triple for building the release daemon, ensuring compatibility across various systems.
- Improved the verification step for native dependencies by checking the existence of the apps/.deps/lib directory and ensuring that .so files are present.
- Added detailed output for the contents of the directory and the count of .so files, providing better feedback during the build process.
- Included a new step to install FFmpeg libraries specifically for the aarch64 architecture, enhancing multimedia processing capabilities during the build process.
- This addition ensures that all necessary dependencies for FFmpeg are available for ARM builds, improving cross-compilation support.
- Added g++-aarch64-linux-gnu to the installation step for aarch64 architecture, ensuring C++ support during the build process.
- Updated environment variables for aarch64 builds to specify the C++ compiler, enhancing the cross-compilation setup.
- Added conditional steps to build server binaries for both x86_64 and aarch64 architectures, improving cross-compilation support.
- Updated environment variables for aarch64 builds to ensure proper linking and package configuration.
- Removed unnecessary target specifications from rust-toolchain.toml to streamline the configuration.
- Added a new step in the GitHub Actions workflow to conditionally add build targets for self-hosted runners, enhancing flexibility in target management.
- Added a step to ensure that rustup binaries are prioritized in the PATH, improving the reliability of Rust toolchain usage.
- Included checks to verify the installation paths of rustc and cargo, enhancing the verification process for Rust installation.
- Mark existing sources as amd64-only to prevent apt from searching for arm64 packages.
- Add new APT sources for arm64 architecture pointing to ports.ubuntu.com, enhancing the setup for ARM cross-compilation.
- Added a check to determine if Rust is already installed before proceeding with the installation step, improving the efficiency of the setup process. This ensures that Rust is only installed when necessary, reducing redundant installations.
- Added target specifications for multiple architectures in rust-toolchain.toml to support cross-compilation.
- Updated GitHub Actions setup to include a verification step for Rust installation, ensuring the environment is correctly configured before proceeding with builds.
- Replaced existing APT source modifications with a new configuration file for ARM architecture, ensuring proper package sources for Ubuntu ports.
- This change enhances the setup process for ARM cross-compilation in the release workflow.
- Commented out pull request trigger in core_tests.yml to simplify workflow.
- Enhanced release.yml for ARM cross-compilation by adding APT configuration steps and removing redundant setup steps for Rust target installation.
- Updated tauri commands in package.json to use the latest syntax for improved compatibility.