Skip to content

Latest commit

 

History

History
177 lines (96 loc) · 4.79 KB

CHANGELOG.md

File metadata and controls

177 lines (96 loc) · 4.79 KB

3.0.0 (2018-09-25)

Chores

  • core: rename the project into ngx-scrollreveal (f4c4d1a)

Features

  • core: migrate to ScrollReveal v4.x.x (7b3c816)
  • core: remove the forRoot() in NgsRevealModule (no longer needed with Angular 6) (b708dec)
  • core: update to Angular v6.x.x and higher (54c8a0a)

BREAKING CHANGES

  • core: imports in your application must be updated to consider the new package name ngx-scrollreveal

Before:

npm install --save ng-scrollreveal

...

import { ... } from 'ng-scrollreveal';

After:

npm install --save ngx-scrollreveal

...

import { ... } from 'ngx-scrollreveal';
  • core: NgsRevealModule.forRoot() has been removed, and internally replaced by use of new providedIn option in @Injectable

Before:

import {NgsRevealModule} from 'ng-scrollreveal';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [NgsRevealModule.forRoot()],
  bootstrap: [AppComponent]
})
export class AppModule {
}

After:

import {NgsRevealModule} from 'ng-scrollreveal';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [NgsRevealModule],
  bootstrap: [AppComponent]
})
export class AppModule {
}
  • core: migration to ScrollReveal v4.x.x brings some breaking changes to be addressed
  • @types/scrollreveal is no longer necessary and must be removed from your package.son
  • options.distance now only supports em, px and % values
  • NgsRevealConfig default values have been updated to match ScrollReveal's
  • be aware that ScrollReveal now requires a commercial license, unless for GPL-3.0 compatible open source projects.

2.2.0 (2017-11-22)

Features

  • packaging: relax peerDependencies versions (ccfcec2)

2.1.0 (2017-09-23)

Features

  • uinversal: add universal (server side rendering) support and update demo app (6fac32b), closes #50

2.0.3 (2017-06-08)

Bug Fixes

  • config: relax type of config.container into Element | string (b8b56d0), closes #15

2.0.2 (2017-03-24)

Bug Fixes

  • peerDependencies: remove 'angular-cli-ghpages' from peerDependencies (accidentally added since v2.0.0) (141e133)

2.0.1 (2017-03-24)

Bug Fixes

  • config: export NgsRevealConfig service to allow global configuration (a3c64cc), closes #6

2.0.0 (2017-03-08)

Code Refactoring

  • all: move demo app to own folder and improve build tools (504499b)

Features

BREAKING CHANGES

  • all: rename UMD bundled file from ng-scrollreveal.min.js to ng-scrollreveal.umd.js
  • all: rename package from ng2-scrollreveal to ng-scrollreveal to conform with new Angular Naming Guidelines.

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

Before:

npm install --save ng2-scrollreveal

...

import { NgsRevealModule } from 'ng2-scrollreveal';

After:

npm install --save ng-scrollreveal
...

import { NgsRevealModule } from 'ng-scrollreveal';

1.0.1 (2016-11-27)

1.0.0 (2016-11-09)