Context Navigation


YUI 3.4.1 History Digest

  • Anim Change History
    • no change
  • App Framework Change History
    • Controller: Added a workaround for an iOS 4 bug that causes the previous URL to be displayed in the location bar after calling `save()` or `replace()` with a new URL.
    • Controller: Fixed a bug that caused the controller to get stuck in a "dispatching" state if `save()` was called with no routes defined.
    • Model: The `validate()` method is now only called when `save()` is called, rather than on every attribute change. If validation fails, the save operation will be aborted.
  • ArraySort Change History
    • No changes.
  • AsyncQueue Change History
    • No changes.
  • Attribute Change History
    • No changes.
  • AutoComplete Change History
    • The "combobox" ARIA role is no longer automatically added to an AutoCompleteList input node. After consulting with the Y! Accessibility team, we felt that the combobox role doesn't accurately represent the out-of-the-box interactions that AutoCompleteList provides. Implementers can still apply this role (or any other ARIA role) to the input node manually if desired.
    • Fixed a bug that prevented the autocomplete list from being hidden after right-clicking on the list and then clicking elsewhere in the document. [Ticket #2531009]
  • Base Change History
    • No changes.
  • Cache Change History
    • No changes.
  • Calendar Change History
    • Calendar now supports Japanese language internationalization
    • Multiple calendars can now be used on the same page [Ticket #2530925]
    • When individual dates are clicked in Firefox, they are not text-selected [Ticket #2530754]
    • Multiple date selection now works correctly when it spans the Daylight Savings Time change date [Ticket #2530979]
    • A few documentation issues have been fixed [Tickets #2530929 and #2530930]
  • Charts Change History
    • #2530109 Fixed issue in which the NumericAxis roundingMethod was not always being respected when a number was specified.
    • #2531100 Fixed issue in which the NumericAxis was not correctly calculating its data range when a minimum or maximum was explicitly set.
    • #2530127 Added originEvent, pageX and pageY properties to the event facade for marker and planar events.
    • #2530591 Added ability to accept custom series classes.
    • #2530592 Fixed errors resulting from empty series.
    • #2530810 Removed hard-coded class prefixes.
    • #2530908 Fixed issue in which the NumericAxis was not respecting explicitly set minimum and maximum values in some cases.
    • #2530969 Ensure underlying dom nodes of markers have unique ids.
    • #2530984 Fixed issue in which PieChart was not resizing properly.
    • #2531024 Fixed issue in which PieChart did not draw from center when width and height were not equal.
    • #2530985 Fixed issue in which PieChart failed to always render in MSIE 8.
    • #2531020 Fixed issue in which gridlines could be hidden by other elements.
    • #2531040 Fixed issue in which missing data broke stacked histograms.
    • #2531071 Fixed issue in which charts would not render if one of the series was empty.
  • ClassName Manager Change History
    • No changes.
  • Collection Change History
    • Sparse arrays are now handled correctly in the non-native fallback implementation of `Y.Array.lastIndexOf()`. [Ticket #2530966]
  • Console Change History
    • No changes.
  • ConsoleFilters Plugin Change History
    • No changes.
  • Cookie Change History
    • No changes.
  • CSS Base Change History
    • Bug fix: Nested mixed list types were incorrectly styled. [Ticket 2530302]
  • CSS Fonts Change History
    • No change.
  • CSS Grids Change History
    • No change.
  • CSS Reset Change History
    • Moved list-type to list declaration.
  • DataSchema Change History
    • No changes.
  • DataSource Change History
    • No changes.
  • DataTable Change History
    • Removed the `td` property from the object passed to cell formatters by default. Implementers should return innerHTML or modify the `tdTemplate` and set properties on the `o` object passed to the formatter for template substitution. For implementers that *must
    • have a Node for the cell, a new prototype method `createCell(o)` may be called from formatters. The method creates a Node using the standard template substitution of `tdTemplate` + values stored in `o`. It then adds the cell Node to the `td` property on `o` and returns the created Node. That said, using strings will make the table faster (maybe not in this release, but in 3.5.0). [Ticket #2529920]
    • Added a column attribute `emptyCellValue` to populate cells without content values. In your column definition, specify a value you want to show in the rendered cell in the case of missing data. The default `emptyCellValue` is the empty string, so no more "{value}" showing up in tables. [Ticket #2529921]
  • DataType Change History
    • No changes
  • Drag and Drop Change History
    • No changes.
  • Dial Change History
    • Changed method name from _getNewValueFromMousedown to _handleMousedown
    • Improved mousedown on ring handling [Ticket #2530597]
    • Improved handling of dragging the handle past max/min and around multiple revolutions. [Ticket #2530766]
    • Fixed problem with Dial having incorrect center X and Y following a browser resize. [Ticket #2531111]
  • DOM Change History
    • No changes.
  • Dump Change History
    • No changes.
  • Rich Text Editor Change History
    • No changes.
  • Escape Change History
    • No changes.
  • Event Infrastructure Change History
    • Calling Y.on('syntheticEvent', callback) without a context/selector argument now defaults to `window` (or the global object) [Ticket #2530081]
    • event-resize, a.k.a. Y.on('windowresize', ...) migrated to synthetic event infrastructure. Now detachable, etc. Also properly throttles the resize event on newer Gecko engines. That browser sniff was old! [Ticket #2530805]
  • Custom Event Infrastructure Change History
    • onceAfter (added in 3.4.0) now works for array and object signatures. [Ticket #2531121]
  • Gestures Change History
    • Fixed preventDefault:true for flick
  • ValueChange Change History
    • No changes.
  • Graphics Change History
    • No changes.
  • Highlight Change History
    • Now using ClassNameManager to get the CSS class name for the highlight element, so custom class prefixes other than "yui3" will be respected. [Ticket #2530811]
  • History Change History
    • No changes.
  • ImageLoader Change History
    • No changes.
  • Intl Change History
    • No changes.
  • IO Utility Change History
    • HTTP 304 now treated as a success condition. [Ticket #2530931]
    • Fixed transport creation error when both io-xdr and io-upload-iframe modules are in use [Ticket #2530999]
    • Querystring stringify added to io-upload-iframe. [Ticket #2531037]
    • Fixed request abort error in IE. [Ticket #2531038]
    • Add try/catch to io-upload-iframe response to handle failure cases where the document may be inaccessible. [Ticket #2531041]
    • Add IO support for XHR basic user authentication. [Ticket #2530023]
    • Revert Y.mix usage for synchronous requests. [Ticket #2531056]
    • Fixed io-upload-iframe transport destruction. [Ticket #2531058]
  • JSON Utility Change History
    • No changes.
  • JSONP Change History
    • No changes.
  • YUI Loader Change History
    • No changes.
  • Node Change History
    • Bug fix: Calling insert(null) was throwing an error. [Ticket 2529991]
    • Bug fix: The removeAttribute method was not chainable in IE < 9. [Ticket 2529230]
    • Bug fix: Calling Y.all() without arguments was failing to return an empty NodeList. [Ticket 2530164]
    • Added optional stopAt function/selector argument for ancestor/ancestors().
  • Flick Node Plugin Change History
    • No changes.
  • Focus Manager Change History
    • No changes.
  • MenuNav Change History
    • No changes.
  • OOP Change History
    • No changes.
  • Overlay Change History
    • No changes, see Widget and extensions for changes to dependencies.
  • Panel Change History
    • Panel's CSS related to WidgetButtons has been improved. The styling for Panel's header is now much more flexible, while maintaining the position of the close button across browsers and varying amounts of content. [Ticket #2530978]
    • Panel now has a working Night skin. [Ticket #2530937]
    • The sprite image assets for the "close" button on Panels have moved into the WidgetButtons extension's assets. [Ticket #2530952]
    • See also Widget and extensions for changes to dependencies.
  • Plugin Change History
    • No changes.
  • Plugin Host Change History
    • No changes.
  • QueryString Utility Change History
    • No changes.
  • Queue Promote Change History
    • No changes.
  • Recordset Change History
    • No changes.
  • Resize Utility Change History
    • No changes.
  • ScrollView Change History
    • Fixed incorrect scroll width/height calculations to account for translate (for real this time) on Chrome, and now Safari.
    • translateZ applied for h/w acceleration was resulting in the incorrect scroll values.
    • Removed fallback to cb.scrollWidth/Height, when determining scroll dimensions. This was masking the real problem with translate impacting boundingBox scroll width/height calcs mentioned above.
    • Fixed scrollbar racing ahead of scroll position on FF 5+ with native transition support enabled.
    • Added ability to disable scrollview completely, disable flick or disable drag // Stops SV from moving through flick/drag or the API. sv.set("disabled", true); // Stops SV from reacting to flick. Can still drag/scroll through API sv.set("flick", false); // Stops SV from reacting to drag. Can still flick, scroll through API sv.set("drag", false);
    • Resync UI on scrollview-list class application.
  • Simple YUI Change History
    • No changes.
  • Slider Change History
    • No changes.
  • Sortable Utility Change History
    • No changes.
  • StyleSheet Change History
    • No changes.
  • Substitute Utility Change History
    • Now replaces everything if not undefined instead of only objects, strings and numbers (@satyam)
    • Added `{LBRACE}` and `{RBRACE}` as possible replacement strings so that braces can be included in the resulting string (@satyam)
    • Improved the restoration of undefined replacements (@satyam)
  • SWF Utility Change History
    • No changes.
  • SWFDetect Utility Change History
    • No changes.
  • TabView Change History
    • No change.
  • Text Change History
    • No changes.
  • Transition Change History
    • No change.
  • Uploader Utility Change History
    • No changes in source code
    • Minor example changes
  • Widget Change History
    • No changes.
  • Widget Anim Change History
    • No changes.
  • Widget Autohide Change History
    • No changes.
  • Widget Buttons Change History
    • Added support for `classNames` property for button configurations which will add the CSS class names to the button Node. The default "close" button uses this, adding a `yui3-button-close` CSS class to itself. [Ticket #2531091]
    • Fixed the default template for the "close" button to not contain malformed HTML by replacing the `<div>` element inside of a `<span>` with a `<span>`. The in-lined CSS in the style attribute on the button was moved into an external CSS file which provides the basic styling for the default "close" button for both the Sam and Night skins. The CSS class `yui3-widget-buttons` is now applied to the `boundingBox` of Widgets which use WidgetButtons. [Ticket #2530952]
    • Fixed a bug where instance-level properties were not being initialized causing references to bubble-up the chain to the prototype incorrectly. [Ticket #2530998]
  • Widget Child Change History
    • No changes.
  • Widget Modality Change History
    • Fixed focus-contention issues which caused infinite recursion when multiple modal Panels were visible on the page at the same time. [Ticket #2530953]
    • It is now possible to instantiate a Widget that uses the WidgetModality extension without needing to pass in a configuration Object. [Contributed by Jakub Kuźma] [Ticket #2531086]
    • Replaced references to `document` with `Y.config.doc`. [Ticket #2531220]
  • Widget Parent Change History
    • Fixed issue with children not being destroyed, when parent.destroy() is called.
    • Added if (sibling.get("rendered")) check before trying to insert children after/before siblings. This is not required for the out of the box Parent/Child implementation, but is useful for custom implementations which customize children to render asynchronously. See #2529863.
    • Fixed issue where previously rendered children, added to an empty parent, would not get rendered into the parent's child container node. Based on the pull request from andreas-karlsson, with the root fix *and* unit test (nicely done): https://github.com/yui/yui3/pull/25
  • Widget Position Change History
    • No changes.
  • Widget Position Align Change History
    • The widget's alignment is now re-synced to the DOM every time the widget's `visible` Attribute is changed to `true`. [Ticket #2530779]
    • Syncing the current alignment to the DOM is now supported in the public API by calling `align()` with no arguments. [Ticket #2529911]
  • Widget Position Constrain Change History
    • No changes.
  • Widget Stack Change History
    • The shim element is now sizing correctly the first time a widget is shown after it was instantiated with the `visible` Attribute set to `false`. Note: The shim element is only used with IE 6 by default. [Ticket #2529127]
  • Widget Std Mod Change History
    • No changes.
  • YQL Change History
    • No changes.
  • YUI Core Change History
    • Sparse arrays are now handled correctly in the non-native fallback implementation of `Y.Array.indexOf()`. [Ticket #2530966]
    • `Y.mix()` will no longer shadow prototype properties on the receiver unless the `overwrite` parameter is true. This was the pre-3.4.0 behavior, but was changed in 3.4.0. We're changing it back to preserve backwards compatibility. [Ticket #2530501]
    • The non-native fallback implementation of `Y.Object.keys()` now contains a workaround for buggy browsers that treat function `prototype` properties as enumerable in violation of the ES5 spec.
    • `Y.Object.size()` now returns `0` for non-objects. This was the pre-3.4.0 behavior, but regressed in 3.4.0. [Ticket #2531069]
  • YUI Throttle Change History
    • No changes.