Skip to content

Commit 0cacd54

Browse files
committed
docs: change order of features and breaking changes in changelog
1 parent 0e9517f commit 0cacd54

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,6 @@
33
<a name="2.0.0"></a>
44
### 2.0.0
55

6-
#### Breaking Changes
7-
8-
* remove support for last keydown code tracking on form controls (this feature has been superseded by user defined properties which allow associating any kind of metadata with a control)
9-
* rename `groupUpdateReducer` to `createFormGroupReducerWithUpdate` in order to make it clearer that the function itself is not a reducer
10-
* remove erroneously exposed function `createChildState` from public API
11-
* change `option` element `value` bindings to work correctly for all primitive data types thereby removing the need for `ngValue` bindings
12-
* trying to set an error with a key prefixed with `$` will now throw an error since the `$` prefix is used to mark async errors
13-
* applying the `ngrxFormControlState` directive to a form element will now set the element's `id` attribute to the ID of the state (thereby overriding any already present `id`)
14-
* the `isDirty` property for form controls is now not set automatically the first time the state's value changes, but instead it is set manually from the `NgrxFormControlDirective` the first time the underlying `FormViewAdapter` or `ControlValueAccessor` reports a new value; this means if you were e.g. using the `setValue` update function in your reducer before this will now not mark the state as `dirty` anymore
15-
* rename `addControl` update function to `addGroupControl`
16-
* rename `AddControlAction` to `AddGroupControlAction` (also renaming its `type` from `ngrx/forms/ADD_CONTROL` to `ngrx/forms/ADD_GROUP_CONTROL`)
17-
* rename `removeControl` update function to `removeGroupControl`
18-
* rename `RemoveControlAction` to `RemoveGroupControlAction` (also renaming its `type` from `ngrx/forms/REMOVE_CONTROL` to `ngrx/forms/REMOVE_GROUP_CONTROL`)
19-
206
#### Features
217

228
* add support for arrays of form controls ([19d4e49](https://github.com/MrWolfZ/ngrx-forms/commit/19d4e49))
@@ -33,6 +19,20 @@
3319
* added overloads for many update functions that make casting the state unnecessary in certain situations
3420
* added lots of inline comments to the API making it easier to understand what certain functions do right in your IDE
3521

22+
#### Breaking Changes
23+
24+
* remove support for last keydown code tracking on form controls (this feature has been superseded by user defined properties which allow associating any kind of metadata with a control)
25+
* rename `groupUpdateReducer` to `createFormGroupReducerWithUpdate` in order to make it clearer that the function itself is not a reducer
26+
* remove erroneously exposed function `createChildState` from public API
27+
* change `option` element `value` bindings to work correctly for all primitive data types thereby removing the need for `ngValue` bindings
28+
* trying to set an error with a key prefixed with `$` will now throw an error since the `$` prefix is used to mark async errors
29+
* applying the `ngrxFormControlState` directive to a form element will now set the element's `id` attribute to the ID of the state (thereby overriding any already present `id`)
30+
* the `isDirty` property for form controls is now not set automatically the first time the state's value changes, but instead it is set manually from the `NgrxFormControlDirective` the first time the underlying `FormViewAdapter` or `ControlValueAccessor` reports a new value; this means if you were e.g. using the `setValue` update function in your reducer before this will now not mark the state as `dirty` anymore
31+
* rename `addControl` update function to `addGroupControl`
32+
* rename `AddControlAction` to `AddGroupControlAction` (also renaming its `type` from `ngrx/forms/ADD_CONTROL` to `ngrx/forms/ADD_GROUP_CONTROL`)
33+
* rename `removeControl` update function to `removeGroupControl`
34+
* rename `RemoveControlAction` to `RemoveGroupControlAction` (also renaming its `type` from `ngrx/forms/REMOVE_CONTROL` to `ngrx/forms/REMOVE_GROUP_CONTROL`)
35+
3636
#### Bugfixes
3737

3838
* fix issue that caused bundled library to be larger than required due to external dependencies being included in the bundle (drastically reducing its size)

0 commit comments

Comments
 (0)