v5.4.0
New Features and improvements
#864 Configuration for facets, index and show fields, sort fields, and document_index_views should support configurable if
and unless
constraints
#852 support bookmark export using a callback url
support Rails 4.1
polymorphic associations from bookmarks to solr documents
New translations
#854 Add pt-BR translation (h/t @rvalyi)
Bug Fixes
#872 render_document_index helper should pass locals through to the templates
#868 clicking a facet label should not scroll the user's browser
#866 escape date values for sending to solr
#850 search bar in Firefox is truncated
#848 set the Solr :row
parameter if no default parameter is provided
#880 bookmark cite and email links should be restricted to the current page
Upgrade Guide
-
This release includes a new database migration. After updating the gem, you should also run:
$ rake blacklight:install:migrations
to get the latest migrations.
-
If you are running Rails 3, you MUST set
Blacklight.secret_key
in an initializer. Consider using something like value ofSecureRandom.hex(64)
to seed this secret. This value should be private.Under Rails 4, Blacklight will use the application-wide secret key base.