parallax v3.1 Release Notes

Release Date: 2017-09-10 // about 3 years ago
  • ๐Ÿš€ v3.1 is here, featuring a vastly improved Readme and finally working npm releases again! That's right, you can now just do npm install parallax-js and be up-to-date again ๐ŸŽ†

    โž• Additionally, I have those features for you:

    • ๐Ÿ’ฅ Breaking: added selector option, now by default all child elements of the scene will become layers, see Readme on how to restore legacy behaviour
    • โž• added hoverOnly option
    • โž• added inputElement option
    • ๐Ÿ›  fixed bug when using deviceMotion events
    • polyfilled Object.assign for IE compatibility
    • โž• added ready callback
    • โž• added destroy method
    • ๐ŸŽ some slight performance improvements

Previous changes from v3.0

  • ๐Ÿš€ Proudly presenting the first release after nearly 3 years!

    Let's get the breaking changes out of the way first:

    • ๐Ÿšš the jQuery/Zepto version has been removed, use new Parallax($('#scene').get(0)) if you need to
    • ๐Ÿ‘€ pointer events are disabled for layers by default, see the #interactivity section of the Readme for details on how to enable them
    • HTML inline attributes take priority over the initial JS parameters
    • ๐Ÿ‘Œ support for old IE versions might be broken, please let me know if so and I'll try to fix it

    Those were necessary to bring you these improvements and new features:

    • ๐Ÿ’… general repository cleanup, more readable code, nicer coding style โœจ
    • ๐Ÿ— a great build flow for contributors and those curious about the source code ๐Ÿ—
    • ๐Ÿ“š with a better documentation ๐Ÿ“
    • ๐Ÿฑ lightning fast npm install process โšก๏ธ
    • ๐Ÿฑ you can now actually require and/or import parallax-js ๐Ÿ˜ฎ
    • ๐Ÿ›  bugfixes of course ๐Ÿ‘พ
    • ๐ŸŽ increased performance and compatibility, especially for mobile devices ๐Ÿ“ฑ
    • ๐Ÿฑ depth can be set independently for X and Y axis ๐Ÿ‘
    • ๐ŸŽ adjustable precision, set to the best value for both performance and optics ๐ŸŽฏ

    ๐Ÿฑ Let us know what you think! And a big shoutout to all contributors, thank you for making this possible ๐Ÿ’–

    Choose compiled.zip from below if you want a drag-and-drop JS file.