Skip to content

v3.5.0

Choose a tag to compare

@twinsbox89 twinsbox89 released this 10 Feb 09:35
· 28 commits to main since this release

CPU Usage Optimizations

  • Reduced CPU Overhead on WebGPU: Significantly optimized CPU usage during segmentation tasks when running on WebGPU, ensuring smoother performance and better resource efficiency.

New Features

  • isSupported API Endpoint: Introduced a new isSupported API to help developers easily check for compatibility with the SDK before initialization.
  • Multi-Instance GPU Segmentation Support: Added support for running multiple SDK instances with GPU-based segmentation on the same page, enabling more flexible use cases.
  • NPM Package Enhancements: Improved the NPM package structure by providing separate files for ECMAScript Modules (ESM) and CommonJS, making it easier to integrate into different project setups.
  • GPU Device Lost Handling: Implemented robust handling for GPU device loss scenarios, particularly addressing issues on older Intel Integrated Graphics drivers.

Bug Fixes & Stability Improvements

  • Dynamic Eval and CSP Compatibility: Fixed issues related to dynamic eval and script loading, improving compatibility with stricter Content Security Policies (CSP).
  • Worker-Timer Errors in Firefox: Resolved Firefox-specific worker-timer errors by moving them to the ErrorBus system instead of throwing exceptions, ensuring smoother error handling.
  • Background Blinking on Intel Integrated Graphics: Fixed an issue where background blinking occurred during parallel segmentation tasks across different tabs on Intel Integrated Graphics.
  • General Stability Enhancements: Various under-the-hood improvements to enhance overall stability and reliability of the SDK.

Repository Improvements

  • Updated Repository Structure: Revamped the repository structure to make it more semantic, organized, and easier to navigate. This change improves clarity and maintainability for developers working with the SDK.