X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=247f48eb37d1930e54bf0b01de9aa228f3eda1f2;hb=4b9ff27122ef8aaa23eaf7ba84ba66ad43b22d81;hp=46e85faebb36e41bfc0ededd10fac03b1761ef7a;hpb=908e46028aeac08379da82648e4d4a7198445c76;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 46e85faebb..247f48eb37 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -39,7 +39,8 @@ For notes on 1.33.x and older releases, see HISTORY. * … === New developer features in 1.34 === -* … +* Language::formatTimePeriod now supports the new 'avoidhours' option to output + strings like "5 days ago" instead of "5 days 13 hours ago". === External library changes in 1.34 === @@ -49,13 +50,20 @@ For notes on 1.33.x and older releases, see HISTORY. ==== Changed external libraries ==== * Updated Mustache from 1.0.0 to v3.0.1. * Updated OOUI from v0.31.3 to v0.31.5. +* Updated composer/semver from 1.4.2 to 1.5.0. +* Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only). +* Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only). +* Updated cssjanus/cssjanus from 1.2.1 to 1.3.0. * … ==== Removed external libraries ==== * … === Bug fixes in 1.34 === -* … +* (T222529) If a log entry or page revision is recorded in the database with an + empty username, attempting to display it will log an error and return a "no + username available" to the user instead of silently displaying nothing or + invalid links. === Action API changes in 1.34 === * The 'recenteditcount' response property from action=query list=allusers, @@ -109,14 +117,50 @@ because of Phabricator reports. * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been removed. * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed. +* Method signatures in WatchedItemQueryServiceExtension have changed from taking + User objects to taking UserIdentity objects. Extensions implementing this + interface need to be changed accordingly. * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been removed. Use UserGroupMembership::getGroupPage and ::getLink instead. * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use UserGroupMembership::getLink() instead. +* SavepointPostgres, deprecated in 1.31, has been removed. +* Output::sectionEditLinksEnabled(), ParserOutput::getEditSectionTokens, + ::getTOCEnabled, ::setEditSectionTokens, ::setTOCEnabled, deprecated in 1.31, + have been removed. +* EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30, + have been removed. +* Four methods in OutputPage, deprecated in 1.32, have been removed. You should + use OutputPage::showFatalError or throw a FatalError instead. The methods are + ::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and + ::showFileNotFoundError(). +* ApiBase::truncateArray(), deprecated in 1.32, has been removed. +* IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's + INTL_ICU_VERSION constant directly. +* HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed. +* ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(), + both deprecated in 1.32, have been removed. +* BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have + been removed. Use ->msg() or ->getMsg() instead. +* WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead, + use WatchAction::getWatchToken() with action 'unwatch' directly. +* Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in + 1.28, have been removed. +* PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(), + deprecated in 1.32, have been removed. +* OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated + in 1.33, have been removed. +* User::getPasswordValidity(), deprecated in 1.33, has been removed. +* ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been + removed. +* ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed. +* 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. * … === Deprecations in 1.34 === -* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo. +* The MWNamespace class is deprecated. Use NamespaceInfo. * ExtensionRegistry->load() is deprecated, as it breaks dependency checking. Instead, use ->queue(). * User::isBlocked() is deprecated since it does not tell you if the user is @@ -131,6 +175,23 @@ because of Phabricator reports. * WatchedItem::getUser is deprecated. Use getUserIdentity. * Passing a Title as the first parameter to the getTimestampById method of RevisionStore is deprecated. Omit it, passing only the remaining parameters. +* Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use + RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision. +* The Title parameter to RevisionLookup::getPreviousRevision and + RevisionLookup::getNextRevision is deprecated and should be omitted. +* MWHttpRequest::factory is deprecated. Use HttpRequestFactory. +* The Http class is deprecated. For the request, get, and post methods, use + HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For + getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a + MultiHttpClient directly. +* Http::$httpEngine is deprecated and has no replacement. The default 'guzzle' + engine will eventually be made the only engine for HTTP requests. +* RepoGroup::singleton(), RepoGroup::destroySingleton(), + RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all + deprecated. Use MediaWikiServices instead. +* 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. === Other changes in 1.34 === * …