diff --git a/src/docs/releases/1.9.0.md b/src/docs/releases/1.9.0.md index a7b8c2f5a38..27a408e0971 100644 --- a/src/docs/releases/1.9.0.md +++ b/src/docs/releases/1.9.0.md @@ -204,6 +204,28 @@ In the past, we utilized the injection of `ISmsProvider` for sending SMS message Additionally, `Twilio` provider is no longer enabled by default. If you want to use Twilio SMS provider, you must enable the provider by visiting the email settings `Configuration` > `Settings` > `Email` and see the `Twilio` tab. +### Display Management + +In this release, the signatures of the `UpdateAsync()` method within the `SectionDisplayDriver` base class have undergone modifications. Previously, these signatures accepted the `BuildEditorContext` parameter. However, with this update, all signatures now require the `UpdateEditorContext` instead. This alteration necessitates that every driver inheriting from this class adjusts their contexts accordingly. + +Here are the updated signatures: + +1. **From:** + `Task UpdateAsync(TModel model, TSection section, IUpdateModel updater, BuildEditorContext context)` + **To:** + `Task UpdateAsync(TModel model, TSection section, IUpdateModel updater, UpdateEditorContext context)` + +2. **From:** + `Task UpdateAsync(TSection section, IUpdateModel updater, BuildEditorContext context)` + **To:** + `Task UpdateAsync(TSection section, IUpdateModel updater, UpdateEditorContext context)` + +3. **From:** + `Task UpdateAsync(TSection section, BuildEditorContext context)` + **To:** + `Task UpdateAsync(TSection section, UpdateEditorContext context)` + +These adjustments ensure compatibility and adherence to the latest conventions within the `SectionDisplayDriver` class. ## Change Logs @@ -353,3 +375,4 @@ Enhanced functionality has been implemented, giving developers the ability to co ```csharp services.Configure(options => options.TokenLifespan = TimeSpan.FromDays(7)); ``` + \ No newline at end of file