Hey all,

OOjs UI 0.10.0 was released on Wednesday. It will be in MW from 1.26wmf4+.
As there are several breaking changes, please look carefully over them to
determine if they affect your code.

Breaking changes since last release:

   - [BREAKING CHANGE] ButtonWidget: remove deprecated nofollow option
   alias (C. Scott Ananian)

This was deprecated in v0.8.0, at which point it was already unused as far
as we are aware. The real config option, "noFollow" (with a capital 'F')
continues to work as before.


   - [BREAKING CHANGE] Convert ToggleWidget from a mixin to an abstract
   class (Bartosz Dziewoński)

This is only technically a breaking change; the interface and behaviour of
the widgets built on top of ToggleWidget are unchanged.


   - [BREAKING CHANGE] MenuLayout: Reimplement without inline styles
   (Bartosz Dziewoński)

Menu size can be set using CSS now. MenuLayout's CSS will override the
appropriate values with 'auto' or '0' to display the menu correctly. If
`menuPosition` is known beforehand, CSS rules corresponding to other
positions may be omitted. This was a bit of a mess (and only used by one
consumer, already fixed). The behaviour of the 'showMenu' and
'menuPosition' configuration options is unchanged.


Additional details are in the full change log. If you have any further
questions or need help dealing with deprecations, please let me know. As
always, general library documentation is available at mediawiki.org and
generated code-level documentation at doc.mediawiki.org.

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

Reply via email to