Skip to content

v0.39.1

Choose a tag to compare

@dipenpradhan dipenpradhan released this 23 Apr 23:34
· 1 commit to stable/0.39.x since this release
77ee682

Release Notes v0.39.1

This release introduces major enhancements to the LiveUpdate feature, a new Figma plugin for layout animations, and significant improvements to rendering stability and performance tracking.

Full Changelog: v0.38.3...v0.39.1

🚀 Features & Enhancements

  • LiveUpdate Enhancements:
    • Added adaptive polling with exponential backoff to optimize network usage and responsiveness (#2423).
    • General performance and reliability improvements to the LiveUpdate system (#2379).
  • Squoosh Designer Plugin: Introduced a new Figma plugin designed for orchestrating complex layout animations directly from the design tool (#2402).
  • Rust Logging API: Standardized library logging by replacing println! and eprintln! with the native Rust log API (#2411).
  • Performance Monitoring: Added performance logging for high-cost fetch operations to assist in diagnosing design-related bottlenecks (#2419).

🐛 Bug Fixes

  • Interaction & Animation:
    • Fixed a critical issue where SquooshRoot could enter an infinite recomposition loop or freeze during rapid taps (#2409).
    • Resolved a bug where whilePressing interactions could become stuck during multi-touch drag operations (#2422).
    • Prevented duplicate key events from firing during animated transitions (#2417).
  • Rendering Improvements:
    • Restored support for Modifier customization within the Squoosh renderer (#2426).
    • Fixed stroke gradient rendering to correctly account for stroke thickness (#2420).
    • Enhanced deserialization to gracefully handle unknown Figma features, improving forward compatibility (#2414).
  • UI Polish: Fixed a race condition causing the Design Switcher to briefly display an 'Offline' status during initialization (#2421).

🛡️ Security

  • Security Scanning: Enabled CodeQL static analysis to automatically identify potential security vulnerabilities (#2412).
  • Permission Enforcement: Added a security check to verify and enforce restrictive file permissions for the Figma access token file (#2418).
  • Dependency Security: Updated rustls-webpki to v0.103.12 (#2434).

📝 Documentation

  • SDK Support: Documented supported Android SDK levels for the library (#2429).
  • Getting Started: Added clear instructions for JDK installation in the onboarding documentation (#2424).
  • Architecture & APIs:
    • Updated the dc_figma_import README to reflect recent architectural changes (#2427).
    • Clarified visibility parameter documentation (#2428).

⚙️ CI & Infrastructure

  • Release Process: Integrated automated cargo publish steps into the GitHub release workflow (#2436).
  • Build Reliability:
    • Added assembleRelease to the CI pipeline to proactively catch minification or ProGuard-related issues (#2425).
    • Updated JNI dependencies and refactored the dc_jni crate for improved maintainability (#2432).
    • Cleaned up unwrap() calls in the JNI layer to improve runtime stability (#2415).
  • Cleanup:
    • Deprecated and removed the legacy publish_designcompose.sh script (#2433).
    • Removed obsolete Open VSX extension recommendations (#2431).

🧪 Testing

  • Unit Tests:
    • Added comprehensive Rust-based unit tests for layout calculations (#2413).
    • Introduced detailed tests for the mergeStyles function to ensure styling consistency (#2416).