Skip to content

Releases: projectblacklight/blacklight

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.

Blacklight 5.3.0

20 Mar 22:11
Compare
Choose a tag to compare

Commit History | Milestone

New Features and improvements

  • #840 add blacklight_config.show.route configuration for generating links to solr documents
  • #842 extract#type_field_to_partial_name helper to translate a document format to a partial suffix
  • #845 extract useful partials and helpers from layouts/blacklight so local applications can override the layout, but continue to use blacklight-provided functionality
  • #846 add blacklight:check:solr and blacklight:check:controller rake tasks for validating Blacklight's connection to Solr

Bug Fixes

  • #844 Fix the "Back to Search" behavior (arguably broken since Blacklgiht 4.5) from search results not on the first page. The new behavior also ensures if the user navigates to a result using the catalog#show pagination, the Back to Search link returns them to the search result page that includes their current document, not the one they started from.
  • Fix ajax modal form selector to ensure forms within an ajax modal stay within the modal

Blacklight 5.2.0

13 Mar 01:36
Compare
Choose a tag to compare

Commit History | Milestone

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.