Skip to content

Commit

Permalink
feat(version)
Browse files Browse the repository at this point in the history
- The library's Angular dependencies have been pinned to a minimum
version of
4.0.0 for common, compiler, and core.
- The library has been recompiled against the 4.0.1 version of the Ahead
of
Time Angular compiler, resulting in smaller bundled UMD files.  This
allows for faster downloading and bootstrapping of the library. Closes
#106.
- Center-positioned postionClasses now properly align in the middle of
the page. Closes #104.
  • Loading branch information
Stabzs committed Mar 30, 2017
1 parent f8b6868 commit f28be9e
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 28 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 3.0.0 (2017-3-30)
### BREAKING CHANGES
* **angular2-toaster:** The library's Angular dependencies have been pinned to a minimum version of
4.0.0 for common, compiler, and core.

### Features
* **angular2-toaster:** The library has been recompiled against the 4.0.1 version of the Ahead of
Time Angular compiler, resulting in smaller bundled UMD files. This allows for faster downloading
and bootstrapping of the library.
Closes [#106](https://github.com/Stabzs/Angular2-Toaster/issues/106).

### Bug Fixes
* **toaster.css:** Center-positioned postionClasses now properly align in the middle of the page.
Closes [#104](https://github.com/Stabzs/Angular2-Toaster/issues/104).


# 2.0.0 (2016-12-21)
### BREAKING CHANGES
* **angular2-toaster:** The library has been converted to a UMD Format to mirror @angular packages
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ largely based off of [AngularJS-Toaster](https://github.com/jirikavi/AngularJS-T
[![npm](https://img.shields.io/npm/v/angular2-toaster.svg?maxAge=3600)](https://www.npmjs.com/package/angular2-toaster)
[![npm](https://img.shields.io/npm/dt/angular2-toaster.svg)](https://www.npmjs.com/package/angular2-toaster)
[![Build Status](https://travis-ci.org/Stabzs/Angular2-Toaster.svg?branch=master)](https://travis-ci.org/Stabzs/Angular2-Toaster)
[![Coverage Status](https://coveralls.io/repos/github/Stabzs/Angular2-Toaster/badge.svg?branch=master&b=2.0.0)](https://coveralls.io/github/Stabzs/Angular2-Toaster?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Stabzs/Angular2-Toaster/badge.svg?branch=master&b=3.0.0)](https://coveralls.io/github/Stabzs/Angular2-Toaster?branch=master)


# Demo
A dynamic Angular2 and Typescript demo can be found at
A dynamic Angular and Typescript demo can be found at
[this plunker](http://plnkr.co/edit/hkENUhos6q9fhiOHprXO?p=preview).


Expand Down
53 changes: 28 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-toaster",
"version": "2.0.0",
"version": "3.0.0",
"description": "An Angular 2 Toaster Notification library based on AngularJS-Toaster",
"main": "bundles/angular2-toaster.umd.js",
"module": "angular2-toaster.js",
Expand All @@ -17,7 +17,9 @@
"keywords": [
"angular",
"angular2",
"angular4",
"angularjs-toaster",
"angular-toaster",
"angular2-toaster",
"toast",
"toaster",
Expand All @@ -34,47 +36,48 @@
"url": "https://github.com/stabzs/Angular2-Toaster/issues"
},
"peerDependencies": {
"@angular/common": "^2.0.0",
"@angular/compiler": "^2.0.0",
"@angular/core": "^2.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"rxjs": "^5.0.0-beta.11"
},
"devDependencies": {
"@angular/common": "2.4.0",
"@angular/compiler": "2.4.0",
"@angular/core": "2.4.0",
"@angular/platform-browser": "2.4.0",
"@angular/platform-browser-dynamic": "2.4.0",
"@angular/compiler-cli": "2.4.0",
"@angular/platform-server": "2.4.0",
"rxjs": "5.0.1",
"@types/jasmine": "2.5.38",
"@types/node": "6.0.46",
"awesome-typescript-loader": "2.2.4",
"@angular/animations": "4.0.1",
"@angular/common": "4.0.1",
"@angular/compiler": "4.0.1",
"@angular/compiler-cli": "4.0.1",
"@angular/core": "4.0.1",
"@angular/platform-browser": "4.0.1",
"@angular/platform-browser-dynamic": "4.0.1",
"@angular/platform-server": "4.0.1",
"rxjs": "5.2.0",
"@types/jasmine": "2.5.47",
"@types/node": "7.0.12",
"awesome-typescript-loader": "3.1.2",
"core-js": "2.4.1",
"coveralls": "2.11.14",
"cpx": "1.5.0",
"http-server": "0.9.0",
"istanbul-instrumenter-loader": "1.1.0",
"jasmine-core": "2.5.2",
"karma": "1.3.0",
"karma": "1.5.0",
"karma-chrome-launcher": "2.0.0",
"karma-coverage": "1.1.1",
"karma-jasmine": "1.0.2",
"karma-mocha-reporter": "^2.1.0",
"karma-remap-coverage": "~0.1.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0",
"reflect-metadata": "0.1.8",
"karma-webpack": "2.0.3",
"reflect-metadata": "0.1.10",
"remap-istanbul": "0.8.3",
"rimraf": "2.5.4",
"rollup": "0.37.0",
"source-map-loader": "0.1.5",
"rollup": "0.41.6",
"source-map-loader": "0.2.0",
"ts-helpers": "1.1.2",
"typescript": "2.0.10",
"typings": "1.4.0",
"uglify-js": "2.7.5",
"webpack": "2.1.0-beta.27",
"zone.js": "0.7.4"
"typescript": "2.2.2",
"typings": "2.1.0",
"uglify-js": "2.8.18",
"webpack": "2.3.2",
"zone.js": "0.8.5"
}
}
2 changes: 1 addition & 1 deletion src/toaster-container.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Component, NgModule} from '@angular/core';
import {TestBed} from '@angular/core/testing';
import {ComponentFixture} from '@angular/core/testing/component_fixture';
import {ComponentFixture} from '@angular/core/testing';

import {Toast, ClickHandler} from './toast';
import {ToasterService} from './toaster.service';
Expand Down

0 comments on commit f28be9e

Please sign in to comment.