Skip to content

v4.0.0

Choose a tag to compare

@A0-42 A0-42 released this 05 May 17:56
· 52 commits to main since this release

Breaking Changes

  • Offset sign inverted — Positive offset now triggers earlier (matches AOS convention)
  • Sentinel removed from observation — IntersectionObserver watches the element directly. Fixes animations inside overflow:hidden containers (fade-up, zoom-in-up, etc.)
  • Sentinel only in debug mode — No invisible sentinel element by default

What's New

  • delay, easing, threshold options
  • AOS layer: anchorPlacement, mirror, disable(), destroy()
  • TypeScript types for /aos export
  • 55 Playwright E2E tests (API + AOS + landing integration)

Bug Fixes

  • FOUC on init (no more opacity 1→0 flash)
  • --delay not overwritten when undefined
  • data-aos-offset="0" properly respected
  • will-change released after animation
  • Easing indentation bug