Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Dec 04:43
· 106 commits to main since this release

4.0.0 (2022-12-30)

BREAKING CHANGE1

  • Rewritten the code from JavaScript to TypeScript (8522b92)
    • Made slight changes to the directory structure

Features

  • Added the externalRAF option, which allows the parallax animation to be run within an external requestAnimationFrame()
  • Optimize parallax amount to fit screen size for small displays

Performance

  • Changed the image loading to img.decode()

Bug Fixes

  • Fixed a bug where the border-radius of parallax elements was not being applied on Mobile Safari
  • Improved the smoothness of parallax animations on Mobile Safari

Refactors

  • Conducted a thorough review and refactoring of the code overall

Documentation

  • Created a development demo page in the demo/ directory (69c8565)

Chore

  • Added browser-sync for development (9e7f017)
  • ⛰️ Updated icons (e75636d)
  1. No user-facing changes have been made. Only developer-facing changes were made.