resourceloader: Allow modules to be registered via a factory callback
[lhc/web/wiklou.git] / RELEASE-NOTES-1.30
index fbe23ab..03ae7c2 100644 (file)
@@ -17,6 +17,9 @@ production.
   This is intended for extensions that want control
   over the instantiation of their jobs,
   to allow for proper dependency injection.
+* $wgResourceModules may now specify callback functions as an alternative
+  to plain class names, using the 'factory' key in the module description
+  array. This allows dependency injection to be used for ResourceLoader modules.
 
 === New features in 1.30 ===
 * (T37247) Output from Parser::parse() will now be wrapped in a div with