From 997d257c3b5931656d0225d6a5fb747bda905001 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 9 Jan 2025 14:35:04 +1300 Subject: [PATCH] DOC Document deprecating boolean into Form::loadDataFrom() --- en/08_Changelogs/5.4.0.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/08_Changelogs/5.4.0.md b/en/08_Changelogs/5.4.0.md index 251baaba..6e9ca3dd 100644 --- a/en/08_Changelogs/5.4.0.md +++ b/en/08_Changelogs/5.4.0.md @@ -264,6 +264,7 @@ The `SilverStripe\CMS\Model\SiteTree.DESCRIPTION` localisation key (along with t - [`FlushInvalidatedResource::getResource()`](api:SilverStripe\i18n\Messages\Symfony\FlushInvalidatedResource::getResource()) has been deprecated. It will be removed without equivalent functionality to replace it. - [`Subsite::getMembersByPermission()`](api:SilverStripe\Subsites\Model\Subsite::getMembersByPermission()) has been deprecated. It will be removed without equivalent functionality to replace it. - The `$join` parameter for the [`Subsite::get_from_all_subsites()`](api:SilverStripe\Subsites\Model\Subsite::get_from_all_subsites()) method has been deprecated. Use [leftJoin($table, $joinClause)](api:SilverStripe\ORM\DataList::leftJoin()) instead. +- Passing a boolean value to the `$mergeStrategy` argument in [`Form::loadDataFrom()`](api:Silverstripe\Forms\Form::loadDataFrom()) has been deprecated. Pass [`Form::MERGE_CLEAR_MISSING`](api:Silverstripe\Forms\Form::MERGE_CLEAR_MISSING) instead of `true` and `0` instead of `false`. ## Bug fixes