OOjs UI 0.8.0 has been released today. It will be in MW from 1.25wmf19+.

*Breaking changes since last release:*


   - [BREAKING CHANGE] Make default distribution provide SVG with PNG
   fallback (Bartosz Dziewoński)

We've tagged this as a breaking change, but the only breakage is renaming
the stylesheet files. This will only "break" for systems which are
responsible for importing the library. This is fixed for MediaWiki and
for VisualEditor
standalone; no other users should be affected.

As part of this change, from MediaWiki 1.25wmf19 onwards, OOjs UI will
provide raster icon fallbacks for the vector icons, which we were
previously not using.


*Deprecations since last major release:*

   - DEPRECATION: TextInputWidget: Deprecate 'icon' and 'indicator' events
   (Bartosz Dziewoński)

The functionality they expose (user clicking on the icon/indicator) is
fundamentally not accessible: the icon/indicator is not focusable (has no
tabindex), has no keyboard events, doesn't have a label associated or a
tooltip, and has no sensible way of fixing all of this. If something needs
to be clickable separately, it should probably be a separate Widget with
the appropriate mixins added.


   - DEPRECATION: ButtonWidget: Rename nofollow config option to noFollow (C.
   Scott Ananian)

We're switching this feature (added just last release) to use consistent
camel case. The old `nofollow` property still works for backward
compatibility, but it is deprecated and will be removed in the next major
release but one.


If you have any further questions or need help dealing with
deprecations, please
let me know. General library documentation is available at mediawiki.org
<https://www.mediawiki.org/wiki/OOjs_UI> and generated code-level
documentation at doc.mediawiki.org
<https://doc.wikimedia.org/oojs-ui/master/#!/api>.

- Trevor
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to