Skip to content

Commit 96e6660

Browse files
vvomaxiloc
vvo
authored andcommitted
v0.8.0
<a name="0.8.0"></a> # [0.8.0](v0.7.0...v0.8.0) (2015-11-03) ### Bug Fixes * **cssClasses:** Fixed duplication of classNames ([e193f45](e193f45)), closes [#388](#388) * **doc:** add doctype were missing ([86a18aa](86a18aa)) * **doc:** new color scheme ([deccc17](deccc17)) * **doc:** only show a scrollbar when needed ([f2d955b](f2d955b)) * **hierarchical:** setPage 0 when toggling ([a976539](a976539)), closes [#371](#371) * **jsdoc:** use babel-node ([453dc21](453dc21)) * **live-doc:** generates missing ul ([b43e6e2](b43e6e2)) * **live-doc:** move scrollbars, removes useless ones ([548ae5f](548ae5f)) * **live-doc:** moves octocat link to top. Removes stackOverflow ([8ff6a79](8ff6a79)) * **live-doc:** Moves version in the main content ([27731c3](27731c3)) * **live-reload:** integrates the links into the menu flow ([c118051](c118051)) * **numerical widgets:** s/facetName/attributeName ([f209f5d](f209f5d)), closes [#431](#431) * **refinementList:** ensure the key reflects the underlying state ([b048f0b](b048f0b)), closes [#398](#398) ### Features * **examples:** try examples instead of themes ([bedffce](bedffce)) * **headerFooter:** Only add markup if a template is defined ([7a2d22d](7a2d22d)), closes [#370](#370) * **priceRanges:** Add BEM classes and tests ([ad58d7a](ad58d7a)), closes [#387](#387) ### BREAKING CHANGES * numerical widgets: the priceRanges and rangeSlider widgets are now using `attributeName` instead of `facetName`. * priceRanges: `ais-price-ranges--range` are now named `ais-price-ranges--item` and are wrapped in a `ais-price-ranges--list`. I've moved the bottom form into it's own PriceRangesForm component, along with its own tests. I've fixed a minor typo where the component was internally named PriceRange (without the final __s__). I factorize some logic form the render in individual methods and manage to individually test them. This was not an easy task. I had to mock the default `render` (so it does nothing) before instanciating the component. Then, I was able to call each inner method individually. This requires to stub prototype methods in beforeEach, then restore them in afterEach. I've added a few helper methods, this can surely be simplified again but this gives nice granularity in testing. I've renamed the `range` items to `item` and wrapped them in a `list`. I've also added classes to all elements we add (`label`, `separator`, etc). I've removed the empty `span`s. * headerFooter: The `<div class="ais-header">` and `<div class="ais-footer">` markup is only added when a `templates.{header,footer}` is passed.
1 parent 647abc8 commit 96e6660

File tree

5 files changed

+65
-5
lines changed

5 files changed

+65
-5
lines changed

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
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+
157
<a name="0.7.0"></a>
258
# [0.7.0](https://github.com/algolia/instantsearch.js/compare/v0.6.5...v0.7.0) (2015-10-28)
359

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ To get started, check out [algolia.github.com/instantsearch.js](https://algolia.
2525

2626

2727
- [Setup](#setup)
28-
- [npm, browserify, webpack](#npm-browserify-webpack)
29-
- [`<script>`](#script)
28+
- [From a CDN](#from-a-cdn)
29+
- [With npm, browserify, webpack](#with-npm-browserify-webpack)
3030
- [Quick Start](#quick-start)
3131
- [Browser support](#browser-support)
3232
- [Development workflow](#development-workflow)
3333
- [Test](#test)
34+
- [Instant search configuration](#instant-search-configuration)
35+
- [Number locale](#number-locale)
36+
- [Initial search parameters](#initial-search-parameters)
37+
- [URL synchronisation](#url-synchronisation)
3438
- [License](#license)
3539
- [More...](#more)
3640

lib/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = '0.7.0';
1+
module.exports = '0.8.0';

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "instantsearch.js",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "instantsearch.js is a library of widgets to build high performance instant search experiences using Algolia",
55
"main": "dist/instantsearch.js",
66
"author": "Algolia <[email protected]>",

0 commit comments

Comments
 (0)