|
| 1 | +<a name="0.3.0"></a> |
| 2 | +# [0.3.0](https://github.com/algolia/intantsearch.js/compare/v0.2.2...v0.3.0) (2015-09-24) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* Allow not specifying `cssClass` on index selector ([4e9324f](https://github.com/algolia/intantsearch.js/commit/4e9324f)) |
| 8 | +* More explicit error message when DOM selector is invalid ([d36a2ad](https://github.com/algolia/intantsearch.js/commit/d36a2ad)), closes [#105](https://github.com/algolia/intantsearch.js/issues/105) |
| 9 | +* Pass nbHits, hitsPerPage, nbPages and page to Stats widget ([deefd23](https://github.com/algolia/intantsearch.js/commit/deefd23)), closes [#106](https://github.com/algolia/intantsearch.js/issues/106) |
| 10 | +* **hideIfEmpty:** should be hideWhenNoResults ([21877a0](https://github.com/algolia/intantsearch.js/commit/21877a0)) |
| 11 | +* **Hits:** handle the display when there is no result ([544ff5c](https://github.com/algolia/intantsearch.js/commit/544ff5c)) |
| 12 | +* **menu:** send an empty array values when no values ([12cd7dc](https://github.com/algolia/intantsearch.js/commit/12cd7dc)), closes [#107](https://github.com/algolia/intantsearch.js/issues/107) |
| 13 | +* **pagination:** missing showFirstLast attribute when instanciating ([28fa0ae](https://github.com/algolia/intantsearch.js/commit/28fa0ae)) |
| 14 | +* **SearchBox:** Missing poweredBy in the not focused SearchBox ([ef695ff](https://github.com/algolia/intantsearch.js/commit/ef695ff)) |
| 15 | +* **slider:** hide slider if when no hits/matches ([31e4a80](https://github.com/algolia/intantsearch.js/commit/31e4a80)), closes [#107](https://github.com/algolia/intantsearch.js/issues/107) |
| 16 | + |
| 17 | +### Features |
| 18 | + |
| 19 | +* **menu,refinementList:** add header/item/footer templating solution ([58275dc](https://github.com/algolia/intantsearch.js/commit/58275dc)), closes [#101](https://github.com/algolia/intantsearch.js/issues/101) |
| 20 | +* **searchBox:** add poweredBy option, disabled by default ([c9da165](https://github.com/algolia/intantsearch.js/commit/c9da165)) |
| 21 | +* **stats:** add query variable to the template ([75f457d](https://github.com/algolia/intantsearch.js/commit/75f457d)) |
| 22 | +* **transformData:** add to every widget using the Template component ([d080a03](https://github.com/algolia/intantsearch.js/commit/d080a03)), closes [#116](https://github.com/algolia/intantsearch.js/issues/116) |
| 23 | +* **transformData:** refinementList + menu implementation ([0a0e36e](https://github.com/algolia/intantsearch.js/commit/0a0e36e)) |
| 24 | +* **urlSync:** add urlSync widget ([50fc4ce](https://github.com/algolia/intantsearch.js/commit/50fc4ce)) |
| 25 | +* **widgets:** auto hide some widgets ([187b4bd](https://github.com/algolia/intantsearch.js/commit/187b4bd)) |
| 26 | + |
| 27 | + |
| 28 | +### BREAKING CHANGES |
| 29 | + |
| 30 | +* Removed from menu and refinementList: |
| 31 | +- rootClass => cssClasses.root |
| 32 | +- itemCLass => cssClasses.item |
| 33 | +- template => templates.item |
| 34 | + |
| 35 | +Added to menu and refinementList: |
| 36 | +- cssClasses{root,list,item} |
| 37 | +- templates{header,item,footer} |
| 38 | +- widget (container) is automatically hidden by default |
| 39 | +- hideWhenNoResults=true |
| 40 | + |
| 41 | +This was done to allow more templating solutions like discussed in #101. |
| 42 | + |
| 43 | + |
| 44 | + |
1 | 45 | <a name="0.2.2"></a>
|
2 | 46 | ## [0.2.2](https://github.com/algolia/intantsearch.js/compare/v0.1.0...v0.2.2) (2015-09-17)
|
3 | 47 |
|
|
0 commit comments