Skip to content

Latest commit

 

History

History
237 lines (109 loc) · 6.89 KB

CHANGELOG.md

File metadata and controls

237 lines (109 loc) · 6.89 KB

0.16.1 (2024-12-10)

Bug Fixes

  • do not try hardware acceleration if browser is not supported (9d5644c)

Performance Improvements

  • improve hardware accelerated animation timing function precision (657333f)

0.16.0 (2024-12-03)

Bug Fixes

  • fix the problem that unit completion is not applied in some cases (9a77969)

Features

  • trigger hardware accelerated transition if possible (#10) (6f170fc)

0.15.0 (2024-11-20)

Features

  • add relocating option for useSpring and <spring> (fdae4cb)

0.14.0 (2024-11-18)

Bug Fixes

  • set spring style value immediately if the value is not animatable (df35daf)

Features

  • set enter/leave transition classes to transitioning elements as same as Vue's transition components (8a70820)

0.13.0 (2024-10-03)

Bug Fixes

  • ensure triggering animation / update options when values passed to useSpring are mutated (bc863ef)

Features

  • add disabled prop for <spring> element (fc54bac)

0.12.3 (2024-06-16)

Bug Fixes

  • fix problem that an animation may not work on chrome (45cde70)
  • make animation controller auto complete missing unit when animation to 0 value is stopped with stop() method (#9) (907e381)

0.12.2 (2024-03-08)

Bug Fixes

  • avoid triggering transition when set styles are the same with the previously set styles (e981e72)
  • make velocity normalization expression correct (ccaf9d6)

0.12.1 (2024-03-07)

Bug Fixes

  • do not trigger transition when from and to are the same and velocity is 0 (e987e54)

0.12.0 (2024-01-16)

Bug Fixes

  • fix wrong animation happened when it is occurred by stopping previous animation (#8) (412b1b1)

Features

  • auto complete 0 value without unit in animation style (284ecdc)

0.11.0 (2023-12-29)

Features

  • fallback leaveTo to enterFrom style when it is not specified (a680420)
  • inherit previous move velocity when move transition is occurred repeatedly (#7) (f2ec6cd)

0.10.0

New Features

  • Added onFinishCurrent function to useSpring composable.

0.9.0

New Features

  • Added <SpringTransitionGroup> component.
  • Added mode prop to <SpringTransition> component (as same prop as mode prop of <Trasntion>).

0.8.1

Bug Fixes

  • Bundle <SpringTransition> component type.

0.8.0

New Features

  • Added <SpringTransition> component.

0.7.1

Bug Fixes

  • reset transition and time custom property when useSpring is disabled

0.7.0

  • Improve spring parameters

Breaking Changes

  • Rename default exported plugin object with springDirectives

0.6.0

  • add spring component namespace. e.g. <spring.div :spring-style="{ translate: x + 'px' }"></spring.div>

0.5.2

  • hyphenate style property name passed to v-spring-style directive.

0.5.1

  • alpha part in hex color should be in range 0-1

0.5.0

  • Allow to pass normal string for animation target value.
  • Support hex color (#RRGGBB) animation.

Breaking Changes

  • Removed s util function.

0.4.3

  • calculate velocity from input style automatically while disabled

Breaking Changes

  • Removed velocity option from useSpring and v-spring-options

0.4.2

  • annotate v-spring-options type for type diagnostics

0.4.1

  • ensure v-spring-options value is applied before triggering v-spring-style animation on the same update.

Breaking Changes

  • removed useSpringStyle

0.4.0

  • add s util.
  • add v-spring-style and v-spring-options directives.
  • allow to install the above directives globally by app.use(plugin).

Breaking Changes

  • animate and useSpring interface is changed.
  • removed unit util.

0.3.1

  • return real value and real velocity after animation is stopped.
  • finishingPromise and settlingPromise should be resolved after internal processing is finished.

0.3.0

  • Add useSpring vue composable.
    • realValue and realVelocity are available in addition to style from useSpringStyle.

Breaking Changes

  • Renamed the returned context properties from animate.
    • ctx.current -> ctx.realValue
    • ctx.velocity -> ctx.realVelocity

0.2.0

  • Add unit function in favor of unit option

Breaking Changes

  • unit option of animate is removed

0.1.1

  • Add unit option

0.1.0

Initial release