Skip to content

Commit b7e0777

Browse files
committed
chore(release): bump version number to 3.0.0
1 parent 2e04235 commit b7e0777

File tree

2 files changed

+81
-6
lines changed

2 files changed

+81
-6
lines changed

CHANGELOG.md

+80-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,78 @@
1+
<a name="3.0.0"></a>
2+
# [3.0.0](https://github.com/tinesoft/ngx-scrollreveal/compare/v2.2.0...v3.0.0) (2018-09-25)
3+
4+
5+
### Chores
6+
7+
* **core:** rename the project into `ngx-scrollreveal` ([f4c4d1a](https://github.com/tinesoft/ngx-scrollreveal/commit/f4c4d1a))
8+
9+
10+
### Features
11+
12+
* **core:** migrate to ScrollReveal `v4.x.x` ([7b3c816](https://github.com/tinesoft/ngx-scrollreveal/commit/7b3c816))
13+
* **core:** remove the `forRoot()` in `NgsRevealModule` (no longer needed with Angular 6) ([b708dec](https://github.com/tinesoft/ngx-scrollreveal/commit/b708dec))
14+
* **core:** update to `Angular v6.x.x` and higher ([54c8a0a](https://github.com/tinesoft/ngx-scrollreveal/commit/54c8a0a))
15+
16+
17+
### BREAKING CHANGES
18+
19+
* **core:** imports in your application must be updated to consider the new package name `ngx-scrollreveal`
20+
21+
Before:
22+
```
23+
npm install --save ng-scrollreveal
24+
25+
...
26+
27+
import { ... } from 'ng-scrollreveal';
28+
```
29+
30+
After:
31+
```
32+
npm install --save ngx-scrollreveal
33+
34+
...
35+
36+
import { ... } from 'ngx-scrollreveal';
37+
```
38+
* **core:** `NgsRevealModule.forRoot()` has been removed, and internally replaced by use of new `providedIn` option in `@Injectable`
39+
40+
Before:
41+
42+
```ts
43+
import {NgsRevealModule} from 'ng-scrollreveal';
44+
45+
@NgModule({
46+
declarations: [AppComponent, ...],
47+
imports: [NgsRevealModule.forRoot()],
48+
bootstrap: [AppComponent]
49+
})
50+
export class AppModule {
51+
}
52+
```
53+
54+
After:
55+
56+
```ts
57+
import {NgsRevealModule} from 'ng-scrollreveal';
58+
59+
@NgModule({
60+
declarations: [AppComponent, ...],
61+
imports: [NgsRevealModule],
62+
bootstrap: [AppComponent]
63+
})
64+
export class AppModule {
65+
}
66+
```
67+
* **core:** migration to ScrollReveal `v4.x.x` brings some breaking changes to be addressed
68+
69+
- `@types/scrollreveal` is no longer necessary and **must be removed** from your `package.son`
70+
- `options.distance` now only supports `em`, `px` and `%` values
71+
- `NgsRevealConfig` default values have been updated to match [ScrollReveal](https://scrollrevealjs.org/api/defaults.html)'s
72+
- be aware that `ScrollReveal` now requires a **commercial license**, unless for [GPL-3.0](https://opensource.org/licenses/GPL-3.0) compatible open source projects.
73+
74+
75+
176
<a name="2.2.0"></a>
277
# [2.2.0](https://github.com/tinesoft/ngx-scrollreveal/compare/v2.1.0...v2.2.0) (2017-11-22)
378

@@ -59,13 +134,13 @@
59134

60135
### Features
61136

62-
* **all:** making @IgorMinar happy all the way (it's just angular!) ([061c648](https://github.com/tinesoft/ngx-scrollreveal/commit/061c648))
137+
* **all:** making [@IgorMinar](https://github.com/IgorMinar) happy all the way (it's just angular!) ([061c648](https://github.com/tinesoft/ngx-scrollreveal/commit/061c648))
63138

64139

65140
### BREAKING CHANGES
66141

67-
* **all:** rename UMD bundled file from `ngx-scrollreveal.min.js` to `ngx-scrollreveal.umd.js`
68-
* **all:** rename package from `ng2-scrollreveal` to `ngx-scrollreveal` to conform with new Angular Naming Guidelines.
142+
* **all:** rename UMD bundled file from `ng-scrollreveal.min.js` to `ng-scrollreveal.umd.js`
143+
* **all:** rename package from `ng2-scrollreveal` to `ng-scrollreveal` to conform with new Angular Naming Guidelines.
69144

70145
This only affect how you install and import the library (no actual breaking changes in code).
71146

@@ -82,10 +157,10 @@ import { NgsRevealModule } from 'ng2-scrollreveal';
82157
After:
83158

84159
```
85-
npm install --save ngx-scrollreveal
160+
npm install --save ng-scrollreveal
86161
...
87162
88-
import { NgsRevealModule } from 'ngx-scrollreveal';
163+
import { NgsRevealModule } from 'ng-scrollreveal';
89164
```
90165

91166

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ngx-scrollreveal",
33
"description": "Angular directives for ScrollReveal : a JavaScript library for easily animating elements as they enter/leave the viewport.",
4-
"version": "2.2.0",
4+
"version": "3.0.0",
55
"homepage": "https://github.com/tinesoft/ngx-scrollreveal",
66
"author": {
77
"name": "Tine Kondo",

0 commit comments

Comments
 (0)