v3.0.0
Version 3.0
Switch to Rollup bundler, remove polyfills and deprecations.
The major feature of this release is size reduction. Gzip size of the module has gone from over 6kb to 4905 bytes (4.79kb). Woohoo!
The major factor in this reduction was moving from Webpack to Rollup. We were also able to kill some deprecations, which lightened the bundle.
Breaking changes
- Switch from polyfills to helper functions
Before, we were polyfilling certain array methods: find
, every
, and isArray
. This wasn't ideal, since it meant we could be patching the host application's array methods.
We still include helper methods to perform these operations, so browser support has not changed. But, if your host application (the code you write) uses the aforementioned array methods, they may suddenly not work in legacy browsers like Internet Explorer, since our polyfills have been removed.
- Removed typo animation presets
If you ask me, "accordion" should really be spelled "accordian". That's how you pronounce it!
That said, the correct spelling is "accordion". For the presets accordionHorizontal
and accordionVertical
, we were supporting both variants, but now only the correct spelling will be accepted.
- Removed deprecated prop "disableAnimations"
We renamed the prop disableAnimations
to disableAllAnimations
. The former will no longer work.
Thanks a ton to @Andarist for their work contributing all the major parts of this release. Also thanks to @tobilen and @Hypnosphi for reviewing the PRs associated with this release.