Skip to content

Commit

Permalink
chore(release): release 1.0.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicanac committed Oct 31, 2019
1 parent 2599870 commit dc7ed0c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
<a name="1.0.0-rc.0"></a>
# [1.0.0-rc.0](https://github.com/NationalBankBelgium/ngx-form-errors/compare/1.0.0-beta.1...1.0.0-rc.0) (2019-10-31)


### Bug Fixes

* **directive:** fetch correctly the form control's validation errors when it is already invalid before the directive is instantiated ([3177f9c](https://github.com/NationalBankBelgium/ngx-form-errors/commit/3177f9c)), closes [#28](https://github.com/NationalBankBelgium/ngx-form-errors/issues/28)


### Features

* **build:** update ng-packagr to the latest version and adapt the 'build' script to use the NG CLI 'ng build' command instead ([cffde40](https://github.com/NationalBankBelgium/ngx-form-errors/commit/cffde40))
* **service:** adapt demo to show the new feature about defining messages for specific form controls ([4c7f88b](https://github.com/NationalBankBelgium/ngx-form-errors/commit/4c7f88b))
* **service:** add support for defining/finding error messages for a specific formControl name ([8ed80cb](https://github.com/NationalBankBelgium/ngx-form-errors/commit/8ed80cb)), closes [#19](https://github.com/NationalBankBelgium/ngx-form-errors/issues/19)


### BREAKING CHANGES

* **service:** renamed `getErrorMessage` method in `NgxFormErrorsMessageService` to `findErrorMessage` which is more descriptive according to the actual functionality of this method.



<a name="1.0.0-beta.1"></a>
# [1.0.0-beta.1](https://github.com/NationalBankBelgium/ngx-form-errors/compare/1.0.0-beta.0...1.0.0-beta.1) (2019-02-01)

Expand All @@ -21,7 +43,7 @@

* **all:** removed/renamed some methods and properties:

- removed isValid() from NgxFormErrorsDirective. Use hasErrors() instead.
- removed isValid() from NgxFormErrorsDirective.
- renamed getMessageForError to getErrorMessage in NgxFormErrorsMessageService.
- renamed fieldName to formControlName in NgxFormFieldError.

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nationalbankbelgium/ngx-form-errors",
"version": "1.0.0-beta.1",
"version": "1.0.0-rc.0",
"description": "Display validation errors for Angular Reactive forms",
"author": "Stark Team <National Bank of Belgium>",
"contributors": [
Expand Down

0 comments on commit dc7ed0c

Please sign in to comment.