Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / CHANGES_ext-3.1.0.html
1 <html><head>
2 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
3
4     <title>Ext Release Notes for 3.1.0</title>
5     <style>
6         * {
7             font-family: 'helvetica', tahoma, verdana, sans-serif;
8             font-size: 12px;
9         }
10         body { padding: 20px; }
11         h1 { font-size: 18px; }
12         h2 { font-size: 16px; }
13         h3 { font-size: 14px; }
14         li { padding: 2px 0; }
15         .doc { color: blue; }
16         .change { color: red; }
17         .new { color: green; }
18     </style>
19 </head><body>
20
21 <h1>Release Notes for Ext 3.1.0</h1>
22
23 <p>
24     Release Date: Dec 14, 2009<br>
25
26     Current Version: 3.1.0 (rev 5770-119) <br>
27     Previous Version: 3.0.0 (rev 4747)
28 </p>
29
30 <h2>Overview</h2>
31 <ul>
32 <li>Bug fixes.</li>
33 <li>Enhancements.</li>
34 </ul>
35
36 <h2 class="change">Changes</h2>
37
38 <ul><li>Ext.DatePicker<ul>
39     <li>
40 Fixed the first set of days when the startDay was not 0
41     </li>
42 </ul></li></ul>
43
44 <ul><li>Ext.menu.Menu<ul>
45     <li>
46 Only cascade the menu hiding up when the menus are floating
47     </li>
48     <li>
49 Moved the beforeshow event to showAt inside the menu, since show either always calls the superclass show method, or calls showAt
50     </li>
51     <li>
52 Use the getItemId methods instead of referring to the itemId
53     </li>
54 </ul></li></ul>
55
56 <ul><li>Ext.form.HtmlEditor<ul>
57     <li>
58 Used insertHTML because it's supported in Safari and Chrome
59     </li>
60 </ul></li></ul>
61
62 <ul><li>Ext.Panel<ul>
63     <li>
64 Have onLayout method respect force to ensure that toolbars are laid out when force is passed
65     </li>
66     <li>
67 Only add animation classes if we're actually animating. Helps resolve DOM reflow issues in FF
68     </li>
69     <li>
70 Fixed the panel so that tools aren't created too early. A header will
71 now be properly created when specifying tools (collapsible: true
72 creates tool).
73 It may be necessary to now explicitly set @cfg header:false in some
74 situations (e.g. setting collapsible will now correctly create a
75 header) </li>
76 </ul></li></ul>
77
78 <ul><li>Ext.MessageBox<ul>
79     <li>
80 Fixed an issue where MessageBox width is calculated differently depending on the previous content
81     </li>
82 </ul></li></ul>
83
84 <ul><li>Ext.data.DirectProxy<ul>
85     <li>
86 Remove idProperty being written in DataWriter. This was unnecessary
87 information since all info required by server to perform some CRUD
88 action is in the request "root." The examples were updated also. </li>
89 </ul></li></ul>
90
91 <ul><li>Ext.Window<ul>
92     <li>
93 Changed the window animations event to not be blocked. This resolved
94 the issue specified in the thread without having to modify the core
95 code </li>
96 </ul></li></ul>
97
98 <ul><li>Ext.Component<ul>
99     <li>
100 Add note to config: itemCls that it is only relevant when the Component is being rendered by a FormLayout layout manager
101     </li>
102     <li>
103 Remove redundant config option
104     </li>
105     <li>
106 Add a flag to ensure a component may only be destroyed once. This will
107 fix a series of issues, but also fixes the one mentioned in the ticket </li>
108     <li>
109 Components now have an onAdded and onRemoved method and are aware of
110 when they are added/removed to their respective Container. They will
111 fire an added and removed event. References are properly cleaned up
112 after removing a component from its owning container. References are
113 established at add time rather than at render time </li>
114     <li>
115 Added tpl, tplWriteMode and data configurations to Ext.Component. Added
116 an update method which accepts data for a template or an html
117 fragment/domhelper configuration to update the content area of a
118 component </li>
119 </ul></li></ul>
120
121 <ul><li>Ext.ux.StatusBar<ul>
122     <li>
123         Encapsulate the class under one folder (examples/ux/statusbar)
124     </li>
125     <li>
126         Correction to the animated hide of the element since the statusElement changed from an Ext.Element to a toolbar item
127     </li>
128     <li>
129         Correction to initial iconCls not being removed when the icon was updated
130     </li>
131 </ul></li></ul>
132
133 <ul><li>Ext.grid.ColumnDD<ul>
134     <li>
135 Fix for columnmove event firing twice. The event for columnmove is now
136 fired in onColumnMove in the GridView, which means the event in
137 ColumnDD is now redundant </li>
138 </ul></li></ul>
139
140 <ul><li>Ext.tree.TreePanel, Ext.tree.TreeNodeUI, Ext.tree.TreeNode<ul>
141     <li>
142 Added a beforedblclick event
143     </li>
144 </ul></li></ul>
145
146 <ul><li>Ext.util.CSS<ul>
147     <li>
148 When interrogating rules in IE, elements are written in caps (eg DIV). This caused issues when retrieving the rules
149     </li>
150 </ul></li></ul>
151
152 <ul><li>Ext.form.Field, Ext.form.TextField<ul>
153     <li>
154 Make validation more efficient if the validation event is set to blur.
155 Prior behavior when setting validationEvent to 'blur' would cause an
156 additional blur event handler to be attached, even though there was one
157 already attached </li>
158 </ul></li></ul>
159
160 <ul><li>Ext.grid.Column, Ext.grid.ColumnModel<ul>
161     <li>
162 Change to the 2.x behavior where column's that do not specify an id
163 will use the ordinal position of the column to generate the id, instead
164 of autogenerating unique id's for every column </li>
165 </ul></li></ul>
166
167 <ul><li>Ext.grid.GridView, Ext.grid.GroupingView, Ext.list.ListView, Ext Core<ul>
168     <li>
169 Due to various factors, the scroll bars on the operating system can
170 differ (theme, font size). As such, a static value isn't always
171 appropriate. This adds a method to dynamically calculate this </li>
172 </ul></li></ul>
173
174 <ul><li>Ext.TabPanel, Et.form.Field, Ext.form.Form, AccordionLayout, ContainerLayout, FormLayout, Container<ul>
175     <li>Several modifications to fix issues with form layout:<ul>
176         <li>Added the ability to hide and show field labels with the Field</li>
177         <li>Added new template methods for when an item is added to and removed from a Container</li>
178         <li>Added a method to allow layouts to clean up after themselves</li>
179         <li>Form layouts can now be dynamic (moving fields to another form)</li>
180     </ul></li>
181 </ul></li></ul>
182
183 <ul><li>Ext.tree.TreeSelectionModel<ul>
184     <li>
185 Fixed an issue where hidden tree nodes are visited when using keyboard
186 navigation. The behaviour now is that they are skipped over properly </li>
187 </ul></li></ul>
188
189 <ul><li>Ext.data.Api, Ext.data.DataProxy<ul>
190     <li>
191 Added 3 hook functions in Ext.data.Api for listening to proxy-events
192 'beforewrite', 'write' and 'exception'. Since all proxies are run
193 through Ext.data.Api#prepare, this was easily done automatically. These
194 hooks are great places for devs to implement user-feedback messages.
195 Also had to move a small block of code (The call to
196 Ext.data.Api#prepare) in DataProxy to *after* the call to super
197 (Observable), which will cause no problems </li>
198 </ul></li></ul>
199
200 <ul><li>Ext.Editor, Ext.form.Field, Ext.form.TriggerField,
201 Ext.grid.GridPanel, Ext.form.TextField, Ext.grid.CellSelectionModel,
202 Ext.grid.EditorGrid, Ext.form.Combo, Ext.grid.RowSelectionModel,
203 Ext.util.KeyNav<ul>
204     <li>
205 General overhaul of the key handling system to make events, especially
206 in the editor grid, more consistent across browser and operating system
207 </li>
208 </ul></li></ul>
209
210 <ul><li>Ext.data.DataWriter, Ext.data.JsonWriter, Ext.data.XmlWriter<ul>
211     <li>
212 XmlWriter now renders XML using Ext.XTemplate. If users have a problem
213 with the XML schema, they can provide their own template to XmlWriter
214 constructor. Also made DataWriter#toHash a bit smarter dealing with
215 meta.idProperty </li>
216 </ul></li></ul>
217
218 <ul><li>Ext.form.HtmlEditor<ul>
219     <li>
220 Added a fix to stop the default value of the editor being posted to the server because it can cause encoding issues
221     </li>
222 </ul></li></ul>
223
224 <ul><li>jQuery Adapter, YUI Adapter, prototype Adapter<ul>
225     <li>
226         Fixed an issue where firefox would erroneously report elements as existing. Very old bug in FF, still not fixed
227     </li>
228 </ul></li></ul>
229
230 <h2 class="new">New</h2>
231
232 <ul>
233     <li>Significant IE6-8 memory improvments</li>
234     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/grid/ColumnHeaderGroup.html" target="_blank">Grouping GridView</a></li>
235     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/grid/locking-grid.html" target="_blank">Locking Grid Column</a></li>
236     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/treegrid/treegrid.html" target="_blank">TreeGrid</a></li>
237     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/form/vbox-form.html" target="_blank">VBox Form</a></li>
238     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/grid-filtering/grid-filter-local.html" target="_blank">Grid Filtering</a></li>
239     <li><a href="http://www.extjs.com/deploy/ext-3.1.0/examples/simple-widgets/editor.html" target="_blank">Editor</a></li>
240 </ul>
241
242 <h2 class="new">Documentation Improvements</h2>
243
244 <ul>
245     <li>Ext.grid.RowSelectionModel</li>
246     <li>Ext.grid.CheckboxSelectionModel</li>
247     <li>Ext.grid.GridView</li>
248     <li>Ext.grid.Column</li>
249     <li>Ext.Panel</li>
250     <li>Ext.XTemplate</li>
251     <li>Ext.form.Action</li>
252     <li>Ext.util.MixedCollection</li>
253     <li>Ext.tree.TreeNode</li>
254     <li>Ext.form.TextField</li>
255
256 </ul>
257
258 </body></html>