# Release Notes for Ext 2.2.1

Release Date: Feb 1, 2009
Current Version: 2.2.1 (rev 3003)
Previous Version: 2.2.0 (rev 2547)

## Overview

- Chrome support
- Various memory leak issues solved.
- Added removeAll method for the container.
- A series of new Ext.air classes have been added.

## Change Log

- Ext.sql

- Ext.sql.Proxy (Doc Updates)

- Ext.sql.SQLLiteStore (New File)
  - Convience class for creating stores bound to SqlLite Air DB

- Ext.air

- Ext.air.App (New File)
  - Convience class for creating applications

- Ext.air.Clipboard (New File)
  - Allows for interactions with the os clipboard.

- Ext.air.Debug (New File)
  - Adds a method similar to console.dir.

- Ext.air.ext-air-adapter
  - Added a method to return a unique ID.
  - Added support for nested objects within the JsonReader.

- Ext.air.FileTreeLoader (New File)
  - Added to be able to populate a tree from the filesystem.

- Ext.air.MusicPlayer (New File)
  - Allows for playing music.

- Ext.air.NativeWindow (Doc Updates)
  - Added new window management methods.
  - Added the ability to load window content with html.

- Ext.air.Notify (New File)
  - Provides toast style notifications.

- Ext.air.SystemTray (Doc Updates)

- Ext.air.VideoPanel (New File)
  - Panel with video player support.

- Adapters

- Adapters.ext-base
  - Fixed issue where IE mangles the response code when returning 204 no content.

- Ext.core

- Ext.core.DomQuery (Doc Updates)

- Ext.core.Elements (Doc Updates)
  - Fixed replaceWith issue in IE.
  - Fix to remove position: relative when masking.

- Ext.core.EventManager (Doc Updates)
  - Rolled back 2.2 onReady code to fix issues in IE.
  - Removed anonymous method in onWindowResize.
  - Added Ext.isIE8 and Ext.isChrome properties.
  - Added extra property to within() to allow the element to be included.

- Ext.core.Ext (Doc Updates)
  - Fixed date handling in urlEncode.
  - Add date as a return option inside Ext.type()

- Ext.core.Fx (Doc Updates)
  - Fix for fadeOut when specifying an endOpacity.

- Ext.core.Template (Doc Updates)

- Ext.core.UpdateManager (Doc Updates)

- Ext.data

- Ext.data.Connection (Doc Updates)

- Ext.data.DataField (Doc Updates)

- Ext.data.GroupingStore (Doc Updates)

- Ext.data.JsonReader (Doc Updates)

- Ext.data.JsonStore (Doc Updates)

- Ext.data.MemoryProxy (Doc Updates)

- Ext.data.Record (Doc Updates)

- Ext.data.SimpleStore (Doc Updates)

- Ext.data.Store (Doc Updates)
  - Added removeAt method.
  - Fixed a bug where the store was not correctly unregister at destroy time.

- Ext.data.Tree
  - Fix applied to allow replaceNode to have the same id.

- Ext.dd

- Ext.dd.DDCore (Doc Updates)
  - Fixed a few minor cleanup issues.

- Ext.dd.DropTarget (Doc Updates)

- Ext.state

- Ext.state.CookieProvider (Doc Updates)

- Ext.util

- Ext.util.ClickRepeater
  - Added destroy method.

- Ext.util.Date (Doc Updates)
  - Various date parsing fixes.

- Ext.util.Format (Doc Updates)

- Ext.util.History
  - Fix data hash to initialize at startup.

- Ext.util.KeyNav
  - Fixed missing scope when unbinding event handlers.

- Ext.util.MixedCollection (Doc Updates)
  - Fixed sorting inside the keySort method.

- Ext.util.Observable (Doc Updates)

- Ext.util.TaskMgr (Doc Updates)

- Ext.widgets
- Ext.form

- Ext.form.Action (Doc Updates)

- Ext.form.BasicForm (Doc Updates)

- Ext.form.Checkbox (Doc Updates)

- Ext.form.CheckboxGroup (Doc Updates)

- Ext.form.Combo (Doc Updates)
  - Added additional cleanup code.

- Ext.form.DateField (Doc Updates)
  - Added select event.
  - Updated outdated variable names.

- Ext.form.Field (Doc Updates)
  - Remove redundant focus/blur calls for Opera 9.

- Ext.form.FieldSet
  - Fieldsets now correctly call the onCollapse/onExpand superclass methods.

- Ext.form.Form (Doc Updates)

- Ext.form.HtmlEditor (Doc Updates)
  - Fixed an issue where pasted data wasn't saved correctly.
  - Fixed issues when HtmlEditor was being resized.

- Ext.form.Label (Doc Updates)

- Ext.form.NumberField (Doc Updates)
  - Fixed issue when setValue is called with 0.

- Ext.form.RadioGroup (Doc Updates)

- Ext.form.TextField (Doc Updates)
  - Fixed minor memory leak when using autoSize.
  - Normalize the behaviour of selectText across browsers.

- Ext.form.TriggerField
  - Fixed minor issue when trying to remove css class on the wrapping element.

- Ext.form.VTypes (Doc Updates)
  - Fixed email regex to work correctly, caused hanging in some browsers.

- Ext.grid

- Ext.grid.ColumnModel (Doc Updates)

- Ext.grid.EditorGrid (Doc Updates)
  - Remove redundant css class.
  - Fix for passing an empty default value.

- Ext.grid.GridPanel (Doc Updates)
  - Updated empty functions to use the global Ext.emptyFn.

- Ext.grid.GridView (Doc Updates)
  - Fixed various focus issues.
  - Fix for scrolling when data is updated.
  - Destroy cleanup added.
  - Fixed various scrolling issues.
  - Fix for autoFill when using layouts with deferred size.

- Ext.grid.PropertyGrid (Doc Updates)

- Ext.grid.RowNumberer (Doc Updates)

- Ext.grid.RowSelectionModel (Doc Updates)
  - Removed unnecessary selectionchange events when in single select mode.
  - Update code to use the documented isLocked() method.

- Ext.layout

- Ext.layout.AbsoluteLayout (Doc Updates)

- Ext.layout.AccordionLayout (Doc Updates)

- Ext.layout.BorderLayout (Doc Updates)
  - Fixed an issue with accordion expand/collapse icons when in border layout.

- Ext.layout.ColumnLayout (Doc Updates)
  - Fixed issue when getting a valid parent node.

- Ext.layout.ContainerLayout (Doc Updates)

- Ext.layout.FormLayout (Doc Updates)
  - Fix when getting the positioning element.
  - Added a fix where overriding a labelStyle would override unrelated css properties.

- Ext.layout.TableLayout
  - Fixed an issue where the extraCls wasn't being applied.

- Ext.menu

- Ext.menu.BaseItem
  - Allowed the ability to specify an id for a menu item.

- Ext.menu.ColorMenu
  - Palette is now destroyed when the menu is destroyed.

- Ext.menu.Item
  - Menus now destroy child items.

- Ext.menu.Menu (Doc Updates)

- Ext.QuickTips

- Ext.QuickTips.QuickTips (Doc Updates)

- Ext.tree

- Ext.tree.AsyncTreeNode
  - Fixed a memory leak when reloading a node.

- Ext.tree.TreeLoader (Doc Updates)

- Ext.tree.TreeNode (Doc Updates)
  - Added null check for ensureVisible on the root node.

- Ext.tree.TreeNodeUI
  - Fixed focusing issue in IE.

- Ext.BoxComponent (Doc Updates)

- Ext.Button (Doc Updates)
  - Fix leak issues.
  - Fix the button selector to a more standard option.

- Ext.ColorPalette
  - ColorPalette will now assign an id correctly if passed as a config option.

- Ext.Component (Doc Updates)
  - State management now ignores auto generated ids.
  - Made overCls be assigned later in the render cycle to work correctly with panels.
  - Allow for an instance to be passed to isXType.

- Ext.ComponentMgr (Doc Updates)

- Ext.Container (Doc Updates)
  - Added support for shallow findByType.
  - Added removeAll method.
  - Allow for an empty items array to be passed to a container.

- Ext.DataView (Doc Updates)
  - Fix mouseouts being fired prematurely.

- Ext.DatePicker
  - Remove global var.
  - Added extra destroy code.

- Ext.Editor
  - Added extra null check in destruction code.

- Ext.Layer (Doc Updates)

- Ext.MessageBox (Doc Updates)
  - Fix to hide MessageBox while dragging.
  - Fix for IE when buttons are wider than the content area.

- Ext.PagingToolbar (Doc Updates)
  - Added destruction code to unbind store.
  - Fix for resetting the text field value when blurring.

- Ext.Panel (Doc Updates)
  - Extra destruction code added.
  - Avoid overwriting duplicate tools.
  - Added new iconchange event.
  - Added new getTool method.

- Ext.ProgressBar
  - Added option to animate fx transition.

- Ext.Resizable
  - Added extra destruction code.

- Ext.Slider
  - Fixed an issue where vertical sliders with non-zero minimum values worked incorrectly.
  - Normalized disabling sliders across browsers.

- Ext.SplitBar
  - Minor code cleanup.

- Ext.TabPanel (Doc Updates)
  - Extra cleanup code added.
  - Fixed tab scrolling issue.
  - Added support for enableTabScroll when tabPosition is set to bottom.
  - setIconClass now works correctly for panels as TabPanel items.

- Ext.Toolbar
  - Added extra cleanup code.

- Ext.Window (Doc Updates)
  - Added extra cleanup code.
  - anchorTo now removes resize listeners.
  - Added code to refocus a modal window when clicking on the mask.