diff --git a/src/docs/releases/2.0.0.md b/src/docs/releases/2.0.0.md index a3452087d71..6316ee5ac5b 100644 --- a/src/docs/releases/2.0.0.md +++ b/src/docs/releases/2.0.0.md @@ -1042,7 +1042,7 @@ and removed the following methods: A new `SiteDisplayDriver` base class was introduced to simplify the process of adding a UI settings. - !!! note +!!! note With the new `SiteDisplayDriver` base class for custom settings, you no longer need explicit checks like `context.GroupId.Equals(GroupId, StringComparison.OrdinalIgnoreCase)` as the base class handles this check for you. A new extension has been introduced to simplify the registration of site setting drivers. Instead of using `service.AddScoped, CustomSettingsDisplayDriver>()`, you can now register it with the more streamlined `service.AddSiteDisplayDriver()`.