Releases: linkedin/spaniel
Releases · linkedin/spaniel
2.5.10
2.5.8
Fixes bug with 0-area elements not being detected as intersecting with the viewport
v2.5.4
v2.5.3/4
- Update build and testing dependencies
- Dependency Maintenance (mocha, babel, ts, node)
- Update exports paths / removed es6 nested folder
- Prettier support
- Fix exposed doc when element has zero area
- ALLOW_CACHED_SCHEDULER Flag default to true
- Handle zero-area and display: none cases
- scheduler bug fix
v2.5.2
v4.0.0
Reduce clientBoundingRect calls
- Window bounds now only updates on scroll or resize event. Only if we have passive listeners to detect any user interaction.
- Passive listeners are now only needed where the callback can preventDefault()
- Window bounds are now cached (not the entire boundingRect object)
- Improved heuristics to avoid polling when we believe the system is stable
Support scrolling divs
- New API Method - Allow manual declaration of custom root element
Tests
- Unit tests have been migrated from Phantom to Headless Chrome
- Leaky tests have been address and tests now exit upon complete
Perf
- Address issues with excessive CPU usage and layout thrash
- Address issues with legacy MS browsers and
getBoundingClientRect
- New API Method -
isDirty
andinvalidate
for State Changes
Maintenance
- Upgrade of all dependencies
Future Release Deprecations
- Note: This is the last major release of Spaniel. Going forward Spaniel will have a hard dependency on Ember. Thus Ember-Spaniel will be the new home for All Spaniel Internals.