X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.31;h=21b29cb4d11c7482de654d77d33fc3e0d0ca3cd3;hb=96de342c33b60459ac021ac4cdbf3083f9c77231;hp=39cb4f222b2b7a7ce05315e58546639c05aa1965;hpb=2f70e45c4c5230a91f4b604bef9ee225650f08ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 39cb4f222b..21b29cb4d1 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -86,6 +86,10 @@ production. "1" for manually patrolled and "2" for autopatrolled actions. * Extensions can now set their type to "editor" if they provide an editor or enhance the editing experience. +* Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces" property + in extension.json. See + + for more details and an example. === External library changes in 1.31 === @@ -251,6 +255,10 @@ changes to languages because of Phabricator reports. MWTidy::checkErrors() and its callee TidyDriverBase::validate() are removed, as are MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument(). The $wgValidateAllHtml configuration option is removed and will be ignored. +* Execution of external programs using MediaWiki\Shell\Command now applies RESTRICT_DEFAULT + Firejail restriction by default. +* The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods, + deprecated in 1.26, were removed. === Deprecations in 1.31 === * The Revision class was deprecated in favor of RevisionStore, BlobStore, and @@ -339,6 +347,8 @@ changes to languages because of Phabricator reports. * Wikimedia\Rdbms\SavepointPostgres is deprecated. * The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be used instead. +* The function wfShellWikiCmd() has been deprecated, use + MediaWiki\Shell::makeScriptCommand(). === Other changes in 1.31 === * Browser support for Internet Explorer 10 was lowered from Grade A to Grade C.