From 0ded0112c7d11b65acdc56f2cba66b393e4f7462 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 17 May 2024 09:42:14 +1200 Subject: [PATCH] DOC Deprecate passing non-array $field argument --- en/08_Changelogs/5.3.0.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/en/08_Changelogs/5.3.0.md b/en/08_Changelogs/5.3.0.md index 65fc881bd..774648ca5 100644 --- a/en/08_Changelogs/5.3.0.md +++ b/en/08_Changelogs/5.3.0.md @@ -68,6 +68,10 @@ This is particularly helpful if you need to update columns in one table to match - `silverstripe/graphql-devtools` contains a new `GraphQLSchemaInitTask` to help you initialise a basic GraphQL schema. - [`GridFieldDetailForm_ItemRequest`](api:SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest) now uses a [`PjaxResponseNegotiator`](api:SilverStripe\Control\PjaxResponseNegotiator) to handle PJAX responses for the save and publish actions. This aligns it with responses from other form submissions in the CMS. +## API changes + +Passing a non-array `$fields` argument to both [`FieldList::addFieldsToTab()`](api:SilverStripe\Forms\FieldList::addFieldsToTab()) and [`FieldList::removeFieldsFromTab()`](api:SilverStripe\Forms\FieldList::removeFieldsFromTab()) has been deprecated. + ## Bug fixes This release includes a number of bug fixes to improve a broad range of areas. Check the change logs for full details of these fixes split by module. Thank you to the community members that helped contribute these fixes as part of the release!