最新服务器上的版本,以后用这个
wangzhenxin
2023-11-19 bc164b8bdbfbdf1d8229a5ced6b08d7cb8db7361
commit | author | age
2207d6 1 Changelog
W 2 =========
3
4 For transparency and insight into our release cycle, releases will be numbered 
5 with the follow format:
6
7 `<major>.<minor>.<patch>`
8
9 And constructed with the following guidelines:
10
11 * Breaking backwards compatibility bumps the major
12 * New additions without breaking backwards compatibility bumps the minor
13 * Bug fixes and misc changes bump the patch
14
15 For more information on semantic versioning, please visit http://semver.org/.
16
17 ---
18
19 ### 0.11.1 April 26, 2015
20
21 * Add prepare option to prefetch. [#1181]
22 * Handle QuotaExceededError. [#1110]
23 * Escape HTML entities from suggestion display value when rendering with default
24   template. [#964]
25 * List jquery as a dependency in package.json. [#1143]
26
27 ### 0.11.0 April 25, 2015
28
29 An overhaul of typeahead.js – consider this a release candidate for v1. There
30 are bunch of API changes with this release so don't expect backwards 
31 compatibility with previous versions. There are also many new undocumented 
32 features that have been introduced. Documentation for those features will be 
33 added before v1 ships.
34
35 Beware that since this release is pretty much a rewrite, there are bound to be
36 some bugs. To be safe, you should consider this release beta software and 
37 throughly test your integration of it before using it in production 
38 environments. This caveat only applies to this release as subsequent releases
39 will address any issues that come up.
40
41 ### 0.10.5 August 7, 2014
42
43 * Increase supported version range for jQuery dependency. [#917]
44
45 ### 0.10.4 July 13, 2014
46
47 **Hotfix**
48
49 * Fix regression that breaks Bloodhound instances when more than 1 instance is
50   relying on remote data. [#899]
51
52 ### 0.10.3 July 10, 2014
53
54 **Bug fixes**
55
56 * `Bloodhound#clearPrefetchCache` now works with cache keys that contain regex 
57   characters. [#771]
58 * Prevent outdated network requests from being sent. [#809]
59 * Add support to object tokenizers for multiple property tokenization. [#811]
60 * Fix broken `jQuery#typeahead('val')` method. [#815]
61 * Remove `disabled` attribute from the hint input control. [#839]
62 * Add `tt-highlight` class to highlighted text. [#833]
63 * Handle non-string types that are passed to `jQuery#typeahead('val', val)`. [#881]
64
65 ### 0.10.2 March 10, 2014
66
67 * Prevent flickering of dropdown menu when requesting remote suggestions. [#718]
68 * Reduce hint flickering. [#754]
69 * Added `Bloodhound#{clear, clearPrefetchCache, clearRemoteCache}` and made it
70   possible to reinitialize Bloodhound instances. [#703]
71 * Invoke `local` function during initialization. [#687]
72 * In addition to HTML strings, templates can now return DOM nodes. [#742]
73 * Prevent `jQuery#typeahead('val', val)` from opening dropdown menus of 
74   non-active typeaheads. [#646]
75 * Fix bug in IE that resulted in dropdown menus with overflow being closed
76   when clicking on the scrollbar. [#705]
77 * Only show dropdown menu if `minLength` is satisfied. [#710]
78
79 ### 0.10.1 February 9, 2014
80
81 **Hotfix**
82
83 * Fixed bug that prevented some ajax configs from being respected. [#630]
84 * Event delegation on suggestion clicks is no longer broken. [#118]
85 * Ensure dataset names are valid class name suffixes. [#610]
86 * Added support for `displayKey` to be a function. [#633]
87 * `jQuery#typeahead('val')` now mirrors `jQuery#val()`. [#659]
88 * Datasets can now be passed to jQuery plugin as an array. [#664]
89 * Added a `noConflict` method to the jQuery plugin. [#612]
90 * Bloodhound's `local` property can now be a function. [#485]
91
92 ### 0.10.0 February 2, 2014
93
94 **Introducting Bloodhound**
95
96 This release was almost a complete rewrite of typeahead.js and will hopefully
97 lay the foundation for the 1.0.0 release. It's impossible to enumerate all of 
98 the issues that were fixed. If you want to get an idea of what issues 0.10.0 
99 resolved, take a look at the closed issues in the [0.10.0 milestone].
100
101 The most important change in 0.10.0 is that typeahead.js was broken up into 2 
102 individual components: Bloodhound and jQuery#typeahead. Bloodhound is an 
103 feature-rich suggestion engine. jQuery#typeahead is a jQuery plugin that turns
104 input controls into typeaheads.
105
106 It's impossible to write a typeahead library that supports every use-case out 
107 of the box – that was the main motivation behind decomposing typeahead.js. 
108 Previously, some prospective typeahead.js users were unable to use the library 
109 because either the suggestion engine or the typeahead UI did not meet their
110 requirements. In those cases, they were either forced to fork typeahead.js and
111 make the necessary modifications or they had to give up on using typeahead.js
112 entirely. Now they have the option of swapping out the component that doesn't 
113 work for them with a custom implementation.
114
115 ### 0.9.3 June 24, 2013
116
117 * Ensure cursor visibility in menus with overflow. [#209]
118 * Fixed bug that led to the menu staying open when it should have been closed. [#260]
119 * Private browsing in Safari no longer breaks prefetch. [#270]
120 * Pressing tab while a suggestion is highlighted now results in a selection. [#266]
121 * Dataset name is now passed as an argument for typeahead:selected event. [#207]
122
123 ### 0.9.2 April 14, 2013
124
125 * Prefetch usage no longer breaks when cookies are disabled. [#190]
126 * Precompiled templates are now wrapped in the appropriate DOM element. [#172]
127
128 ### 0.9.1 April 1, 2013
129
130 * Multiple requests no longer get sent for a query when datasets share a remote source. [#152]
131 * Datasets now support precompiled templates. [#137]
132 * Cached remote suggestions now get rendered immediately. [#156]
133 * Added typeahead:autocompleted event. [#132]
134 * Added a plugin method for programmatically setting the query. Experimental. [#159]
135 * Added minLength option for datasets. Experimental. [#131]
136 * Prefetch objects now support thumbprint option. Experimental. [#157]
137
138 ### 0.9.0 March 24, 2013
139
140 **Custom events, no more typeahead.css, and an improved API**
141
142 * Implemented the triggering of custom events. [#106]
143 * Got rid of typeahead.css and now apply styling through JavaScript. [#15]
144 * Made the API more flexible and addressed a handful of remote issues by rewriting the transport component. [#25]
145 * Added support for dataset headers and footers. [#81]
146 * No longer cache unnamed datasets. [#116]
147 * Made the key name of the value property configurable. [#115]
148 * Input values set before initialization of typeaheads are now respected. [#109]
149 * Fixed an input value/hint casing bug. [#108]
150
151 ### 0.8.2 March 04, 2013
152
153 * Fixed bug causing error to be thrown when initializing a typeahead on multiple elements. [#51]
154 * Tokens with falsy values are now filtered out – was causing wonky behavior. [#75]
155 * No longer making remote requests for blank queries. [#74]
156 * Datums with regex characters in their value no longer cause errors. [#77]
157 * Now compatible with the Closure Compiler. [#48]
158 * Reference to jQuery is now obtained through window.jQuery, not window.$. [#47]
159 * Added a plugin method for destroying typeaheads. Won't be documented until v0.9 and might change before then. [#59]
160
161 ### 0.8.1 February 25, 2013
162
163 * Fixed bug preventing local and prefetch from being used together. [#39]
164 * No longer prevent default browser behavior when up or down arrow is pressed with a modifier. [#6]
165 * Hint is hidden when user entered query is wider than the input. [#26]
166 * Data stored in localStorage now expires properly. [#34]
167 * Normalized search tokens and fixed query tokenization. [#38]
168 * Remote suggestions now are appended, not prepended to suggestions list. [#40]
169 * Fixed some typos through the codebase. [#3]
170
171 ### 0.8.0 February 19, 2013
172
173 **Initial public release**
174
175 * Prefetch and search data locally insanely fast.
176 * Search hard-coded, prefetched, and/or remote data.
177 * Hinting.
178 * RTL/IME/international support.
179 * Search multiple datasets.
180 * Share datasets (and caching) between multiple inputs.
181 * And much, much more...
182
183 [0.10.0 milestone]: https://github.com/twitter/typeahead.js/issues?milestone=8&page=1&state=closed
184
185 [#1181]: https://github.com/twitter/typeahead.js/pull/1181
186 [#1143]: https://github.com/twitter/typeahead.js/pull/1143
187 [#1110]: https://github.com/twitter/typeahead.js/pull/1110
188 [#964]: https://github.com/twitter/typeahead.js/pull/964
189 [#917]: https://github.com/twitter/typeahead.js/pull/917
190 [#899]: https://github.com/twitter/typeahead.js/pull/899
191 [#881]: https://github.com/twitter/typeahead.js/pull/881
192 [#839]: https://github.com/twitter/typeahead.js/pull/839
193 [#833]: https://github.com/twitter/typeahead.js/pull/833
194 [#815]: https://github.com/twitter/typeahead.js/pull/815
195 [#811]: https://github.com/twitter/typeahead.js/pull/811
196 [#809]: https://github.com/twitter/typeahead.js/pull/809
197 [#771]: https://github.com/twitter/typeahead.js/pull/771
198 [#754]: https://github.com/twitter/typeahead.js/pull/754
199 [#742]: https://github.com/twitter/typeahead.js/pull/742
200 [#718]: https://github.com/twitter/typeahead.js/pull/718
201 [#710]: https://github.com/twitter/typeahead.js/pull/710
202 [#705]: https://github.com/twitter/typeahead.js/pull/705
203 [#703]: https://github.com/twitter/typeahead.js/pull/703
204 [#687]: https://github.com/twitter/typeahead.js/pull/687
205 [#664]: https://github.com/twitter/typeahead.js/pull/664
206 [#659]: https://github.com/twitter/typeahead.js/pull/659
207 [#646]: https://github.com/twitter/typeahead.js/pull/646
208 [#633]: https://github.com/twitter/typeahead.js/pull/633
209 [#630]: https://github.com/twitter/typeahead.js/pull/630
210 [#612]: https://github.com/twitter/typeahead.js/pull/612
211 [#610]: https://github.com/twitter/typeahead.js/pull/610
212 [#485]: https://github.com/twitter/typeahead.js/pull/485
213 [#270]: https://github.com/twitter/typeahead.js/pull/270
214 [#266]: https://github.com/twitter/typeahead.js/pull/266
215 [#260]: https://github.com/twitter/typeahead.js/pull/260
216 [#209]: https://github.com/twitter/typeahead.js/pull/209
217 [#207]: https://github.com/twitter/typeahead.js/pull/207
218 [#190]: https://github.com/twitter/typeahead.js/pull/190
219 [#172]: https://github.com/twitter/typeahead.js/pull/172
220 [#159]: https://github.com/twitter/typeahead.js/pull/159
221 [#157]: https://github.com/twitter/typeahead.js/pull/157
222 [#156]: https://github.com/twitter/typeahead.js/pull/156
223 [#152]: https://github.com/twitter/typeahead.js/pull/152
224 [#137]: https://github.com/twitter/typeahead.js/pull/137
225 [#132]: https://github.com/twitter/typeahead.js/pull/132
226 [#131]: https://github.com/twitter/typeahead.js/pull/131
227 [#118]: https://github.com/twitter/typeahead.js/pull/118
228 [#116]: https://github.com/twitter/typeahead.js/pull/116
229 [#115]: https://github.com/twitter/typeahead.js/pull/115
230 [#109]: https://github.com/twitter/typeahead.js/pull/109
231 [#108]: https://github.com/twitter/typeahead.js/pull/108
232 [#106]: https://github.com/twitter/typeahead.js/pull/106
233 [#81]: https://github.com/twitter/typeahead.js/pull/81
234 [#77]: https://github.com/twitter/typeahead.js/pull/77
235 [#75]: https://github.com/twitter/typeahead.js/pull/75
236 [#74]: https://github.com/twitter/typeahead.js/pull/74
237 [#59]: https://github.com/twitter/typeahead.js/pull/59
238 [#51]: https://github.com/twitter/typeahead.js/pull/51
239 [#48]: https://github.com/twitter/typeahead.js/pull/48
240 [#47]: https://github.com/twitter/typeahead.js/pull/47
241 [#40]: https://github.com/twitter/typeahead.js/pull/40
242 [#39]: https://github.com/twitter/typeahead.js/pull/39
243 [#38]: https://github.com/twitter/typeahead.js/pull/38
244 [#34]: https://github.com/twitter/typeahead.js/pull/34
245 [#26]: https://github.com/twitter/typeahead.js/pull/26
246 [#25]: https://github.com/twitter/typeahead.js/pull/25
247 [#15]: https://github.com/twitter/typeahead.js/pull/15
248 [#6]: https://github.com/twitter/typeahead.js/pull/6
249 [#3]: https://github.com/twitter/typeahead.js/pull/3