Skip to content

Commit 5ee80d9

Browse files
committed
release: v2.0.2
1 parent 0c5f724 commit 5ee80d9

File tree

3 files changed

+97
-92
lines changed

3 files changed

+97
-92
lines changed

CHANGES.md

Lines changed: 93 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,230 +1,235 @@
11
# Changes
22

3+
Version 2.0.2 (released 2022-10-19)
4+
5+
- pagination: navigate to previous page if current page is empty
6+
37
Version 2.0.1 (released 2022-04-28)
4-
* Fix Searchbar missing `queryString` prop
8+
9+
- Fix Searchbar missing `queryString` prop
510

611
Version 2.0.0 (released 2022-03-31) 🚀
712

8-
* Adds ARIA tags to dropdowns.
9-
* Fixes Toggle component by changing the overridable id to `SearchFilters.Toggle`.
10-
* Integrates `eslint-config-invenio` and fixes code.
11-
* Improves documentation.
13+
- Adds ARIA tags to dropdowns.
14+
- Fixes Toggle component by changing the overridable id to `SearchFilters.Toggle`.
15+
- Integrates `eslint-config-invenio` and fixes code.
16+
- Improves documentation.
1217

1318
Version 1.0.0-alpha.22 (released 2022-02-11)
1419

15-
* EmptyResults: pass userSelectionFilters filters.
16-
* Change patch versions of NPM dependencies to x.x.0 to relax requirements.
20+
- EmptyResults: pass userSelectionFilters filters.
21+
- Change patch versions of NPM dependencies to x.x.0 to relax requirements.
1722

1823
Version 1.0.0-alpha.21 (released 2022-02-07)
1924

20-
* Add namespace to overridable id to the Toggle component.
21-
* Adds docs to how to customize RSK using react-overridable.
25+
- Add namespace to overridable id to the Toggle component.
26+
- Adds docs to how to customize RSK using react-overridable.
2227

2328
Version 1.0.0-alpha.20 (released 2022-02-02)
2429

25-
* Adds "@semantic-ui-react/css-patch" as peer dependency.
30+
- Adds "@semantic-ui-react/css-patch" as peer dependency.
2631

2732
Version 1.0.0-alpha.19 (released 2022-02-01)
2833

29-
* Fixes wrong NPM peer dependencies.
34+
- Fixes wrong NPM peer dependencies.
3035

3136
Version 1.0.0-alpha.18 (released 2022-02-01)
3237

33-
* Adds namespacing allowing users to initiate multiple search applications
38+
- Adds namespacing allowing users to initiate multiple search applications
3439
and be able to override components per instance.
35-
* Upgrades react-semantic-ui.
40+
- Upgrades react-semantic-ui.
3641

3742
Version 1.0.0-alpha.17 (released 2021-07-27)
3843

39-
* Fix deselection of nested facet.
44+
- Fix deselection of nested facet.
4045
Fixes https://github.com/inveniosoftware/invenio-app-rdm/issues/1014
4146

4247
Version 1.0.0-alpha.16 (released 2021-07-21)
4348

44-
* Update axios dep
49+
- Update axios dep
4550

4651
Version 1.0.0-alpha.15 (released 2021-04-20)
4752

48-
* Adds new request serializer to interact with REST APIs made with
53+
- Adds new request serializer to interact with REST APIs made with
4954
Invenio-Records-Resources instead of Invenio-Records-REST.
5055

5156
Version 1.0.0-alpha.14 (released 2021-02-18)
5257

53-
* Fixed URL params parsing when the query string starts with numbers
58+
- Fixed URL params parsing when the query string starts with numbers
5459
or contains quotes. The type auto-guessing of each URL param has been
5560
replaced by only specifically casting `size` and `page` to `int`.
5661

5762
Version 1.0.0-alpha.13 (released 2021-02-10)
5863

59-
* Use `config.initialQueryState` to override state when resetting query
64+
- Use `config.initialQueryState` to override state when resetting query
6065

6166
Version 1.0.0-alpha.12 (released 2021-02-04)
6267

63-
* Added `size` option to Pagination component
64-
* Refactor `options` parameter passed to Pagination component so you can override
68+
- Added `size` option to Pagination component
69+
- Refactor `options` parameter passed to Pagination component so you can override
6570
the default options partially without having to pass the whole object.
6671

6772
Version 1.0.0-alpha.11 (released 2021-01-12)
6873

69-
* Fix bucket aggregation filter widget to handle array or object buckets from ES response
74+
- Fix bucket aggregation filter widget to handle array or object buckets from ES response
7075

7176
Version 1.0.0-alpha.10 (released 2020-11-13)
7277

73-
* Implemented state synchronization with the browser history
74-
* Implemented configurable URL validation
78+
- Implemented state synchronization with the browser history
79+
- Implemented configurable URL validation
7580

7681
Version 1.0.0-alpha.9 (released 2020-11-10)
7782

78-
* Fixed bug that prevent boolean checkboxes to be selected.
79-
* Implemented sorting on empty query string and updated the documentation.
80-
* Removes `connectExtend` function.
81-
* Removes travis and adds GH actions.
83+
- Fixed bug that prevent boolean checkboxes to be selected.
84+
- Implemented sorting on empty query string and updated the documentation.
85+
- Removes `connectExtend` function.
86+
- Removes travis and adds GH actions.
8287

8388
Version 1.0.0-alpha.8 (released 2020-10-29)
8489

85-
* Adds a ToggleFilter component
86-
* Removes compact css class from the sort drop down.
90+
- Adds a ToggleFilter component
91+
- Removes compact css class from the sort drop down.
8792

8893
Version 1.0.0-alpha.7 (released 2020-10-20)
8994

90-
* Override query state from search response.
91-
* `InvenioSearchApi` extracts overriden state from response.
92-
* Configure `Sort` component to disable the order option.
93-
* Remove `valuesLabels` prop from `BucketAggregation` component.
95+
- Override query state from search response.
96+
- `InvenioSearchApi` extracts overriden state from response.
97+
- Configure `Sort` component to disable the order option.
98+
- Remove `valuesLabels` prop from `BucketAggregation` component.
9499

95100
Version 1.0.0-alpha.6 (released 2020-10-15)
96101

97-
* Override query state from search response.
98-
* `InvenioSearchApi` extracts overriden state from response.
99-
* Configure `Sort` component to disable the order option.
102+
- Override query state from search response.
103+
- `InvenioSearchApi` extracts overriden state from response.
104+
- Configure `Sort` component to disable the order option.
100105

101106
Version 1.0.0-alpha.5 (released 2020-10-12)
102107

103-
* Enhanced SearchBar component to enable more customizability via props.
108+
- Enhanced SearchBar component to enable more customizability via props.
104109

105110
Version 1.0.0-alpha.4 (released 2020-10-09)
106111

107-
* BREAKING CHANGE: removes props to set the initial default value from each UI component. The only
112+
- BREAKING CHANGE: removes props to set the initial default value from each UI component. The only
108113
way to set the initial state of the search app is by using the prop `initialQueryState` in the
109114
`ReactSearchKit` component.
110-
* Upgrades dependencies and React SemanticUI version.
115+
- Upgrades dependencies and React SemanticUI version.
111116

112117
Version 1.0.0-alpha.3 (released 2020-08-25)
113118

114-
* Adds `hiddenParams` to the query state, to allow passing "hidden" query string
119+
- Adds `hiddenParams` to the query state, to allow passing "hidden" query string
115120
parameters to the search API.
116-
* Adds `initialQueryState` prop to `<ReactSearchkit>`, to allow overriding the
121+
- Adds `initialQueryState` prop to `<ReactSearchkit>`, to allow overriding the
117122
initial query state.
118123

119124
Version 1.0.0-alpha.2 (released 2020-08-05)
120125

121-
* Add additional props to BucketAggregation component - flexible overrides
126+
- Add additional props to BucketAggregation component - flexible overrides
122127

123128
Version 1.0.0-alpha.1 (released 2020-05-15)
124129

125-
* Remove 'use strict' directive from the built CommonJS module dist,
130+
- Remove 'use strict' directive from the built CommonJS module dist,
126131
which was wrong and breaking Babel runtime helper. Sites using
127132
Content-Security-Policies headers were reporting 'unsafe-eval' error.
128-
* Remove `react-scripts` from `peerDependencies`.
133+
- Remove `react-scripts` from `peerDependencies`.
129134

130135
Version 1.0.0-alpha.0 (released 2020-05-13)
131136

132-
* Breaking: integrate `react-overridable` library. The `renderElement` props have been removed in favour
137+
- Breaking: integrate `react-overridable` library. The `renderElement` props have been removed in favour
133138
of `<Overridable />` components.
134-
* Fix rendering components even if they should not render when loading.
139+
- Fix rendering components even if they should not render when loading.
135140

136141
Version 0.19.0 (released 2020-04-14)
137142

138-
* Add `label` prop to wrap components with a `prefix` and/or `suffix` text.
139-
* Fix a bug with wrong Redux initial state.
143+
- Add `label` prop to wrap components with a `prefix` and/or `suffix` text.
144+
- Fix a bug with wrong Redux initial state.
140145

141146
Version 0.18.0 (released 2020-04-02)
142147

143-
* Fixed axios url config override.
144-
* Updated axios dependency to 0.19.2.
145-
* Fixed documentation typos.
146-
* Replaced arrow functions with class methods.
147-
* Set initialLoading to true
148-
* Exposed function`updateQueryState` with `withState` HOC.
149-
* Support for multiple filters in `updateQueryState`.
148+
- Fixed axios url config override.
149+
- Updated axios dependency to 0.19.2.
150+
- Fixed documentation typos.
151+
- Replaced arrow functions with class methods.
152+
- Set initialLoading to true
153+
- Exposed function`updateQueryState` with `withState` HOC.
154+
- Support for multiple filters in `updateQueryState`.
150155

151156
Version 0.17.0 (released 2020-02-19)
152157

153-
* Added event listener to trigger search from external app
154-
* Removed `history` prop and related code/doc
155-
* Updated react deps
158+
- Added event listener to trigger search from external app
159+
- Removed `history` prop and related code/doc
160+
- Updated react deps
156161

157162
Version 0.16.0 (released 2019-12-04)
158163

159-
* added configuration for passing axios interceptors in `InvenioSearchApi`
164+
- added configuration for passing axios interceptors in `InvenioSearchApi`
160165

161166
Version 0.14.0 (released 2019-10-15)
162167

163-
* added multi-layout support fo search results
164-
* changed params passing to pagination and display of search result card
168+
- added multi-layout support fo search results
169+
- changed params passing to pagination and display of search result card
165170

166171
Version 0.13.0 (released 2019-10-01)
167172

168-
* Removed Semantic-UI import from the library and moved to the demo app
169-
* Upgraded create-react-app to 3.1.2
173+
- Removed Semantic-UI import from the library and moved to the demo app
174+
- Upgraded create-react-app to 3.1.2
170175

171176
Version 0.12.0 (released 2019-09-10)
172177

173-
* Fixed bug to prevent state mutation when getting URL args
174-
* Renamed component withQueryState to withState
178+
- Fixed bug to prevent state mutation when getting URL args
179+
- Renamed component withQueryState to withState
175180

176181
Version 0.11.0 (released 2019-08-30)
177182

178-
* Moved all dev dependencies to peer dependencies
179-
* Removed for the time being the `redux-devtools-extension` because it is wrongly transformed from CommonJS to ES modules
183+
- Moved all dev dependencies to peer dependencies
184+
- Removed for the time being the `redux-devtools-extension` because it is wrongly transformed from CommonJS to ES modules
180185

181186
Version 0.10.0 (released 2019-08-30)
182187

183-
* Changed lib build system to use Rollup instead of Babel to be able to build the CommonJS version too
188+
- Changed lib build system to use Rollup instead of Babel to be able to build the CommonJS version too
184189

185190
Version 0.9.0 (released 2019-08-26)
186191

187-
* Fixed babel absolute runtimes when publishing the library on npmjs
192+
- Fixed babel absolute runtimes when publishing the library on npmjs
188193

189194
Version 0.8.0 (released 2019-08-26) -- deprecated on npmjs
190195

191-
* Dependencies upgrade
192-
* Fixed build with babel
193-
* Changed configuration for Invenio backend APIs
196+
- Dependencies upgrade
197+
- Fixed build with babel
198+
- Changed configuration for Invenio backend APIs
194199

195200
Version 0.7.0 (released 2019-08-13)
196201

197-
* Replaced nwb with create-react-app since nwb is not anymore maintained and it comes with many security vulnerabilities
198-
* create-react-app is now used for development, babel to build the library
202+
- Replaced nwb with create-react-app since nwb is not anymore maintained and it comes with many security vulnerabilities
203+
- create-react-app is now used for development, babel to build the library
199204

200205
Version 0.6.0 (released 2019-08-07)
201206

202-
* Added withQueryState component exposing redux query state to external components
207+
- Added withQueryState component exposing redux query state to external components
203208

204209
Version 0.5.0 (released 2019-06-27)
205210

206-
* Added SearchBar component with autocompletion
211+
- Added SearchBar component with autocompletion
207212

208213
Version 0.4.0 (released 2019-04-24)
209214

210-
* Updated nested aggregation code
211-
* Change in how selected aggregations are displayed
212-
* Updated response/request serializers
213-
* Added option to display aggregations as expandable accordions
215+
- Updated nested aggregation code
216+
- Change in how selected aggregations are displayed
217+
- Updated response/request serializers
218+
- Added option to display aggregations as expandable accordions
214219

215220
Version 0.3.0 (released 2018-12-05)
216221

217-
* Upgraded dependencies to remove event-stream npm package
218-
* Fixed an issue with sorting component
219-
* Completed documentation changes for components
222+
- Upgraded dependencies to remove event-stream npm package
223+
- Fixed an issue with sorting component
224+
- Completed documentation changes for components
220225

221226
Version 0.2.0 (released 2018-11-15)
222227

223-
* Added npm build:watch to task to easily integrate while making changes to the app
224-
* Harmonization of renderElement prop for components
225-
* Added reset query action
226-
* Changed documentation layout for some components
228+
- Added npm build:watch to task to easily integrate while making changes to the app
229+
- Harmonization of renderElement prop for components
230+
- Added reset query action
231+
- Changed documentation layout for some components
227232

228233
Version 0.1.0 (released 2018-11-07)
229234

230-
* Initial public release.
235+
- Initial public release.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-searchkit",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "React components to build your search UI application",
55
"main": "dist/cjs/index.js",
66
"browser": "dist/cjs/index.js",
@@ -113,4 +113,4 @@
113113
"enzyme-to-json/serializer"
114114
]
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)