Blacklight 5.2.0
This release contains a number of new features, but most importantly adds compatibility with Rails 4.1 and Ruby 2.1.1.
New Features and improvements
#787 Extract DocumentPresenter
module from BlacklightHelperBehavior
methods
#788 Extract RequestBuilder
module from SolrHelper
#811 Add Spanish locale file
#783 add :include_in_request
configuration option to augment add_facet_fields_to_solr_request!
and add_field_configuration_to_solr_request!
#819 Add new configuration options for Solr requests for single documents, document_solr_path
and document_unique_id_param
, allowing Blacklight to work with the RealTimeGetComponent in Solr 4.x
#818 Add default_per_page
configuration to the Blacklight configuration
#814 Generate jettywrapper as part of the blacklight:install process
#796 OpenStructWithHashAccess should respond to #to_json/#as_json as if it were a hash
#795 Facet HTML id
attributes should be a parameterized version of the field name, not the field label
#794 Add more configuration examples to the generated blacklight config
#831 pass the current partial name to the document_partial_name
helper, to allow partial-specific formats for documents
Bug Fixes
#821 Fix catalog#opensearch view under Rails 3.x
#791 Use ActiveSupport::Benchmarkable
with instance-level accessors, not class-level accessors
#786 Ensure page titles are HTML safe
#785 Fix two-arg form of SolrHelper#find
to pass through the solr request path
#780 remove unused #history_session
accessor
#778, #808, #806, #798 General test suite improvements
Upgrade Notes
The HTML ID change in #795 may be backwards-incompatible in some applications. If your application's css or javascript uses the old-style HTML id calculation, you will need to either update your assets to use the new ID, or override the #facet_field_id
helper to restore the old behavior.