Skip to content

Releases: projectblacklight/spotlight

v2.0.2

30 May 23:56
Compare
Choose a tag to compare

This release primarily includes two notable changes.

  1. Fixes an issue where you could browse though the Previous/Next record pagination from browse categories into negative numbers (or past the number of documents in the browse category). #2062
  2. Changes the field type of the the content column for Pages to increase the size from text to mediumtext. #2067

Note that 2 introduces a database migration so you'll want to run the spotlight:install:migrations and db:migrate rake tasks once updating.

Full changes: v2.0.1...v2.0.2

v2.0.1

14 May 21:10
Compare
Choose a tag to compare

#2065 Fixes an issue where IIIF resources that did not respond to HEAD requests were not harvestable.

v2.0.0

04 May 18:58
Compare
Choose a tag to compare

v1.5.1...v2.0.0

Spotlight v2.0.0 adds a new major feature, the ability for curators and exhibit administrators to create multi-lingual exhibits.

Upgrade guide

Install new database migrations

$ bundle exec rake spotlight:install:migrations

Migrate Page content to provide a locale in a scope

After updating to Spotlight v2.0.0 and running the new migrations, update the FriendlyId::Slugs of your pages by running:

$ bundle exec rake spotlight:migrate_pages_language

Move spotlight_initializer.rb to using Spotlight::UploadFieldConfig

Spotlight v2.0.0 allows you to configure upload fields using a new class Spotlight::UploadFieldConfig. You should use a separate config for each Solr field.

Known Issues / Potential Gotchas

Switching locales between pages in an exhibit whose translated pages are in an incomplete created/published status will raise the same redirect/error (unauthorized or not found) that would normally be returned for any page. See more conversation/status in #2052.

v2.0.0.rc3

30 Apr 22:40
Compare
Choose a tag to compare
bump to v2.0.0rc3

v1.5.1

20 Apr 23:48
Compare
Choose a tag to compare

Commit history

Bug Fixes

#2015 fixes issue #2014 causing a memory leak

v1.5.0

17 Apr 13:57
Compare
Choose a tag to compare

Commit history

The v1.5.0 is the last planned release before the Spotlight v2.0. It includes several test suite optimization improvements and other bug fixes.

Upgrade Notes
One dependency update that may cause issues for consumers is the Leaflet-IIIF update to v2.0.0. This will only be the case if users have a customized IIIF cropper, but is unlikely.

Adopters will likely want to copy the translations initializer to their config/initializers directory: https://github.com/projectblacklight/spotlight/blob/v1.5.0/lib/generators/spotlight/templates/config/initializers/translation.rb

Improvements

ef2b91c Resets the timestamp on our Solr documents, allowing for an accurate Solr timestamp when using atomic updates
977275c, c391357 Enables i18n-active_record to be used as an i18n backend. Turned off by default
03c92c0 Specify Spotlight as Rails 5+
29a48c2 Update Leaflet-Editable to v1.1.0
3b45855, a322713, e102e2e Pin and then update to Capybara 3
e33bb72 Blacklight-gallery optional in gemspec

Bug Fixes

#1989 Fixes issue #1802 where metadata may be present on search results when it has been deselected by an exhibit curator
14312fa Right-aligns numeric analytics table
e282297 Fixes #1944 where tags were not working properly
d996507 Fixes #1965 where exhibit indexing polling was continually polling unexpectedly

Test suite / maintenance improvements

4488848 Minor test suite optimization, removing unused variable assignment
b889656, 436212d Do not allow external requests in our test suite
4d412e1 Test on latest versions of Rails 5.0, 5.1
3973dd4 Explicitly name js linting approach
462a400 Disable jQuery animations in our test suite
7f6afb3 Reenable travis container environment and use chrome with no sandbox
6ad507a Move from FactorBot.create to build_stubbed to help with test suite performance
b14026d More specific selector to make test not pending
9a76dc1 Try bundler and sprockets caching
d9b1682 Disable image loading in CI
a850aed Update flaky js tests
54438c1 Move feature test to view+controller tests
ebb56f4 Update travis build matrix
aa1cfc2 Update to engine_cart to help with caching test app
43df67a Drop Rails 5 build
9366036 Remove unnecessary test
#2020 Significant improvements to the reliability of the test suite

v1.4.1

05 Mar 23:23
Compare
Choose a tag to compare

Commit history

Improvements

44444c6 Update description for "Embed + Text" widget with examples of embed resources
0a3e430 Limit max-width of iframe in "Embed + Text" widget

Bugs

1dd21c6 Fix bug that was causing browse category show page to display incorrect item counts
128612c Update default_browse_thumbnail extension so that it's included in the asset pipeline
b460861 Restore tests that are now compatible with chromedriver
0ff1457 Only copy over original for non-custom facet fields
3f1d2d0 Add iiif-presentation a a dependency

v1.4.0

10 Feb 01:53
Compare
Choose a tag to compare

Commit history

Note: This release includes a new migration

New features

#1888 Add a configurable search box to browse categories

Fixes and improvements

83ff64a Fix some missing i18n keys from the metadata configuration page
9e4b2ab Use Bootstrap_form_for to handle honeypot field label
fd94c37 Reduce exhibits pagination size to 48 to improve tiling on index pages

v1.3.0

12 Jan 21:06
Compare
Choose a tag to compare

Commit history

New features and improvements

2ac31c1 Add an indexed Solr field for which exhibits an object appears in
3ed9e74 Add help text to the new admin / curator form
99c7df3 Add support for Solr 7.2.0
b58381c Allow field-specific display settings in Blacklight Configuration
085cdff Improve a flaky JS feature test
325626a Add TravisCI's recommended workaround for a Chrome permissions bug (travis-ci/travis-ci#8836)

v1.2.0

12 Dec 23:54
Compare
Choose a tag to compare

Commit history

New features

1c4921a Add support for configuring views as title-only by default

Bug fixes

edb76a7 Deliver email to resource users created by invite