|
1 AutoComplete Change History |
|
2 =========================== |
|
3 |
|
4 3.10.3 |
|
5 ------ |
|
6 |
|
7 * No changes. |
|
8 |
|
9 3.10.2 |
|
10 ------ |
|
11 |
|
12 * No changes. |
|
13 |
|
14 3.10.1 |
|
15 ------ |
|
16 |
|
17 * No changes. |
|
18 |
|
19 3.10.0 |
|
20 ------ |
|
21 |
|
22 * Add italian language files to the components. [albertosantini] |
|
23 |
|
24 3.9.1 |
|
25 ----- |
|
26 |
|
27 * No changes. |
|
28 |
|
29 3.9.0 |
|
30 ----- |
|
31 |
|
32 * No changes. |
|
33 |
|
34 3.8.1 |
|
35 ----- |
|
36 |
|
37 * Remove hardcoded position:absolute because it shouldn't be necessary anymore [nhusher]. |
|
38 |
|
39 3.8.0 |
|
40 ----- |
|
41 |
|
42 * No changes. |
|
43 |
|
44 3.7.3 |
|
45 ----- |
|
46 |
|
47 * No changes. |
|
48 |
|
49 3.7.2 |
|
50 ----- |
|
51 |
|
52 * No changes. |
|
53 |
|
54 3.7.1 |
|
55 ----- |
|
56 |
|
57 * No changes. |
|
58 |
|
59 3.7.0 |
|
60 ----- |
|
61 |
|
62 * No changes. |
|
63 |
|
64 3.6.0 |
|
65 ----- |
|
66 |
|
67 * Fixed an issue that prevented events from being detached when the AutoComplete |
|
68 widget was destroyed. [Ticket #2532419] |
|
69 |
|
70 |
|
71 3.5.1 |
|
72 ----- |
|
73 |
|
74 * Fixed a potential XSS issue involving the ARIA live region and text results |
|
75 that contain HTML markup. |
|
76 |
|
77 |
|
78 3.5.0 |
|
79 ----- |
|
80 |
|
81 * Added an `enableCache` config attribute. Set this to `false` to prevent the |
|
82 built-in result sources from caching results (it's `true` by default). |
|
83 |
|
84 * The `requestTemplate` value is now made available to YQL sources via the |
|
85 `{request}` placeholder, which works just like the `{query}` placeholder. Use |
|
86 this when you need to customize the query value (such as double-escaping it) |
|
87 used in the YQL query. [Ticket #2531285] |
|
88 |
|
89 * Changing the value of the `value` attribute programmatically will now also |
|
90 update the value of the `query` attribute and will fire a `clear` event when |
|
91 the value is cleared (thus clearing results), but still will not fire a |
|
92 `query` event. Use the `sendRequest()` method to trigger a query |
|
93 programmatically. |
|
94 |
|
95 * Added a workaround for an IE7 bug that would cause the result list to appear |
|
96 empty when it first becomes visible. |
|
97 |
|
98 * Fixed a bug that caused a scrollable result list to be hidden when the user |
|
99 clicked and dragged on the scrollbar and then released the mouse button while |
|
100 the cursor was outside the list region. |
|
101 |
|
102 * Fixed a bug that caused the list to disappear on mouseover if the input field |
|
103 received focus before the AutoComplete widget was initialized |
|
104 [Ticket #2531651] |
|
105 |
|
106 * Fixed a bug that could prevent results from being selected via mouse click |
|
107 after a result was selected via the tab key. [Ticket #2531684] |
|
108 |
|
109 * Fixed a bug that prevented the list from being re-aligned when the window was |
|
110 resized. |
|
111 |
|
112 |
|
113 3.4.1 |
|
114 ----- |
|
115 |
|
116 * The "combobox" ARIA role is no longer automatically added to an |
|
117 AutoCompleteList input node. After consulting with the Y! Accessibility |
|
118 team, we felt that the combobox role doesn't accurately represent the |
|
119 out-of-the-box interactions that AutoCompleteList provides. Implementers can |
|
120 still apply this role (or any other ARIA role) to the input node manually if |
|
121 desired. |
|
122 |
|
123 * Fixed a bug that prevented the autocomplete list from being hidden after |
|
124 right-clicking on the list and then clicking elsewhere in the document. |
|
125 [Ticket #2531009] |
|
126 |
|
127 |
|
128 3.4.0 |
|
129 ----- |
|
130 |
|
131 * Added the ability to use a `<select>` node as a result source. |
|
132 |
|
133 * Function sources may now be either asynchronous or synchronous. Returning |
|
134 an array of results from a function source will cause it to be treated as |
|
135 synchronous (same as in 3.3.0). For async operation, don't return anything, |
|
136 and pass an array of results to the provided callback function when the |
|
137 results become available. [Ticket #2529974] |
|
138 |
|
139 * Added a `sourceType` attribute to `AutoCompleteBase`, which may be used to |
|
140 force a specific source type, overriding the automatic source type |
|
141 detection. [Ticket #2529974] |
|
142 |
|
143 * The `scrollIntoView` config option is now much smarter. It will only scroll |
|
144 if the selected result isn't fully visible. If the result is already |
|
145 entirely within the visible area of the viewport, no scrolling will occur. |
|
146 |
|
147 * A pre-existing `listNode` may now be specified at initialization time. |
|
148 |
|
149 * Added `subWordMatch` filters and highlighters. [Contributed by Tobias |
|
150 Schultze] |
|
151 |
|
152 * The `this` object now refers to the current AutoComplete instance instead of |
|
153 the window in list locators, text locators, filters, formatters, |
|
154 highlighters, and requestTemplate functions. |
|
155 |
|
156 * Added an `originEvent` property to the event facade of `select` events. It |
|
157 contains an event facade of the DOM event that triggered the selection if |
|
158 the selection was triggered by a DOM event. |
|
159 |
|
160 * Small performance improvement for filters operating on empty query strings. |
|
161 [Ticket #2529949] |
|
162 |
|
163 * Result list alignment is now updated both when results change and when |
|
164 the window is resized instead of only when the list becomes visible. This |
|
165 makes right-aligned lists with dynamic widths less awkward. |
|
166 |
|
167 * Fixed a bug that prevented CSS-based z-index values from taking effect on |
|
168 the AutoComplete list and required the z-index to be set via JS. The |
|
169 `.yui3-aclist` class now provides a default z-index of 1, and this can be |
|
170 overridden with custom CSS. Specifying a `zIndex` attribute value via JS |
|
171 no longer has any effect. |
|
172 |
|
173 * Fixed a bug that caused the IE6 iframe shim under the AutoComplete list to |
|
174 be sized incorrectly the first time the list was displayed. |
|
175 |
|
176 * Fixed a bug in which the `requestTemplate` would sometimes be used as the |
|
177 query instead of being appended to the source URL. This affected XHR and |
|
178 JSONP sources that used both a `{query}` placeholder in the source string |
|
179 and a custom `requestTemplate` value. [Ticket #2529895] |
|
180 |
|
181 * Fixed a bug that caused the `requestTemplate` function to be called twice |
|
182 for an XHR request instead of just once. |
|
183 |
|
184 * Fixed a bug in which JSONP, XHR, and YQL requests were cached solely based |
|
185 on the query rather than on the complete request. This could result in |
|
186 cache collisions when two requests with the same query but different |
|
187 parameters (provided by a requestTemplate) were made. [Ticket #2530410] |
|
188 |
|
189 * Fixed a bug that caused the `&` character to be treated as an up arrow |
|
190 key in Firefox. [Ticket #2530455] |
|
191 |
|
192 * Removed the "beta" label. Hooray! |
|
193 |
|
194 |
|
195 3.3.0 |
|
196 ----- |
|
197 |
|
198 * Initial release. |