Skip to content

Latest commit

 

History

History
106 lines (89 loc) · 2.81 KB

CHANGELOG.md

File metadata and controls

106 lines (89 loc) · 2.81 KB

Changelog

[v0.2.3] - 2024-01-23

Dioxus Version Bump

  • updated to dioxus v0.6.2
  • minor fixes

[v0.2.2] - 2024-01-17

Performance Improvements

  • Resource optimization for web

[v0.2.1] - 2024-01-11

Performance Improvements

  • Smoothness Optimization

New Features

  • Animation Sequence

[v0.2.0] - 2024-01-05

Breaking Changes

  • Replaced use_value_animation and use_transform_animation with use_motion hook
  • Removed old animation configuration system
  • Updated Transform property names for consistency
  • Changed spring physics default parameters
  • Removed deprecated animation methods

New Features

  • Added Color animation support
  • Introduced new AnimationConfig API
  • Added support for animation delays
  • Implemented loop modes (Infinite, Times)
  • Added new spring physics configuration
  • Improved cross-platform performance
  • Added new examples and documentation

Performance Improvements

  • Optimized animation frame handling
  • Reduced CPU usage on desktop platforms
  • Improved interpolation calculations
  • Better memory management
  • Enhanced cleanup on unmount

Bug Fixes

  • Fixed color interpolation for decreasing values
  • Corrected spring physics calculations
  • Fixed desktop platform timing issues
  • Resolved memory leaks in animation loops
  • Fixed transform rotation interpolation

🆕 What's New in v0.2.0

New Animation API

  • Unified animation hook use_animation
  • Simplified configuration
  • Enhanced type safety
  • Better performance

Color Animations

let color = use_motion(Color::from_rgba(59, 130, 246, 255));
color.animate_to(
    Color::from_rgba(168, 85, 247, 255),
    AnimationConfig::new(AnimationMode::Spring(Spring::default()))
);

Animation Delays & Loops

AnimationConfig::new(mode)
    .with_delay(Duration::from_secs(1))
    .with_loop(LoopMode::Times(3))

[v0.1.4] - 2024-12-28

Changes

  • Update dependencies and remove unused UUID references
  • Stop animations on component drop for improved resource management
  • Refactor delay function to improve animation frame handling
  • Optimize animation frame handling for smoother performance
  • Add Screen feature to web-sys and improve frame time calculation
  • Force target 90 FPS hardcoding for consistent performance

Fixes

  • Remove Tailwind CDN dependency from Index.html
  • Remove Particle Effect temporarily for stability
  • Revert to initial implementation of delay function
  • Code cleanup and optimization

[v0.1.3] - 2024-12-27

Changes

  • Adjust animation frame threshold for smoother performance

Fixes

  • Fixed Desktop Platform (Seemed to be broken previously)

[v0.1.2] - 2024-12-27

Changes

  • Example Overhaul

Fixes

  • Fixed Desktop Platform (Seemed to be broken previously)

[v0.1.1] - 2024-12-27

Changes

  • Update Readme

[v0.1.0] - 2024-12-27

Changes

  • Initial Release