Skip to content

Releases: linkedin/spaniel

2.5.10

15 Sep 20:30
Compare
Choose a tag to compare

Bugfixes

  • Disables caching of clientRects for now. This performance optimization led to inconsistent behavior where cache was not invalidated.
  • Fixes a bug where apps that begin in a backgrounded state fire impressions.

2.5.8

18 Dec 19:43
Compare
Choose a tag to compare

Fixes bug with 0-area elements not being detected as intersecting with the viewport

v2.5.4

30 May 20:24
Compare
Choose a tag to compare

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

09 Oct 18:01
Compare
Choose a tag to compare
  • Backport PR #59. Guard against race condition.
  • Travis config changes to test against release branches
  • Trigger closing events on beforeunload instead of unload as beforeunload can be too late in some situations

v4.0.0

17 Jul 16:20
Compare
Choose a tag to compare

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.

v2.5.1

05 Jul 02:50
Compare
Choose a tag to compare
  • Address Rollup AOT Warnings

v2.5.0

29 May 17:18
Compare
Choose a tag to compare
  • Fix Security Fix #82. Nightmare (Electron) Security Fix Bump.
  • Fix PR #80. Backporting the custom root API. New memoization for CPU and redraw perf improvements.

v2.4.7

12 Feb 23:20
Compare
Choose a tag to compare
  • Fix scheduler now handles window proxy listeners state properly.
  • Fix Bug #76. Watcher support for elements not within the DOM.
  • Fix Bug #75. IE 11 may throw an exception when calling getBoundingClientRect on detached elements.

v2.4.6

08 Jan 20:11
Compare
Choose a tag to compare
  • Fix performance issue with CPU on idle, scroll and resize.
  • Updated dependencies
  • Add pkg.module

v3.3.1

09 Nov 22:00
Compare
Choose a tag to compare

Support pkg.module and use babel-present-env instead of babel-preset-2015