Hi all,
OOUI v0.49.0 was released yesterday. It will be rolled out in MediaWiki via the deployment
train starting on Tuesday, 13 February 2024.
There are several breaking changes in this release. Please check your code carefully and
make the suggested updates as necessary.
- SearchInputWidget, TextInputWidget: getSaneType() has been changed to getValidType() to
reflect more inclusive language. Please check your code to make sure you're using the
updated method name.
- SelectWidget: getItemMatcher() no longer supports the value of `true` for the mode
argument, which has been deprecated since v0.30.4. Use `'exact'` instead.
- WindowManager: The alias toggleAriaIsolation(), deprecated since v0.44.1, has been
removed. Use toggleIsolation() instead.
Other changes include:
- JavaScript documentation has been migrated from JSDuck to JSDoc3.
- The Less variable @line-height-base, deprecated since v0.42.0, has been removed. Use
@line-height-label instead.
You can find a full list of changes in the changelog[1].
As always, interactive demos[2] and code-level documentation[3] are available on
doc.wikimedia.org, along with library documentation[4] on
mediawiki.org.
[1] -
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.49.0/History.md
[2] -
https://doc.wikimedia.org/oojs-ui/master/demos/#widgets-mediawiki-vector-ltr
[3] -
https://doc.wikimedia.org/oojs-ui/master/js
[4] -
https://www.mediawiki.org/wiki/OOUI
Happy UI-ing,Anne
--
Anne Tomasevich (she/her)
Staff Software Engineer, Design System
Wikimedia Foundation