Skip to content

0.1.10

Latest

Choose a tag to compare

@xptea xptea released this 05 Dec 02:52
· 1 commit to main since this release
a467694

[0.1.10] - 2025-12-04

Added

  • Default Local Time: New clock widgets now automatically include local time in the world clocks settings
  • Independent Analog Second Hand Control: Added dedicated "Show Second Hand" setting for analog clocks, separate from digital seconds display
  • Performance Optimizations: Implemented memory leak fixes for smooth second hand animation

Changed

  • Clock Settings Reorganization: Completely restructured clock widget settings into logical categories:
    • Clock Style (Digital/Analog mode selection)
    • Analog Options (Second hand and digital time display - only visible in analog mode)
    • General Options (24-hour format, show seconds, show date)
    • World Clocks (Timezone management)
  • Always Smooth Animation: Removed the optional smooth seconds setting - analog clocks now always have smooth second hand animation
  • Cleaner Default Experience: Removed the "Add clocks in settings" prompt text when no world clocks are configured
  • Memory Optimization: Replaced requestAnimationFrame with setInterval (10fps) for smoother performance and reduced memory usage
  • Performance Improvements: Memoized Intl.DateTimeFormat instances to reduce object creation overhead

Fixed

  • Memory Leak: Resolved significant memory leak in smooth second hand animation that was causing performance issues
  • Conditional Settings Display: Analog options now only appear when analog clock mode is selected, providing a cleaner settings interface

Technical Details

  • Performance: Reduced update frequency from 30-60fps to 10fps for smooth animations
  • Memory: Cached timezone formatters to prevent repeated object creation
  • UX: Settings interface now dynamically shows/hides options based on current selections
  • Defaults: New clock widgets include local timezone by default for better out-of-box experience

Breaking Changes

  • Clock widget settings structure has been reorganized - existing user settings will be preserved but may appear in different categories
  • Smooth seconds animation is now always enabled for analog clocks (no longer user-configurable)

Previous Versions

[0.1.9]

  • Initial release with basic widget functionality
  • Clock widget with digital/analog modes
  • World clock support
  • Settings management system
  • Multi-window architecture