Skip to content

v4.0.0

Compare
Choose a tag to compare
@lynchbomb lynchbomb released this 17 Jul 16:20

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 and invalidate 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.