Skip to content

Releases: projectblacklight/blacklight

Blacklight 5.9.0

31 Jan 16:56
Compare
Choose a tag to compare

Commit History | Milestone

New Features

#1068 Render atom and rss feeds using the document partial rendering pipeline, so items in the feeds can have type-specific formats
#1063 Allow the blacklight configuration for the title field to accept multiple field names

Bug Fixes and improvements

#1067 RSS and Atom feeds should use #url_for_document helper
#1066 #current_sort_field should use the sort field that matches the sort value actually sent to solr
#1065 Searches with a single result should show "back to search" and "start over" buttons
#1064 Update tests to use blacklight_config.solr_document_model, and not hardcode SolrDocument
#1058 add X-UA-Compatible tag "to ensure the best rendering possible in each supported version of Internet Explorer."

Blacklight 5.8.2

29 Dec 15:48
Compare
Choose a tag to compare

Changes:

  • Removed deprecation warnings in Rails 4.2
    • Renamed *.css.scss files to *.scss
    • Removed string keys: 'controller' and 'action' from the parameters passed to the URL helpers
  • Fix default record email fields

Blacklight 5.8.1

16 Dec 17:31
Compare
Choose a tag to compare

Commit History | Milestone

Blacklight 5.8.1 addresses backwards incompatible behavior introduced in 5.8.0, including:

  • #1037 adding deprecation warnings for SolrHelper#blacklight_solr
  • #1042, #1043 Opening refworks and endnote actions without the modal behavior
  • #1043 Incompatibility with methods defined in blacklight-marc
  • #1045 Preserving the type of hash passed to SolrRepository, fixing an incompatibility with applications that expect HashWithIndifferentAccess-like behavior

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