Skip to content

Blacklight 4.6.0

Choose a tag to compare

@cbeer cbeer released this 10 Jan 16:38
· 4269 commits to main since this release

Commit History | Milestone

Deprecation Warnings

Blacklight 4.6.0 introduces a number of deprecation warnings for features that will be removed in the upcoming Blacklight 5.0 release. Many of these features pre-date improvements made in Rails which render them obsolete. Deprecated methods include:

  • sidebar_items
  • topbar_items
  • default_html_head
  • extra_head_content
  • stylesheet_links
  • javascript_includes
  • render_head_content
  • render_stylesheet_includes
  • render_js_includes
  • render_extra_head_content
  • adjust_for_results_view
  • render_pagination_info
  • index_field_names
  • index_field_labels
  • document_show_field_labels

Features

Move search results header content (did you mean, constraints, sort and per page tools, etc) into an overridable partial

Improvements

When removing the no-js class on , also add a js class

Provide kaminari-compatible implementations of #page_entries_info, and deprecate our custom #render_pagination_info.

Improve the pagination info text with only a single result.

#636 Fix a Rails 4.0.1 regression with the more-like-this feature