Skip to content

Commit

Permalink
Bump to v1.1.1 and update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rnadler committed Mar 1, 2017
1 parent 622b709 commit 1743a28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ This an Angular 2 implementation of [AngularJS Directive to test the strength of

`npm install ng2-password-strength-bar --save`

#### 1.1.0 Version Update Note
#### 1.1.x Version Update Note

If you upgrade from v1.0.x to v1.1.x you will need to change the import from PasswordStrengthBar to **PasswordStrengthBarModule**. The module needs to be added to the **imports** section of the @NgModule metadata instead of the declarations.
If you upgrade from v1.0.x to v1.1.x you will need to change the **PasswordStrengthBar** import. There are two options:
1. Change to **PasswordStrengthBarModule** and add this to the **imports** section of the @NgModule metadata instead of the declarations (shown below), or
2. Change to **PasswordStrengthBarComponent** and update the name in the **declarations** section to match.

## Using the Component
### Add Component to Module imports
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng2-password-strength-bar",
"version": "1.1.0",
"version": "1.1.1",
"description": "Angular 2 Password Strength Bar",
"scripts": {
"start": "npm run build && concurrently \"tsc -w\" \"lite-server\" ",
Expand Down

0 comments on commit 1743a28

Please sign in to comment.