Skip to content

Latest commit

 

History

History
510 lines (255 loc) · 17.5 KB

CHANGELOG.md

File metadata and controls

510 lines (255 loc) · 17.5 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

11.0.2 (2021-07-18)

Note: Version bump only for package ng-idle

11.0.1 (2021-07-18)

Note: Version bump only for package ng-idle

11.0.0 (2021-07-18)

BREAKING CHANGES

  • This version requires Angular 9 or later.

10.0.0 (2020-09-10)

Features

  • project: upgrade to angular 10 (ea853a6)

BREAKING CHANGES

  • project: required angular 10

9.0.0-beta.1 (2020-07-01)

Features

  • angular dependency: update to angular 9.1.6 (4379af2), closes #139

BREAKING CHANGES

  • angular dependency: required angular 9

8.0.0-beta.4 (2019-07-23)

Note: Version bump only for package ng-idle

8.0.0-beta.3 (2019-07-23)

Note: Version bump only for package ng-idle

8.0.0-beta.2 (2019-07-23)

Note: Version bump only for package ng-idle

8.0.0-beta.1 (2019-07-23)

Bug Fixes

  • idle: ensure countdown short circuits if user returns to active (45325d3)
  • public-api: retain parity with exports from old index (bd172cf)

BREAKING CHANGES

  • deps: update to Angular 8

7.0.0-beta.1 (2019-05-09)

Chores

  • deps: update to Angular 7

BREAKING CHANGES

  • deps: This version is only compatible with Angular 7. If you are still using Angular 6, use @ng-idle@6.0.0-beta.5 or upgrade to Angular 7.

6.0.0-beta.5 (2019-04-04)

Bug Fixes

  • keepalive: Run keepalive setInterval outside NgZone (04e3d4c), closes #113

6.0.0-beta.4 (2019-03-19)

Bug Fixes

  • keepalive: return actual response or error in onPingResponse (0741ae2), closes #118

6.0.0-beta.3 (2018-07-16)

Bug Fixes

  • core: check key on storage event argument exists (2fc712d)

6.0.0-beta.2 (2018-05-31)

Bug Fixes

  • InterruptSource: remove extraneous zonejs import (a49e1af), closes #99 #101

6.0.0-beta.1 (2018-05-24)

Note: The version scheme for this module has been changed to match the version of Angular it targets. Use an @ng-idle@2.0.0 build if you are using Angular 5.

Chores

  • deps: update to Angular 6 and RxJs 6.1 (4a71953), closes #93 #94

BREAKING CHANGES

  • deps: This version is only compatible with Angular 6.

2.0.0-beta.15 (2018-03-29)

Bug Fixes

  • E2E tests in Protractor: Change to setInterval to run outside of angular zone (d8599d7)
  • Unit Tests: Change to restrict zone.js version (93258e2)

BREAKING CHANGES

  • E2E tests in Protractor: idle constructor has additional paramter

2.0.0-beta.14 (2018-03-29)

Bug Fixes

  • InterruptSource: attach outside Angular (c94fc9a)

2.0.0-beta.13 (2017-12-17)

Chores

Features

  • EventTargetInterruptSource: constructor takes options that include flag for using passive even (a5e24eb)

BREAKING CHANGES

  • deps: Support for Angular 2.x dropped due to missing @angular/common/http dependency

2.0.0-beta.12 (2017-05-30)

Bug Fixes

  • idle: use expiry.now() if expiry.last() returns null (06fcb36), closes #54

2.0.0-beta.11 (2017-04-14)

Refactor

  • updated imports of rxjs to only import the operators and types used.

2.0.0-beta.10 (2017-03-30)

Chores

  • deps: support Angular 4 in addition to Angular 2

2.0.0-beta.9 (2017-03-20)

Bug Fixes

  • idle: check expiry on timeout doCountdown (e23233d)

2.0.0-beta.8 (2017-02-20)

Bug Fixes

  • Initialize localStorage idling value to false in constructor (ab71433)

2.0.0-beta.7 (2017-02-16)

Bug Fixes

  • core: check expiry before toggling idle state (6702c36), closes #37

2.0.0-beta.6 (2017-02-14)

Bug Fixes

  • AutoResume.notIdle with LocalStorageExpiry wasn't working well (935ade9)
  • bugfix when last() with null value throws exception (5b3d175)

2.0.0-beta.5 (2017-02-09)

The new default expiry is now LocalStorageExpiry, and StorageInterruptSource has been added to the default module providers. This in effect makes idle coordination between tabs the new default (rather than SimpleExpiry). This makes the defaults more like the original ng-idle. You can of course override the IdleExpiry provider and go back to SimpleExpiry or use your own. Special thanks to @rousseaufiliong for porting that functionality.

Features

  • prevent timing out one tab or window if another tab have activity (#33) (3ab086d)

2.0.0-beta.4 (2016-12-02)

License

  • LICENSE change license to Apache-2.0 (f8caa10)

2.0.0-beta.3 (2016-11-21)

Features

2.0.0-beta.2 (2016-11-15)

Bug Fixes

  • core, keepalive: emit helpers for es5 compatibility (ed30b6b)

2.0.0-beta.1 (2016-11-14)

Code Refactoring

Features

  • keepalive: merge ng2-idle-keepalive into @ng-idle/keepalive (7702d9d)

BREAKING CHANGES

  • keepalive: Modules have been changed from Ng2IdleModule and Ng2IdleKeepaliveModule to NgIdleModule and NgIdleKeepaliveModule, respectively. Additionally, keepalive imports should now be @ng-idle/keepalive.
  • core: This repository has been refactored to follow the @angular model of modularization so that it can be maintained more easily. You will need to change your import statements from 'ng2-idle' to '@ng-idle/core'.

1.0.0-alpha.18 (2016-11-04)

Features

BREAKING CHANGES

This change removes the core.ts. Instead, you should create an app module using NgModule and import the new Ng2IdleModule.

  • Change any import ... from 'ng2-idle/core'; to import ... from 'ng2-idle';
  • Create an AppModule using NgModule if you haven't already. NgModule was added in Angular2 RC.5
  • Use Ng2Module.forRoot() in your app module's imports declaration.

Example:

app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { Ng2IdleModule } from 'ng2-idle';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    Ng2IdleModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

app.component.ts

import { Component } from '@angular/core';

import {Idle, DEFAULT_INTERRUPTSOURCES} from 'ng2-idle';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  constructor(private idle: Idle) {
    // initialize idle here.
  }
}

1.0.0-alpha.17 (2016-11-02)

Chores

  • deps: relax angular dependencies to minor version

1.0.0-alpha.16 (2016-09-19)

Chores

  • deps: update to angular@2.0.0

1.0.0-alpha.15 (2016-08-23)

Bug Fixes

  • release:: incorrect publishing

1.0.0-alpha.14 (2016-08-23)

DEPRECATED

Chores

  • deps: update to angular 2.0.0-rc.5

1.0.0-alpha.13 (2016-06-30)

Chores

  • deps: update to angular 2.0.0-rc.4

1.0.0-alpha.12 (2016-06-22)

Update to Angular 2.0.0-rc.3

1.0.0-alpha.11 (2016-05-09)

BREAKING CHANGES

This release targets Angular2 RC.1. Angular2 RC.0 introduced breaking changes to how Angular is packaged. You will need to upgrade your application to RC.0 or later for this version of ng2-idle to work.

1.0.0-alpha.10 (2016-04-06)

Bug Fixes

  • Idle: do not pause interrupts when idle (d8d600d), closes #4 #5

1.0.0-alpha.9 (2016-03-25)

Bug Fixes

  • typings: add ambient dev dependencies for es6-shim (1a6fe2a)

1.0.0-alpha.8 (2016-03-25)

Bug Fixes

  • dependencies: update to target Angular 2.0.0-beta.12 (37bf7ad)

1.0.0-alpha.7 (2016-02-24)

Features

  • EventTargetInterruptSource: target events can be throttled over a specified duration (174d2d0)

Performance Improvements

  • Idle: interrupts are detached when state is idle or not running (e0b2a1e)

1.0.0-alpha.6 (2016-02-16)

Features

  • IdleExpiry: add extensible timeout expiry support (31be875)

1.0.0-alpha.5 (2016-02-16)

Bug Fixes

  • Idle: immediately ping and resume keepalive upon interrupting idle state (62b47b2)

1.0.0-alpha.4 (2016-02-16)

Bug Fixes

  • EventTargetInterruptSource: subscribing to multiple events separated by space no longer breaks (c552d07)
  • Idle: setKeepaliveEnabled(false) no longer stops keepalive (050a590)

1.0.0-alpha.3 (2016-02-16)

Bug Fixes

  • Build: exclude postinstall task when installing production (1db53ca)

1.0.0-alpha.2 (2016-02-16)

Features

  • Keepalive: implements optional keepalive integration (5a727dd)

1.0.0-alpha.1 (2016-02-11)

Features

  • Idle: add service with basic features (6db5d50)