jQuery UI 1.8 Changelog


Released on March 18, 2010

link New Plugins

  • Core & Utilities: Position
  • Core & Utilities: zIndex
  • Widgets: Autocomplete
  • Widgets: Button

link Build

  • Renamed: All .js and .css files to use jquery.ui. prefix instead of ui. prefix.
  • Fixed: Build on non-Windows platforms. (#4973, #4896)
  • Fixed: Build includes @import and full CSS. (#5044)

link Core & Utilities

  • Added: Position utility
  • Added: zIndex utility
  • Added: New file for widget factory: jquery.ui.widget.js
  • Added: New file for mouse plugin: jquery.ui.mouse.js

link UI Core

  • Removed: Firefox 2 ARIA support. (r3736)

link Mouse - New file

Note: The mouse widget that was in ui.core.js now has its own file, jquery.ui.mouse.js. This slims down UI Core for those plugins that don't use the mouse widget.

  • Fixed: interaction plugins don't disable text selection in IE. (#4773)

link Widget Factory - New!

Note: The widget factory was heavily refactored in the 1.8 release. See the Upgrade Guide for more details. The widget factory was also moved to its own file, jquery.ui.widget.js, and only depends on jQuery, meaning it can be used without UI Core.

  • Added: Custom selectors for widgets, e.g., :ui-draggable. (#4266)
  • Added: Widget factory auto detects getters. (#4411, #4601)
  • Added: plugin options now do a deep extend with defaults. (#4366)
  • Added: Multiple option hashes can now be passed on init. (#4784)
  • Added: Widget method to get the outermost element of a plugin. (#4913)
  • Added: The option method now returns the full options hash when called with no arguments. (#5020)
  • Added: Widget factory now adds disabled classes to outermost element instead of main element. (#5028)
  • Added: Re-instantiating plugins without destroying is now allowed. (#5064)
  • Fixed: All widget events are now lowercase. (#4668)
  • Fixed: ui hash is always an object in callbacks/events now. (#4650)
  • Fixed: Widget factory does not unbind all events. (#5005)
  • Fixed: Using effects with jQuery 1.4 kills widget instances. (#5076)
  • Fixed: .remove() proxy doesn't work properly. (#5143)

link zIndex - New!

New zIndex utility inside UI Core

link Interactions

link Draggable

  • Removed: ui.absolutePosition in callbacks. (#3990)
  • Changed: stack option to accept a selector instead of a hash. (#4375)
  • Added: Ability to pass a string or array of x/y coordinates for cursorAt option. (#2525)
  • Added: ui hash in events now contains originalPosition. (#3782)
  • Fixed: Draggable doesn't cause the page to scroll to top of the document anymore. (#4934)
  • Fixed: Scope option works when no droppables exist. (#4289)
  • Fixed: Start callback contains offset and position in ui hash. (#4380)
  • Fixed: Draggable can be destroyed immediately after drop. (#4239, #4550)
  • Fixed: Start, drag and stop events should be preventable. (#4145)
  • Fixed: Fixed positions include wrong scroll offset in Safari 4. (#4631)
  • Fixed: Events not being triggered for drag and drop. (#5134)
  • Fixed: Draggable broken on inline elements in webkit browsers. (#4824)
  • Fixed: Stack option can throw error. (#5191)

link Droppable

  • Removed: ui.absolutePosition in callbacks. (#3989)
  • Fixed: greedy option stops propagation of events. (#4570)
  • Fixed: Droppable body let revert a div on a valid drop. (#5095)
  • Fixed: Events not being triggered for drag and drop. (#5134)

link Resizable

  • Fixed: Disabling now works properly. (#4743)
  • Fixed: resizable('destroy') moves images to end of parent element. (#4940)
  • Fixed: Events not being triggered for drag and drop. (#5134)

link Selectable

  • Fixed: destroy method doesn't clean up selectees. (#5094)

link Sortable

  • Removed: ui hash in events no longer contains absolutePosition. (#3991)
  • Added: ui hash in events now contains originalPosition. (#4797)
  • Added: Ability to pass a string or array of x/y coordinates for cursorAt option. (#2525)
  • Fixed: Nested sortables. (#4611)
  • Fixed: Connected, floated sortables. (#4551)
  • Fixed: Serializing no longer contains the placeholder. (#4138)
  • Fixed: Documentation for revert option. (#4657)
  • Fixed: $estore original opacity. (#4165)
  • Fixed: Events not being triggered for drag and drop. (#5134)
  • Fixed: Over event triggered too frequently. (#5111)

link Widgets

  • Fixed: Always use bgiframe when available. (#5071)

link Autocomplete - New!

New Autocomplete widget

link Accordion

  • Removed: alwaysOpen option in favor of collapsible option. (#4030)
  • Added: Able to create an accordion without icons. (#4222)
  • Fixed: Fallback to a slide animation if an invalid easing is provided (also accept animated: true). (#4392)
  • Fixed: fillSpace: true now accounts for header margins. (#4436)
  • Fixed: Navigation option works again. (#4653)
  • Fixed: No longer stops propagation of clicks inside headers. (#4732)
  • Fixed: autoHeight now calculates height properly. (#4754)
  • Fixed: Content no longer disappears in IE with autoHeight: false. (#4444)
  • Fixed: active property now updates to reflect current state. (#4576)
  • Fixed: some demos do not work. (#5046)
  • Fixed: animated accordions sometimes fail in IE. (#4382)
  • Fixed: newContent/oldContent parameters are incorrect in change callback. (#4469)

link Button - New!

New Button widget

link Datepicker

  • Added: showMonthAfterYear and yearSuffix options for i18n. (#4085)
  • Added: autoSize option to set the size of the input field based on the date format. (#3891)
  • Added: UK localization. (#4895)
  • Added: DA localization. (#4930)
  • Added: Bosnian localization. (#4987)
  • Added: Documentation for localization. (#4790)
  • Added: yearRange option supports absolute and relative ranges. (#4775, #4870)
  • Fixed: Able to properly pick dates in other months when showing multiple months. (#4634, #3657)
  • Fixed: Manually entered dates now update the alt field. (#3861)
  • Fixed: iframe overlay for IE 6 z-index correction is now properly sized. (#4054)
  • Fixed: minDate getter now returns a value. (#4357)
  • Fixed: Proper detection of prev/next links when displaying a grid of calendars. (#4536)
  • Fixed: setDate can now be called multiple times. (#4647)
  • Fixed: Hungarian localization. (#4556)
  • Fixed: Italian localization. (#4599)
  • Fixed: Input id can now contain $. (#4684)
  • Fixed: Keyboard selection of dates in the future. (#4917)
  • Fixed: Proper alignment of dates with showOtherMonths option set to true. (#4762)
  • Fixed: Double clicking on next/previous buttons no longer closes the datepicker. (#4949)
  • Fixed: Proper alignment of month and year dropdowns with showMonthAfterYear option set to true. (#4420)
  • Fixed: Datepicker now works with multiple versions of jQuery on the same page. (#4704)
  • Fixed: Default action of tab key is no longer prevented. (#4885)
  • Fixed: Animation control. (#4787)
  • Fixed: Undefined function lookAhead(). (#4956)
  • Fixed: Element names can now contain special characters. (#4969)
  • Fixed: Datepicker works in IE again. (#4774)
  • Fixed: Added yearSuffix for Chinese/Korean localization. (#4793)
  • Fixed: Next button doesn't display with multiple months in one column. (#5022)
  • Fixed: onChangeMonthYear fires at first run. (#4804)
  • Fixed: Don't reset dates on instantiation. (#4869)
  • Fixed: Proper comparison against minDate and maxDate. (#5026)
  • Fixed: Set focus error in IE8 for disabled and hidden elements. (#5052)
  • Fixed: Date picker localization in RO. (#5088)
  • Fixed: Bug in findPos for RTL languages. (#5085)
  • Fixed: Use null instead of empty string when showing/hiding without a duration. (#5086)
  • Fixed: Conflict between beforeShowDay and getDate. (#5187)
  • Fixed: Datepicker appears underneath other widgets. (#4580)
  • Fixed: Datepicker opens when setDate called. (#5128)
  • Fixed: Separate month and year unless both are drop-downs. (r3787)
  • Fixed: Datepicker's vertical position in thickbox. (#4443)
  • Fixed: Date picker stays open when the field isn't focused. (#5179)
  • Partial fix: UI Datepicker inside UI Dialog Issue. (#4453)

link Dialog

  • Deprecated: beforeclose option; renamed to beforeClose. (#4669)
  • Added: Support for fixed positioning. (#2848)
  • Added: Can now pass a hash for position. (#2525)
  • Added: Now triggers drag and resize events. (#4629)
  • Added: Support for button plugin.
  • Added: Documentation for closeText option. (#4887)
  • Fixed: When height is set to a pixel value smaller than the minHeight, the height will override the minHeight. (#4101)
  • Fixed: Buttons no longer disappear after dragging. (#4271)
  • Fixed: Resizing is now constrained to the document. (#4664)
  • Fixed: Dialogs now remember their position after drag. (#4679)
  • Fixed: Title option now works properly in XHTML documents. (#4970)
  • Fixed: Positioning of modal dialogs in Opera. (#4769)
  • Fixed: Settings resizable option to false after init toggles resizable. (#4826)
  • Fixed: Styling in form validation demo. (#4808)
  • Fixed: Added padding and margin to the right side of the titlebar so the title doesn't go behind the close icon. (#5087)
  • Fixed: Datepicker Month/Year Dropdowns Not Working In Safari In A Dialog. (#4363)
  • Fixed: Position of Dialog is off the page when viewport is smaller then. (#5141)
  • Fixed: isOpen in dialogclose event is true. (#5184)
  • Fixed: Modal dialogs leak memory in IE. (#5185)
  • Fixed: window.location.reload() doesn't work in dialog's close callback when it's triggered by ESC in Firefox. (#4922)
  • Fixed: No scrollbars in IE quirksmode. (#4350)
  • Fixed: Buttons disappear after dragging dialog. (#5221)
  • Fixed: 2 dialogs pos false on close. (#5084)

link Slider

  • Added: Canceling the slide event now actually cancels the slide. (#4751)
  • Added: Handling for page up and page down. (#3096)
  • Added: Slider animation via programatic value change. (#4659, #4432)
  • Fixed: Updating values option affects the slider. (#4522)
  • Fixed: Range background shifts around as range size changes. (#5035)
  • Fixed: Events not being triggered for drag and drop. (#5134)
  • Fixed: Slider's change event fires on slide. (#5178)

link Tabs

  • Removed: deselectable option in favor of collapsible option. (#4031)
  • Added: More flexible markup allowed. (#4877, #4501, #4506)
  • Added: Demo with tabs at bottom. (#4785)
  • Fixed: Styling for multiple rows of tabs. (#4399)
  • Fixed: All tabs have the ui-state-default class. (#4815)
  • Fixed: Added support for jQuery 1.4. (#4916)
  • Fixed: Selected option returns wrong value. (#4960)
  • Fixed: Bug in ui.tabs selected tab detection. (#5122)
  • Fixed: Ajax tabs stop functioning on ajax error. (#4451)
  • Fixed: Cookies don't work with jQuery 1.4. (#5264)

link Effects

  • Removed: morph. (#4602)
  • Renamed: css files renamed to be consistent with js file renames in 1.8a1. (#5163)
  • Changed: Callback is now named "complete" not "callback". (#4586)
  • Fixed: Effects now honor jQuery.fx.off. (#4328)
  • Fixed: toggleClass now works consistently in IE. (#4676)
  • Fixed: show/hide now work properly on elements with opacity. (#4274)
  • Fixed: toggleClass now supports switch boolean parameter. (#4722)
  • Fixed: build.xml doesn't compile effects into full script. (#5109)
  • Fixed: Include all effect docs in build for download. (#5103)
  • Fixed: Slider demos need options reset before loading next demo. (#5131)
  • Fixed: Toggle speed issue. (#5192)
  • Fixed: Color animations. (#4251)
  • Fixed: Better handling of effects on positioned elements. (#4770, #4540)
  • Fixed: Class animations are more stable and work cross-browser. (#4950, #3938, #4721, #4807, #4396, #4342, #4720, #3112, #4999)
  • Fixed: Animation of borderColor. (#3938)

link Individual effects

  • Added: Fade effect. (#4896)
  • Fixed: Pulsate now pulses the proper number of times regardless of effect mode. (#4718)
  • Fixed: blind/fold didnt work. (#5097)

link Website

  • Fixed: Theme switcher doesn't work on demos. (#5144)
  • Fixed: Demos reference missing bgiframe file. (#5169)
  • Fixed: ThemeRoller bookmarklet tries to load an invalid URL. (#5098)
  • Fixed: Wrong jQuery version in demos. (#5147)
  • Fixed: Download builder/ThemeRoller is broken. (#5157, #5115, #5223, #5224, #5225, #5226, #5234, #5235)