From b450bad0cdda3638bfd17c55eaebe318ca05d22f Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 8 Jun 2023 12:38:42 +1200 Subject: [PATCH] DOC BuildTask is_enabled config --- en/04_Changelogs/5.1.0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/en/04_Changelogs/5.1.0.md b/en/04_Changelogs/5.1.0.md index a41200a76..8f62aec79 100644 --- a/en/04_Changelogs/5.1.0.md +++ b/en/04_Changelogs/5.1.0.md @@ -8,6 +8,7 @@ title: 5.1.0 (unreleased) - [Features and enhancements](#features-and-enhancements) - [Other new features](#other-features) +- [API changes](#api-changes) - [Bug fixes](#bug-fixes) ## Features and enhancements @@ -19,6 +20,10 @@ title: 5.1.0 (unreleased) - The [`i18nTextCollector`](api:SilverStripe\i18n\TextCollection\i18nTextCollector) now collects strings for ORM properties (e.g. `$db` fields) in `DataObject` and `Extension` classes, and from themes. See [i18n - collecting text](/developer_guides/i18n/#collecting-text) for more details. - Extensions which modify permissions for [`Group`](api:SilverStripe\Security\Group) records which return `true` will be respected, the same as when modifying permissions for any other `DataObject` record. +## API changes + +- [`BuildTask`](api:SilverStripe\Dev\BuildTask) now has boolean `is_enabled` configuration option which has precedence over the existing `BuildTask::enabled` protected class property. The `BuildTask::enabled` property has been marked as deprecated and will be removed in CMS 6 if favour of using `is_enabled` instead. + ## Bug fixes - [`DataList::filterAny()`](api:SilverStripe\ORM\DataList::filterAny()) queries on many-many relations that use an aggregate `HAVING` clause now correctly use an `OR` conjunction rather than an incorrect `AND` conjunction.