Releases: yitengjun/ukiyo-js
Releases · yitengjun/ukiyo-js
v4.0.3
v4.0.2
v4.0.1
v4.0.0
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 externalrequestAnimationFrame()
- 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
-
No user-facing changes have been made. Only developer-facing changes were made. ↩