Skip to content

Latest commit

 

History

History
292 lines (142 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

292 lines (142 loc) · 10.8 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.2.2 (2020-02-03)

4.2.1 (2020-02-03)

Bug Fixes

  • window-mock: replace intersection observer arrow functino with regular function to allow for use as a constructor. (287fe3c)

4.2.0 (2019-02-01)

Features

  • in-viewport: integrate feature detection for intersection observer (4fc1a21), closes #31

4.1.0 (2018-11-21)

Features

  • in-viewport: add angular 7 support (e1e9f30)

4.0.0 (2018-10-08)

Features

  • InViewport: add ability set offset using IntersectionObserver options (#26) (cacca75), closes #4

Performance Improvements

  • InViewport: use intersection observer to calculate inviewport state (#25) (b722d3f)

BREAKING CHANGES

  • InViewport: Removed forRoot method in module which is no longer required for AppBrowserModule. Replaced with forServer method for AppServerModule. Removed debounce feature and rxjs dependancy to leave implementation up to the consumer of the library. This reduces bundle size if debounce feature is not being used. Updated inviewport classes to sn-inviewport--in and sn-inviewport--out to match SOON styleguide

3.0.1 (2018-07-20)

Bug Fixes

  • window-ref: remove incorrect pageOffset properties (e967d32)

3.0.0 (2018-05-23)

Features

  • inviewport: adding support for angular 6 (aeecd91)

BREAKING CHANGES

  • inviewport: rxjs > 6 is now a peer dependency

2.2.0 (2018-02-20)

Bug Fixes

Features

  • InViewport: export directive to be able to trigger inviewport check manually (9903a0c), closes #9

2.1.1 (2018-01-23)

Bug Fixes

  • WindowRef: add arguments to window ref functions (d512399)

2.1.0 (2018-01-23)

Bug Fixes

  • InViewport: Fix module not working with aot (92ace50)

BREAKING CHANGES

  • InViewport: Must provide the whole Provide object when providing window for browser module

2.0.0 (2018-01-23)

2.0.0-rc.0 (2018-01-23)

Features

  • InViewport: Updating WindowRef service with more mock properties and functions (6c0264a)

BREAKING CHANGES

  • InViewport: inViewportModule.forRoot function now only accepts a single argument which should be a reference to window or a mock window implementation

1.4.3 (2018-01-04)

Bug Fixes

  • InViewport: Fixed a regression when used in angular universal app (5c210c1)

1.4.2 (2017-12-04)

Bug Fixes

  • build: generate correct metadata needed for ng-language-service (26a0c08)

1.4.1 (2017-12-04)

1.4.0 (2017-11-29)

1.4.0-rc.1 (2017-11-29)

Bug Fixes

  • packagr: export all symbol reference in public_api.ts (2d0eaec)

1.4.0-rc.0 (2017-11-29)

Breaking Changes

  • InViewport: Changed (onInViewportChange) output to (inViewportChange). Changed [snInViewportParent] input to [parent]. This was to pass default linting options with the angular cli (f86f1c6)

1.3.2 (2017-11-28)

Bug Fixes

  • inViewport: Avoid triggering change detection unless necessary (e90067b)

1.3.1 (2017-11-13)

Bug Fixes

  • inViewport: Fix app breaking when rendering on universal (5b5dd4f)

1.3.0 (2017-08-30)

Bug Fixes

  • InViewport: Use getBoundingClientRect to get element position in viewport (8a845a3)

Breaking Changes

  • InViewport: InViewportModule now has to be imported with forRoot(providers) where providers has a WindowRef class included which should be used to provide a window object (8a845a3)

1.2.0 (2017-08-29)

Features

  • InViewport: Added ability to specify a parent scroll container (1045d86), closes #7

1.1.0 (2017-08-25)

Features

  • InViewport: update directive selector so it matches snInViewport attribute (0292245), closes #5

1.0.1 (2017-08-15)

1.0.0 (2017-08-15)

Features

  • inViewport: moving package to thisissoon org (7aeb1a1)

0.2.3 (2017-08-09)

Bug Fixes

  • inViewport: calculation did not take into account all scenarios from both axes (3d67ec9)

0.2.2 (2017-08-09)

Bug Fixes

  • inViewport: fix inViewport calculation on mobile (9777264)

0.2.1 (2017-08-09)

Bug Fixes

  • inViewport: inViewport status not being set correctly for large elements (7b85443)

0.2.0 (2017-08-03)

Features

  • inViewport: Debounce event handler to improve performance (0b44112)

0.1.3 (2017-07-29)

Bug Fixes

  • build: ensure build is run before publishing package (bd12500)
  • build: run build after release (b43771e)

0.1.2 (2017-07-28)

0.1.1 (2017-07-27)

Bug Fixes

  • build: make sure to run build before release (ae3a797)

0.1.0 (2017-07-27)

Features

  • inViewport: directive will emit onInViewportChange event when inViewport value changes (fc63560)

0.0.2 (2017-07-18)

Features

  • inViewport: initial release (6f04f8f)