|
| 1 | +<a name="0.8.0"></a> |
| 2 | +# [0.8.0](https://github.com/algolia/instantsearch.js/compare/v0.7.0...v0.8.0) (2015-11-03) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* **cssClasses:** Fixed duplication of classNames ([e193f45](https://github.com/algolia/instantsearch.js/commit/e193f45)), closes [#388](https://github.com/algolia/instantsearch.js/issues/388) |
| 8 | +* **doc:** add doctype were missing ([86a18aa](https://github.com/algolia/instantsearch.js/commit/86a18aa)) |
| 9 | +* **doc:** new color scheme ([deccc17](https://github.com/algolia/instantsearch.js/commit/deccc17)) |
| 10 | +* **doc:** only show a scrollbar when needed ([f2d955b](https://github.com/algolia/instantsearch.js/commit/f2d955b)) |
| 11 | +* **hierarchical:** setPage 0 when toggling ([a976539](https://github.com/algolia/instantsearch.js/commit/a976539)), closes [#371](https://github.com/algolia/instantsearch.js/issues/371) |
| 12 | +* **jsdoc:** use babel-node ([453dc21](https://github.com/algolia/instantsearch.js/commit/453dc21)) |
| 13 | +* **live-doc:** generates missing ul ([b43e6e2](https://github.com/algolia/instantsearch.js/commit/b43e6e2)) |
| 14 | +* **live-doc:** move scrollbars, removes useless ones ([548ae5f](https://github.com/algolia/instantsearch.js/commit/548ae5f)) |
| 15 | +* **live-doc:** moves octocat link to top. Removes stackOverflow ([8ff6a79](https://github.com/algolia/instantsearch.js/commit/8ff6a79)) |
| 16 | +* **live-doc:** Moves version in the main content ([27731c3](https://github.com/algolia/instantsearch.js/commit/27731c3)) |
| 17 | +* **live-reload:** integrates the links into the menu flow ([c118051](https://github.com/algolia/instantsearch.js/commit/c118051)) |
| 18 | +* **numerical widgets:** s/facetName/attributeName ([f209f5d](https://github.com/algolia/instantsearch.js/commit/f209f5d)), closes [#431](https://github.com/algolia/instantsearch.js/issues/431) |
| 19 | +* **refinementList:** ensure the key reflects the underlying state ([b048f0b](https://github.com/algolia/instantsearch.js/commit/b048f0b)), closes [#398](https://github.com/algolia/instantsearch.js/issues/398) |
| 20 | + |
| 21 | +### Features |
| 22 | + |
| 23 | +* **examples:** try examples instead of themes ([bedffce](https://github.com/algolia/instantsearch.js/commit/bedffce)) |
| 24 | +* **headerFooter:** Only add markup if a template is defined ([7a2d22d](https://github.com/algolia/instantsearch.js/commit/7a2d22d)), closes [#370](https://github.com/algolia/instantsearch.js/issues/370) |
| 25 | +* **priceRanges:** Add BEM classes and tests ([ad58d7a](https://github.com/algolia/instantsearch.js/commit/ad58d7a)), closes [#387](https://github.com/algolia/instantsearch.js/issues/387) |
| 26 | + |
| 27 | + |
| 28 | +### BREAKING CHANGES |
| 29 | + |
| 30 | +* numerical widgets: the priceRanges and rangeSlider widgets are now using `attributeName` instead of `facetName`. |
| 31 | +* priceRanges: `ais-price-ranges--range` are now named |
| 32 | +`ais-price-ranges--item` and are wrapped in |
| 33 | +a `ais-price-ranges--list`. |
| 34 | + |
| 35 | +I've moved the bottom form into it's own PriceRangesForm component, |
| 36 | +along with its own tests. I've fixed a minor typo where the component |
| 37 | +was internally named PriceRange (without the final __s__). |
| 38 | + |
| 39 | +I factorize some logic form the render in individual methods and |
| 40 | +manage to individually test them. This was not an easy task. I had to |
| 41 | +mock the default `render` (so it does nothing) before instanciating |
| 42 | +the component. Then, I was able to call each inner method |
| 43 | +individually. This requires to stub prototype methods in beforeEach, |
| 44 | +then restore them in afterEach. I've added a few helper methods, this |
| 45 | +can surely be simplified again but this gives nice granularity in |
| 46 | +testing. |
| 47 | + |
| 48 | +I've renamed the `range` items to `item` and wrapped them in a `list`. |
| 49 | +I've also added classes to all elements we add (`label`, `separator`, |
| 50 | +etc). I've removed the empty `span`s. |
| 51 | +* headerFooter: The `<div class="ais-header">` and `<div |
| 52 | +class="ais-footer">` markup is only added when |
| 53 | +a `templates.{header,footer}` is passed. |
| 54 | + |
| 55 | + |
| 56 | + |
1 | 57 | <a name="0.7.0"></a>
|
2 | 58 | # [0.7.0](https://github.com/algolia/instantsearch.js/compare/v0.6.5...v0.7.0) (2015-10-28)
|
3 | 59 |
|
|
0 commit comments