Releases: projectblacklight/blacklight
Blacklight 5.7.2
Blacklight 5.7.1
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
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
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
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
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
v5.5.0
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
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:migrationsto get the latest migrations.
-
If you are running Rails 3, you MUST set
Blacklight.secret_keyin 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.
Blacklight 5.3.0
New Features and improvements
- #840 add
blacklight_config.show.routeconfiguration for generating links to solr documents - #842 extract
#type_field_to_partial_namehelper to translate a document format to a partial suffix - #845 extract useful partials and helpers from
layouts/blacklightso local applications can override the layout, but continue to use blacklight-provided functionality - #846 add
blacklight:check:solrandblacklight:check:controllerrake 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#showpagination, 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