Skip to content

Releases: projectblacklight/blacklight

Blacklight 5.8.0

10 Dec 20:01
Compare
Choose a tag to compare

Commit History | Milestone

New Features and improvements

#908 Update render_document_class helper to support view-specific classes
#1005 Update render_document_class helper to support multi-valued fields, with a new class name for each value
#982 Store the current search results view in the session and use it by default for new search requests in that session
#986 When a facet, index, or show field does not have a label, or is not configured for display, construct a placeholder label using humanize (fixes #974)
#998 Provide an extendable action framework for customizing (and allowing plugins to customize) what actions are available for a document
#1019 Refactored the signature of #link_to_document helper to accept the label or solr field as an argument instead of an option in a hash
#1034 Extract Blacklight::SolrRepository out of SolrHelper for managing requests to Solr

UI

#925 Truncate long constraint values to avoid wrapping or side-scrolling behavior
#1007 Make the solr document presenter class part of the blacklight configuration
#1008 Update the search bar styling to use the bootstrap <select> styling and a responsive-sized search box
#1009 Update the "remove facet" glyphicon alignment and add a hover state
#1011 Improve the :focus state of the Bootstrap .navbar-toggle element on an inverse navbar (Blacklight's default)

Bug Fixes

#904 The pagination's current page should not be wrapped in an <a> tag
#1004 The pagination's "gap" element should not be a <a>
#907 Fix a divide-by-zero exception if the per_page value is 0
#921 Fix the "zero results" message; don't show the "try searching everything" message when the current search field is the same as the suggestion
#983 the out-of-the-box record email template should include the format (fixes a regression in 2a7898)

Development tools

#964 Provide a nil logger when SolrHelper is used outside an ActiveController context
#1012 Add blacklight:server rake task for starting and stopping solr and the rails server in development

Upgrade Guide

Prior to Blacklight 5.8, #render_show_doc_actions only rendered the Bookmarks control. With the document action framework, it now renders all the available document actions.

Blacklight 5.7.2

10 Nov 18:07
Compare
Choose a tag to compare

Commit History | Milestone

#988 Use HTML5 input types email and tel where appropriate
#990 Add German i18n translation (@pfeeley)
#992 Correct missing pt-BR i18n field
#994 Update Blacklight to work with Rails 4.2.0.beta4 release
#997 Ensure numeric data is properly escaped before sending to solr

Blacklight 5.7.1

05 Sep 16:10
Compare
Choose a tag to compare

Commit History | Milestone

New Features and improvements

#984 More inclusive selector for bookmark counter - should be able to add a bookmark counter anywhere on a page now using data-role="bookmark-counter"

Bug Fixes

#985 Removes redundant asset path in favicon link

Note:

Blacklight applications that have created their own layouts, may see errors regarding duplicate asset paths. This can be fixed by removing asset_path method in the favicon_link_tag line. See: rails/sprockets-rails#167

Blacklight 5.7.0

28 Aug 18:08
Compare
Choose a tag to compare

Commit History | Milestone

New Features and improvements

#980 Adds bookmark counts
#978 Simplifies Travis builds
#975 Adds col-sm to catalog/show.html
#970 Updates session helpers to work with Devise 3.3

Bug Fixes

#976 More facets, sorting fixed
#968 RefWorks export broken, fix

Upgrade Notes

#980 Updates app/views/_user_util_links.html.erb. If you have overridden that in your app you may want to pull in the upstream changes from that partial to take advantage of the new bookmark counts feature.

#975 Updates catalog/show.html so to take advantage of those changes please see the new classes added in the PR.

Blacklight 5.6.0

13 Aug 14:51
Compare
Choose a tag to compare

Updates

#946 Require Bootstrap 3.2, and use bootstrap-sockets to fix asset pipeline problems with bootstrap-provided fonts, images, etc.

Upgrade guide

If you want to use bootstrap-sockets, you'll need to add it to your application in app/assets/stylesheets/blacklight.css.scss, e.g.

@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'blacklight/blacklight';

Blacklight 5.5.3

07 Aug 16:46
Compare
Choose a tag to compare

Bug fixes

#960 Words break when facet labels are too long
#958 Don't show "more" link for every facet
#962 Added missing SMS POST route
#963 Set the stylesheets to media=all so printed pages look better
#965 Corrected SMS carrier email addresses
#957 Catalog partial path lookup to include the view root too

v5.5.2

21 Jul 23:30
Compare
Choose a tag to compare

Bug fixes

#953 Fix another regression in FacetPaginator to allow the paginator to work with multiple pages
#951 Allow #back_to_search helper to work when no search is available
#944 Allow :route_set option for #render_constraints_query
#920 Hide view types if there are no results

Updates and other improvements

#950 Update to rspec3
#949 Test Blacklight against Solr 4.9
#947 Test Blacklight against the latest versions of Rails 3.2, 4.0, and 4.1
#945 Use Rails APIs to discover appropriate document type partials

Version 5.5.1

08 Jul 21:29
Compare
Choose a tag to compare

Bug fixes

#942 FacetPaginator paginates the results passed in, but they're already paginated by solr. Fixed by (#943)

v5.5.0

07 Jul 15:37
Compare
Choose a tag to compare

Commit History | Milestone

New Features and improvements

#888 Improve the responsive design of the facet sidebar to maintain a 2-column layout on tablet-sized browsers
#913 Update the AJAX Modal to detect and gracefully handle network errors
#914 Extract catalog/search_results partial from catalog/index to render the search result, search controls, etc.
#919 Add debug logging to the solr document partial lookup logic

Bug Fixes

#918 Ignore an empty f[facet][] query parameter.
#922 Update the bookmarks HTML to match the expected bootstrap form DOM
#928 Fix the FacetPaginator for kaminari 0.16
#935 Support i18n keys for constraint field labels
#940 Update the constraints HTML to remove a bad anchor tag

Upgrade Guide

v5.4.0

05 May 23:45
Compare
Choose a tag to compare

Commit History | Milestone

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 of SecureRandom.hex(64) to seed this secret. This value should be private.

    Under Rails 4, Blacklight will use the application-wide secret key base.