Skip to content

Commit 5da6b88

Browse files
committed
chore(release): 4.0.0
1 parent c4002f7 commit 5da6b88

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="4.0.0"></a>
6+
# [4.0.0](https://github.com/thisissoon/angular-inviewport/compare/v3.0.1...v4.0.0) (2018-10-08)
7+
8+
9+
### Features
10+
11+
* **InViewport:** add ability set offset using IntersectionObserver options ([#26](https://github.com/thisissoon/angular-inviewport/issues/26)) ([cacca75](https://github.com/thisissoon/angular-inviewport/commit/cacca75)), closes [#4](https://github.com/thisissoon/angular-inviewport/issues/4)
12+
13+
14+
### Performance Improvements
15+
16+
* **InViewport:** use intersection observer to calculate inviewport state ([#25](https://github.com/thisissoon/angular-inviewport/issues/25)) ([b722d3f](https://github.com/thisissoon/angular-inviewport/commit/b722d3f))
17+
18+
19+
### BREAKING CHANGES
20+
21+
* **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
22+
23+
24+
525
<a name="3.0.1"></a>
626

727
## [3.0.1](https://github.com/thisissoon/angular-inviewport/compare/v3.0.0...v3.0.1) (2018-07-20)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thisissoon/angular-inviewport",
3-
"version": "3.0.1",
3+
"version": "4.0.0",
44
"description": "A simple lightweight library for Angular that detects when an element is within the browser viewport and adds a sn-viewport--in or sn-viewport--out class to the element.",
55
"keywords": [
66
"angular",

0 commit comments

Comments
 (0)