Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 618b4cb

Browse files
chore: update changelog (#7)
* feat: v2 * feat: 🎸 new config options * chore(release): 2.1.0 * chore(release): 2.1.1 * chore: update changelog
1 parent 53093bd commit 618b4cb

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## 2.0.0 (2020-12-06)
6+
7+
### Features
8+
9+
- You can specify to show errors when input is dirty, touched, dirty and touched or when form is submitted.
10+
- You can now access error details in the template
11+
12+
### Breaking Changes
13+
14+
- 🎸 new config options. The config file now has different signature.
15+
16+
```ts
17+
export interface IErrorsConfiguration {
18+
showErrorsWhenInput: ShowErrorWhen;
19+
}
20+
21+
export type ShowErrorWhen =
22+
| 'touched'
23+
| 'dirty'
24+
| 'touchedAndDirty'
25+
| 'formIsSubmitted';
26+
```
27+
28+
### Bug Fixes
29+
30+
- 🐛 headless test not working ([d73f689](https://github.com/ngspot/ngx-errors/commit/d73f689d6010b3c728167d24a815b1ea7fe7255c))
31+
532
## 1.0.1 (2020-04-13)
633

734
### Bug Fixes

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@ngspot/ngx-errors-package",
33
"version": "0.0.0",
4+
"description": "Handle error messages in Angular forms with ease",
45
"scripts": {
56
"ng": "ng",
67
"start": "ng serve",
@@ -87,5 +88,6 @@
8788
"*.{js,json,css,scss,ts,html,component.html}": [
8889
"prettier --write"
8990
]
90-
}
91+
},
92+
"license": "MIT"
9193
}

projects/ngx-errors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ngspot/ngx-errors",
33
"version": "2.0.0",
4-
"description": "",
4+
"description": "Handle error messages in Angular forms with ease",
55
"peerDependencies": {
66
"@angular/core": "^9.0.0",
77
"tslib": "^1.10.0"

0 commit comments

Comments
 (0)