1- 0.6.0 / 199X 
2- ============ 
1+ 0.6.0 / 2014-05-07 
2+ ==================  
33
44Breaking Changes
55---------------- 
66
77* Renamed ``form.isBound `` to ``form.isInitialRender ``, which more accurately
88  reflects usage of this property (it was always being used in Forms as
99  ``!isBound ``)
10- * Changed ``setData() `` to no longer accept prefixed data by default. Added a 
11-   ``prefixed `` option argument which controls this. This makes `` setData() `` 
12-   more user-friendly for use with controlled forms, to update what's displayed 
13-   in them .
10+ * Changed ``form. setData()
11+   Added a  ``prefixed `` option argument which controls this and a new 
12+   `` setFormData() `` method which replicates the old behaviour. This makes 
13+   `` setData() `` more user-friendly for use with controlled forms .
1414
1515New Features
1616------------ 
1717
1818* Added per-field validation as the user makes changes to the form, configured
19-   by passing a ``validation `` argument  when constructing a Form  or Field .
19+   by passing a ``validation `` option  when constructing a Form, Field  or FormSet .
2020* Added toggling of creation of controlled React components, configured by
21-   passing a ``controlled `` argument  when constructing a Form. When using 
22-   controlled components, form widgets reflect the state of ``form.data ``, so you 
23-   can change what's displayed in the form by updating its data.
24- * Added calling of an  ``onStateChange() `` callback -- passed as an argument when 
25-   constructing a Form -- any time validation state may have changed as a result 
26-   of calling `` setData() `` or `` updateData() ``, or  as a result of validation 
27-   triggered by user interaction. This option becomes required when using 
28-   interactive  validation or controlled components .
21+   passing a ``controlled `` option  when constructing a Form or FormSet . When
22+   using   controlled components, form widgets reflect the state of ``form.data ``,
23+   so you  can change what's displayed in the form by updating its data.
24+ * Added calling of a ``onStateChange()`` callback when provided  -- passed as an
25+   option when   constructing a Form or FormSet  -- any time validation state may
26+   have changed  as a result of updating user input from controlled components, or 
27+   as a result of validation  triggered by user interaction. This option becomes
28+   required when using `` validation ``  or `` controlled `` options .
2929* Added support for partial updating (``form.updateData(partialData) ``) and
3030  cleaning (``form.partialClean(fieldNames) ``) of data.
3131* Added ``form.reset(newInitial) `` to reset a form back to its initial state,
@@ -37,17 +37,15 @@ New Features
3737  hooking up full-form ``onSubmit `` validation.
3838* Added ``form.isComplete() `` to determine if all required fields have valid
3939  input data when validation is being performed interactively.
40- * Added ``Widget.prototype.needsInitialValue `` to allow Widgets to always
41-   receive the initial value of a field in addition to user input to be rendered.
4240* Added ``.errorMessage() `` and ``.errorMessages() `` to BoundField as a
4341  convenience for accessing error message strings, instead of having to go
4442  through ``.errors() `` and use the ErrorList API.
4543* Added generation of a ``validCssClass `` in default rendering or when using
4644  ``BoundField#cssClasses() `` directly, if present on a form or its prototype.
47- * Added a ``setFormData() `` method to Forms and FormSets for manually setting
48-   prefixed data.
4945* Added a top-level ``validateAll `` utility method equivalent to
5046  ``form.validate() `` but for multiple Forms and/or FormSets.
47+ * Added ``Widget.prototype.needsInitialValue `` to allow Widgets to always
48+   receive the initial value of a field in addition to user input to be rendered.
5149
5250Changes
5351------- 
@@ -57,7 +55,7 @@ Changes
5755  errors being displayed), which makes them lose focus.
5856* Form and FormSet ``cleanedData `` is now always defined regardless of whether
5957  or not any validation has been performed yet -- this makes it safe to check
60-   for data at any time.
58+   for data at any time, particularly in cross-field validation .
6159* Updated to React 0.10 -- there are no library dependencies on new 0.10 features,
6260  but unit tests now make use of its enhanced support for rendering to static
6361  HTML.
0 commit comments