YUI 3.10.2 Released
We are happy to announce the release of YUI 3.10.2! You can find it now on the Yahoo! CDN, download it directly, or pull it in via npm. We've also updated the YUI Library website with the latest documentation.
Since we've had a number of larger releases lately, this release represents an effort to do some "spring cleaning" on the codebase. Behind the scenes we've also been working hard on our CI system. We've been digging deep into flaky browser tests to ensure that we have the highest confidence in future releases across our supported YUI Target Environments.
Given the "cleanup" nature of this release, there are updates and fixes across the board.
App Framework Fix
In YUI 3.8.1 there was a fix to ensure options were sent to the setter correctly in Attribute, but this didn't work using
AttributeObservable and is now fixed in this version.
Two issues were fixed in Charts. In the first, styles didn't map correctly to a legend when series were styled using a global object. In the second, the legend would not honor the specified series marker style for shape.
This is a relatively larger change that you may want to take note of. Y.Color was moved out of DOM. You may observe some minor differences in the output of Y.Color methods. So if you were depending on a specific type of response, for instance
toHex(), you may want to check your own implementations. See pull request 822 for more details.
There was a minor bug fix in Dial where it may stick at min if you dragged it below min, then back above min - but only if the min/max position was North of the dial.
Event and Custom Event Fixes
One area that received a lot of attention this time around were the Event and Custom Event modules. The
nodelist.on() method had a rare issue with custom module loading. There was a fix for DOM event facade when the Y instance was set to
emitFacade:true (see release notes for details). In Custom Event there was an issue fixed regarding the facade carrying stale data for the "no subscriber" case. A Custom Event regression was fixed where
onceAfter() subscriptions using the
* prefix threw a
TypeError. Finally, there was an exception fixed with
There was a rounding issue fixed in the SVG implementation that had surfaced in certain edge cases of the PieChart in the Charts module.
Node Accessibility Improvements
YUI contributor Gerard Cohen contributed a change where
hide() now set and remove a node's
hidden attribute, providing a semantic indication of hidden content and improving accessibility.
The Paginator API methods now respect the widget's
Deprecations and Removals
SimpleYUI has been deprecated in this release. This module will be removed from the library in a future version. Profiler has been on the deprecation track as well and has now been removed from the library in this release.
In Widget, contentBox would remain in the
Y.Node_instances cache when the widget hadn't been rendered and
widget.destroy(true) was used.
Throttle no longer changes the value of
this inside the throttled function.
There were a total of 226 commits by 21 authors between YUI 3.10.1 and this release. We have spent quite a bit of time making our unit and functional tests more robust. We encourage you to consider not only contributing code fixes and feature improvements, but additional unit tests as well. We run approximately 20,000 tests for every build! And through the course of a single day that that adds up to almost 100K tests across our Target Environments. We believe that strong CI with robust tests is essential to maintaining the high standard of quality we hold for our codebase. If you would like to learn more about this release, please check out the Change History Rollup.