Merge "Update release notes following the refactor of Block"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
index e3c1ac3..8ad17a4 100644 (file)
@@ -158,6 +158,8 @@ because of Phabricator reports.
 * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
 * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
 * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
+* The Block typehint only refers to blocks stored in the database. It should be
+  updated to AbstractBlock in cases where any type of block could be expected.
 * …
 
 === Deprecations in 1.34 ===
@@ -193,6 +195,9 @@ because of Phabricator reports.
 * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
   Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
 * MWMessagePack class, no longer used, has been deprecated in 1.34.
+* The Block class is separated into Block (for blocks stored in the database),
+  and SystemBlock (for temporary blocks created by the system). SystemBlock
+  should be used when creating any temporary blocks.
 
 === Other changes in 1.34 ===
 * …