Skip to content

v0.5.0

Choose a tag to compare

@66HEX 66HEX released this 20 Nov 17:12
· 25 commits to main since this release
bb43da3

Fixed

  • Guarded IntersectionHysteresis.retain() against zero prior or current speed so stationary forecasts reset cleanly without NaN arithmetic.
  • Preserved rule.debug eligibility metadata in getDebugSnapshot() while an intersection rule is held by release hysteresis.
  • Saturated expand() bounds to finite limits so huge marginPx values cannot overflow rectangle coordinates or abort active subscriptions.
  • Separated dirty-marking (markDirty()) from frame scheduling (invalidate()) in GeometryCache so idle input resets no longer schedule and immediately cancel a redundant requestAnimationFrame.
  • Guarded optional document.fonts and getAnimations() calls so restricted or partial DOM environments do not throw during initialization or frame evaluation.
  • Prevented NaN in ObservedPath.take() when clipping segments whose coordinate difference overflows.

Added

  • Unit and browser regression tests covering zero-speed hysteresis retention, debug eligibility during retention, huge marginPx saturation, idle reset frame scheduling, missing document.fonts / getAnimations() APIs, and overflowing observed-path clipping.