Read the introduction post about Popper.js v1 at https://medium.com/@FezVrasta/popper-js-v1-5e8b3acd888c
Changelog:
- BREAKING CHANGE: removed all the underscores
_
prefixes from properties - converted source code to ES6
- build now uses Rollup
- moved from JSHint to ESLint
- moved from Uglify to Babili
- Get rid of Grunt
- updated npm dependencies
- BREAKING CHANGE: removed
parse
method from core library, you can't automatically create popper's markup using Popper.js core. If you need the feature, here you can find a custom modifier that reintroduces the feature. https://gist.github.com/FezVrasta/075d228ffb855688c75a69c6d1d6afce - Added Tooltip.js library to replace the
parse
method - BREAKING CHANGE: simplified modifiers API, see #62 for migration instructions
- BREAKING CHANGE: modifiers options are now stored inside the modifiers configurations, see #62
- Full support for HTML5 shadow root and HTML5 components (#88) (thanks @nadiam84)
- Improved flip detection strategy (#82) (thanks @nadiam84)
- BREAKING CHANGE: boundariesElement has been deprecated in favor to new options of
preventOverflow
andflip
modifiers (#75) - You can now set attributes defining them in
data.attributes
, properties withfalse
values will be removed - BREAKING CHANGE:
onCreate
andonUpdate
methods have been converted to properties of theoptions
object
you can now use them withnew Popper(a, b, { ...otherOptions, onCreate: () => {}, onUpdate: () => {} })
- BREAKING CHANGE:
gpuAcceleration
is now an option of theapplyStyle
modifier (modifiers.applyStyle.gpuAcceleration
) - FEATURE: added
auto
placement, it will automatically get converted to the placement with more free space available (addresses #1) - FEATURE: added
inner
modifier, it allows to make the popper flow toward the inner of the reference element (addresses #83) - From now on, the changelog will be posted in the GitHub releases and not in the CHANGELOG.md file