Skip to content

Releases: projectblacklight/blacklight

Blacklight 4.6.3

30 Jan 18:04
Compare
Choose a tag to compare

Commit History | Milestone

We’ve released Blacklight 4.6.3 with more deprecations and backports from the
Blacklight 5.x work:

Deprecations:

  • FeedbackController
  • #paginate_rsolr_response helper

Backports:

  • #711 Allowing solr query to use either get or post http method based on the http_method configuration parameter
  • #714 View type should persist between searches
  • #717 Add configuration options to add_facet_field 'field', :show => to
    allow "run-time" configuration when the solr data and request context
    are available, with a couple different options.

Blacklight 4.6.0

10 Jan 16:38
Compare
Choose a tag to compare

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

Blacklight 4.5.0

24 Oct 23:40
Compare
Choose a tag to compare

Commit History | Milestone

Features

#613 Add friendly error page when no search results are found

#619 (and #605) Store and retrieve "search history context" in the database, and add multi-tab search support for blacklight-4.3

Improvements

#621 Extract Blacklight::Base module out of Blacklight::Catalog with all the methods needed to work with Blacklight::SolrHelper

#615 Refactor the catalog/index.html.erb template to render e.g. facets in a separate partial

#629 Pass the Blacklight field configuration through to render_field_value, so we can pull a field-specific separator out as needed

#627 add :document_counter to render_document_partial call in atom builder

#626 JSON response from CatalogController#index can be overridden

#622 License missing from gemspec

Blacklight 4.5.0 Release Candidate 1

21 Oct 17:12
Compare
Choose a tag to compare
Pre-release

Commit History | Milestone

Features

#613 Add friendly error page when no search results are found

#619 (and #605) Store and retrieve "search history context" in the database, and add multi-tab search support for blacklight-4.3

Improvements

#621 Extract Blacklight::Base module out of Blacklight::Catalog with all the methods needed to work with Blacklight::SolrHelper

#615 Refactor the catalog/index.html.erb template to render e.g. facets in a separate partial

#627 add :document_counter to render_document_partial call in atom builder

#626 JSON response from CatalogController#index can be overridden

#622 License missing from gemspec

Blacklight 4.4.2

27 Sep 19:44
Compare
Choose a tag to compare

Commit History | Milestone

Bug Fixes

  • #614 Support Kaminari master, but including Kaminari::ConfigurationMethods into our SolrResponse pagination.

Other improvements

  • #618 Prune dead code for "result_view"
  • #610 Add facet labels to the json response
  • Adjust bookmark and refworks forms to style the submit tag, instead of adding a link-styled-as-abutton
  • Address deprecation warnings (Relation#all, mock => double)
  • Use the Rails url_options to construct ActionMailer URLs

Blacklight 4.4.1

18 Sep 14:05
Compare
Choose a tag to compare

Commit History | Milestone

Bug Fixes

  • Various fixes to the thumbnail templates

Other improvements

  • add Blacklight::Solr::Document#first to retrieve the first value from a field
  • add facet=true to the solr request when config.add_facet_fields_to_solr_request is true
  • pass the document_counter when rendering the document index partial

Blacklight 4.4.0

17 Sep 18:59
Compare
Choose a tag to compare

Commit History | Upgrade Guide | Milestone

Features

  • #598 Show thumbnails (if available) for documents in search results
  • #594 Provide Blacklight configuration support for linking field values to facets
  • #589 Support Rails 4.x-style turbolinks (Blacklight-provided javascript should be loaded on document ready or the page:load event)
  • #588 Provide an (experimental) JSON API for search and show
  • #577 Add Solr Field Collapsing feature, if the Solr response includes a grouped element.

Bug Fixes

  • #640 Fix the solr query Blacklight generates when the query contains Solr "local parameters" containing digits (e.g. $pf2_value)
  • #590 Fix transferring unregistered guest user bookmarks to a newly registered user
  • #587 Fix Zotero support, where ampersands in the context object were being double escaped
  • #534 Blacklight::CatalogHelperBehavior#paginate_params values of first_page? and last_page? incorrectly set?
  • #525 Add i18n support to Bookmarks javascript replacement
  • #585 Add keyboard accessibility to the facet expanders
  • #563 Login page should have focus in the email field, not the search field.

Other Improvements

  • #600 Decomposing blacklight generator
  • #599 Improving speed of blacklight generator
  • #597 Rewrite document_counter logic in header
  • #596 Don't generate devise views by default
  • #595 Support kaminari pagination helpers in Blacklight::SolrResponse (kaminari can now work with our SolrResponse objects natively).
  • #591 Remove cucumber. All features have been ported to rspec feature tests.
  • #584 Move onload_text out of layouts/blacklight.html.erb
  • #515 Ensure we run bundle install after generating bootstrap-sass into the Gemfile
  • Update lightbox_dialog.js - Adding an event for DOM change when modal is already shown
  • #607 Refactor catalog#email and catalog#sms methods
  • #609 The solr facet :ex local parameter should work with pivot and facet
    field configurations.
  • Convert some bare strings to i18n strings
  • #608 Use ActiveRecord query methods in Blacklight::User mixin

Upgrade Guide

If you've overridden the catalog/sms.html.erb template or RecordMailer#sms action (e.g. to add custom SMS provider mappings), you should look at the changes in this patch, which moved the mappings and validation into the controller.

Blacklight 4.3.0

17 Sep 19:05
Compare
Choose a tag to compare

Commit History | Upgrade Guide

Bug fixes include:

  • #556 check that a highlight field exists before trying to render it.
  • #561 Redirect to home page on a missing document
  • #569 Applies header style to #header-navbar-fixed-top .brand in order to avoid trumping other Bootstrap navbars.
  • use #facet_configuration_for_field to render search history constraints for consistency and configuration-independence

Other changes:

  • deprecate #sidebar_items, and stop populating it with content.
  • provide a SOLR_URL ENV variable to set the location of the development solr core
  • fix Rails 4-related deprecation warnings

Upgrade Guide

Application overrides that used the CSS selector .navbar .brand to change the navbar styling should use #header-navbar-fixed-top .brand instead.

Applications that used content from #sidebar_items must populate that content themselves (by rendering it directly in their partial, or in some other application-specific way).

Blacklight 4.2.2

17 Sep 19:09
Compare
Choose a tag to compare

Commit History | Upgrade Guide

Improvements

  • Update testing dependencies for Rails 4.0 release
  • Update testing framework to use Solr 4.x

Upgrade Guide

No known issues

Blacklight 4.2.1

17 Sep 19:11
Compare
Choose a tag to compare

Commit History | Upgrade Guide

Bug fixes

  • #554 enable users to update bootstrap-sass to the latest version
  • #557 add the post route for sending email
  • #559 Remove unnecessary require of 'mash' which was causing "uninitialized constant HashWithIndifferentAccess"
  • Fixed issue with refworks exports 156e76

Improvements

  • Rails 4 support

Upgrade Guide

No known issues