searchkit v0.7.0 Release Notes

Release Date: 2016-02-15 // about 8 years ago
  • 💥 Breaking Changes

    • 👀 Theming, 0.7 has major changes to component classnames and overall theming approach. Searchkit classes are now prefixed with sk- in order to avoid collisions, we also provide a set of variables which control various aspects of the theme. See theming section in docs.
    • Hits component requires mod="sk-hits-grid" to retain grid styling
    • 💅 If you are using the cdn, we only ship themes.css and no longer styles.css html <link href="//cdn.jsdelivr.net/searchkit/0.7.0/theme.css" rel="stylesheet"/>
    • ⚡️ Example pull request to update to 0.7.0
    • 📚 Searchkit Theming documentation

    Notable Changes

    • setQueryProcessor added to SearchkitManager which allows post processing of query before it is sent to elasticsearch. #131
    • 0️⃣ SortingSelector now allows empty field, sort properties, useful if you need to add a None option or you want to rely on elasticsearch defaults for sort direction. #116
    • ⚡️ ViewSwitcherHits and ViewSwitcherToggle toggle components which allows view switch functionality, e.g. grid or list view. Our theming updates also provide good defaults for grid + list views. #30
    • ResetFilter now accepts reset options. This allows the which features(filter, query, pagination) influence the resetting disabled state, and what gets reset once the component has been clicked. #107