Hey all,
OOjs UI 0.13.0 was released last week. It will be in MW from 1.27.0-wmf.5+,
which will be deployed to production in the regular train starting
tomorrow. As there are a couple of nominal breaking changes and a
deprecation, please look carefully over them to determine if they affect
your code.
*Breaking changes since last release:*
- [BREAKING CHANGE] Remove aliases for OO.ui.mixins (C. Scott Ananian)
We deprecated the old names of the mixins system in v0.11.4 in June,
when we adopted the new naming system. We believe we have remedied all
known users of the deprecated code (VisualEditor, Echo, Flow,
MobileFrontend, Graph and Citoid all have had changes made to compensate).
- [BREAKING CHANGE] Turn Element#gatherPreInfuseState into a static
method (Bartosz DziewoĆski)
This is a nominal breaking change; there are no known users of this
feature, which we are improving for performance, cleanliness and usability;
expect more soon.
*Deprecating change since last release:*
- [DEPRECATING CHANGE] SelectFileWidget: Rename dragDropUI option to
showDropTarget (Ed Sanders)
We renamed the option `dragDropUI`, a boolean which controlled whether
the SelectFileWidget would display a drag-and-drop target UI element,
has been renamed to `showDropTarget`. The old option name still works
for now, but will be removed in v0.15.0.
- [DEPRECATING CHANGE] TextInputWidget: Add getValidity function,
deprecate isValid (Prateek Saxena)
Despite the naming of this function, it returned a Promise, not a
boolean. The new getValidity function works better and is named sanely.
The isValid() function still works for now, but will be removed in v0.15.0.
Additional details are in the full change log
<https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.13.0>
. This is the first breaking change since v0.12.0 was released in July;
since then there have been 252 code changes to the library by 22
developers; my thanks to all of them. If you have any further questions or
need help dealing with deprecations, please let me know. As always, general
library documentation is available at <http://goog_969668313/>mediawiki.org
<https://www.mediawiki.org/wiki/OOjs_UI> and generated code-level documentation
and interactive demos at
doc.mediawiki.org
<https://doc.wikimedia.org/oojs-ui/master/#!/api>.
Yours,
--
James D. Forrester
Lead Product Manager, Editing
Wikimedia Foundation, Inc.
jforrester(a)wikimedia.org | @jdforrester