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