|
1 | 1 | ## Changes |
2 | 2 |
|
3 | 3 | - 2.2 |
4 | | - * Improve: Handle detached buttons separately when rendering form collections. This allows to use |
5 | | - detached buttons inside collections with siblings. |
| 4 | + * Improve: Handle detached buttons separately when rendering form collections. This allows the use |
| 5 | + of detached buttons inside collections with siblings. |
| 6 | + * **Pending breaking change**: In classes inheriting from a `FormCollection` with siblings, the |
| 7 | + attribute `add_label` is deprecated in favor of `induce_add_sibling` and its corresponding |
| 8 | + activator field. This gives developers the freedom where to place and how to style the buttons |
| 9 | + used to add siblings. |
| 10 | + * **Pending breaking change**: In classes inheriting from a `FormCollection` with siblings, method |
| 11 | + `retrieve_instance` is replaced against `get_or_create_instance`. The latter now also returns a |
| 12 | + Boolean value when an instance was created which is stored as `created` inside the valid holders |
| 13 | + of a collection. This allows developers to distinguish between existing instances and newly |
| 14 | + created ones, when preparing the response. |
6 | 15 | * Each time a formset is submitted, an `extra_data` object is added to the request payload. This |
7 | 16 | can be used to pass arbitrary data to the submission. If partial submissions are used, the new |
8 | | - button action `addExtraData` can be used to add response data to this object. |
9 | | - * Feat: Add attribute `reverse_accessor` on FormCollection. This allows to specify the reverse |
10 | | - accessor name of a `ForeignKey` relation used in collections. |
11 | | - * Fix: Detached buttons use prefixed path for name attributes. |
| 17 | + button action `setExtraData` can be used to add response data to this object. |
| 18 | + * Feat: Add attribute `reverse_accessor` on FormCollection. This allows developers to specify the |
| 19 | + reverse accessor name of a `ForeignKey` relation used in collections. |
| 20 | + * Fix: Detached buttons use the prefixed path for name attributes. |
| 21 | + * Fix: The backend implementation of the `RichtextArea` widget now validates the length of |
| 22 | + submitted text ignoring all HTML tags. This emulates the behaviour of its frontend counterpart. |
12 | 23 | * If any of the forms to be submitted partially does not validate, then report that form and do |
13 | 24 | not send any data to the server. This action can be bypassed by setting `force-submission`. |
14 | | - * Add a hook, so that dialogs and stepper-steps are forced to become visible when reporting |
15 | | - the validity and their forms contain invalid fields. |
| 25 | + * Add hook, so that dialogs and stepper-steps are forced to become visible when reporting the |
| 26 | + validity and their forms contain invalid fields. |
| 27 | + * Fix: Widgets observing an `UploadedFileInput` now handle attributes `df-require`, `df-disable`, |
| 28 | + `df-show` and `df-hide` as expected. |
| 29 | + * Feat: Button action `setFieldValue()` now can update a complete datastructure of field values |
| 30 | + inside `formset_data`. Until version 2.1 it only was possible to update scalar values. |
| 31 | + * Fix: The `Selectize` widget now correctly pilfers the height of its original widget, even if |
| 32 | + style attribute is set `height: auto;`. |
| 33 | + * The initial values specified in an `Activator` field now is rendered as `value="…"` inside its |
| 34 | + associated `Button` widget. |
| 35 | + * Fix #244: Multiple widgets of type `RichtextArea` can use the same dialog form inheriting from |
| 36 | + `RichtextDialogForm`. |
| 37 | + * Add support for Django-6.0 and drop support for Django-5.0. |
16 | 38 |
|
17 | 39 | - 2.1.4 |
18 | 40 | * Fix: In `StepperCollection` only immediate children are considered as `StepperSteps`. This |
|
0 commit comments