diff --git a/migrations/54-60/new-deprecations.md b/migrations/54-60/new-deprecations.md index 92eb2659..8d75350c 100644 --- a/migrations/54-60/new-deprecations.md +++ b/migrations/54-60/new-deprecations.md @@ -10,3 +10,20 @@ sidebar_position: 2 All the new deprecations that should be aware of and what you should now be using instead. +# Class deprecations + +Planned to be removed in Joomla! 7.0. + +### postStoreProcess function in TagsHelper + +PR: https://github.com/joomla/joomla-cms/pull/40613 +File: libraries/src/Helper/TagsHelper.php +Description: With the new possibility to batch remove a tag, the `postStoreProcess()` function of class `\Joomla\CMS\Helper\TagsHelper` has been deprecated and will be removed in 7.0. +Replacement: New `postStore()` function which has an additional optional parameter `$remove` (default value is `false`) indicating whether the tags in parameter `$newTags` should be removed. If you set it to `true` then the parameter `$replace` is ignored. + +### batchTag function in AdminModel + +PR: https://github.com/joomla/joomla-cms/pull/40613 +File: libraries/src/MVC/Model/AdminModel.php +Description: With the new possibility to batch remove a tag, the `batchTag` function of class `\Joomla\CMS\MVC\Model\AdminModel` has been deprecated and will be removed in 7.0. +Replacement: New `batchTags` function which has an additional optional parameter `$removeTags` (default value is `false`) indicating whether the tags in parameter `$value` have to be removed. diff --git a/migrations/54-60/new-features.md b/migrations/54-60/new-features.md index ea380ce9..13a08cb5 100644 --- a/migrations/54-60/new-features.md +++ b/migrations/54-60/new-features.md @@ -11,3 +11,6 @@ sidebar_position: 1 All the new features that have been added to this version. Any changes in best practice. +### Batched tag enhancement + +It is now possible to batch remove a tag. PR: https://github.com/joomla/joomla-cms/pull/40613