Bumped version for all applications to 0.132.0. Updated the CLI to properly handle environment variables when spawning processes, ensuring compatibility with Electron and improving overall functionality.
Bumped version for all applications to 0.131.0. Added a step in the release workflow to copy the environment variables for the web build, ensuring necessary configurations are set for the desktop app build process. Updated the Vite configuration to enforce environment variable checks for the desktop mode.
Introduced a new `analytics.ts` file to implement installation tracking via Umami. The `trackInstall` function sends a tracking event on the first launch of a packaged build and creates a marker file to prevent duplicate tracking. Integrated this functionality into the main application flow by calling `trackInstall` during the app's startup process.
Modified the `dmg-background.svg` file to enhance the visual design and updated the associated PNG files for consistency. Adjusted the file positions in the `forge.config.ts` to improve layout within the application window. These changes aim to enhance the user experience during application installation.
Enhanced the desktop application to handle deep links for checkout and authentication. Introduced new channels for managing pending callbacks and updated the main process to deliver deep links appropriately. Modified the purchase success component to respond to deep link events, ensuring a seamless user experience. Additionally, updated the checkout functions to utilize deep links for success and cancel URLs.
Updated the desktop application to improve main window activation behavior, ensuring it restores and focuses the window if minimized or destroyed. Additionally, refined the scene initialization overlay logic to ensure reactivity by accessing the timeline index, enhancing the overall user experience and responsiveness of the application.
Introduced several command line switches in the desktop application to disable background timer throttling, renderer backgrounding, and occluded window backgrounding. Additionally, disabled the CalculateNativeWinOcclusion feature to improve overall application performance and responsiveness. Updated the rendering update logic in the web application to utilize a race condition between animation frame requests and a timeout, ensuring smoother rendering updates while maintaining performance during paused states.
Introduced a new `screenshot` command in the CLI to capture the entire application window as a PNG. Updated the documentation to include this command and its options. Implemented the screenshot functionality in both the CLI and desktop applications, allowing users to save the screenshot to a specified directory. Enhanced the type definitions to support the new screenshot feature, improving overall usability and functionality.
Introduced a logging system that captures console output from the running app, including various log levels (debug, info, warning, error). Implemented a new `logs` command in the CLI to display recent log entries, and integrated log handling in the desktop application to maintain a buffer of log entries across reloads. Updated relevant types and API routes to support log retrieval, enhancing debugging capabilities and overall application observability.
Added the `SharedArrayBuffer` feature to the Electron app's command line options for improved performance. Additionally, refined the error handling in the unlink process to ensure consistent behavior by adding a space in the catch block. These changes enhance the application's capabilities and reliability.
Updated the module compilation process to improve import resolution for userland packages, allowing bare specifiers to be rewritten to CDN URLs. Introduced a `dapi.config.json` configuration file for pinning versions and redirecting imports, enhancing reproducibility. Expanded documentation to clarify the import resolution process and added examples for using the new configuration options. This update streamlines the handling of external dependencies and improves the developer experience.
Updated the Electron app's initialization process to set a custom development icon on macOS when not packaged. This change improves the visual feedback during development, ensuring a more recognizable application icon in the dock. The integration of the `nativeImage` module allows for better handling of the app's icon assets.
Bumped the Electron version in both `package-lock.json` and `package.json` to `43.1.1`. Removed the deprecated `<jstemp>` component and updated the JSX elements documentation to reflect new aliases for paint elements, including `<solid>`, `<linearGradient>`, `<radialGradient>`, and `<stop>`. Revised the `html-paint.md` and `elements.md` files to clarify the usage of the `<html>` element and its properties. Added new samples demonstrating the use of the `<html>` element in various contexts.
Introduced the `<htmlPaint>` element, allowing real HTML children to be rendered within a defined box using the html-in-canvas API. Updated the `elements.md`, `paints.md`, and `README.md` to include details about `<htmlPaint>`, its properties, and usage examples. Added a new `html-paint.md` file for comprehensive documentation on the element's functionality and limitations. Enhanced the rendering system to support HTML content, ensuring it integrates seamlessly with existing paint types.
Add native corner radius and backdrop functionality for macOS, improving the visual integration of the application. Update the build process to include a new native build script. Additionally, introduce new CSS variables for stronger border styling across the web application, ensuring a consistent and polished user interface. This change enhances the overall user experience on macOS and improves visual consistency across platforms.
Update the main window configuration to support macOS native vibrancy, allowing for a transparent background and improved visual integration. Introduce new CSS variables for sidebar colors in both light and dark themes, ensuring a consistent look across platforms. Additionally, adjust component styles to reflect these changes, enhancing the overall user interface and experience.
Refactor the file dialog logic to support both Electron and standard web file picking methods. Introduce a new `getPathForFile` function to retrieve file paths in the desktop context, improving file handling consistency. Update the `ElectronFileHandle` class to facilitate the creation of file handles from files, ensuring seamless integration with the existing file system APIs. Additionally, enhance permission handling in the `queryPermission` method to provide a fallback mechanism for permission requests. This change improves user experience and file management capabilities across the applications.
Refactor the CLI and Electron communication to utilize tRPC for improved type safety and structure. Introduce WebSocket support for direct communication between the CLI and renderer, enhancing performance and responsiveness. Update various CLI commands to leverage the new editor API for asset management, folder operations, and project handling. Additionally, enhance TypeScript configurations and dependencies for better development experience. This update streamlines the overall architecture and improves user interaction with the CLI.
Optimize the `setFileInputFiles` function by maintaining the debugger attachment between calls, reducing overhead. Additionally, enhance the `getFile` method in `ElectronFileHandle` to cache the File object, allowing for efficient re-use and preventing race conditions during file materialization. Introduce an `invalidate` method to refresh the cached File when necessary, improving overall file handling efficiency.