3.6.0.beta1
Pre-release
Pre-release
Upgrade steps
Add the following line to app/assets/config/manifest.js
//= link spotlight/manifest.jsNote that you must specify BOOTSTRAP_VERSION="~> 4.0" if you run the Blacklight installer, because Spotlight does not yet support Bootstrap 5.
The big changes
- Blacklight 8 support
- We no longer require sprockets to compile the javascript, you can use alternative bundlers or just use the javascript published to NPM as
spotlight-frontend
What's Changed in detail
- Pass locals to the partial renderer by @cbeer in #2835
- Rename default branch to main by @bess in #2834
- Update Rails versions under CI by @cbeer in #2836
- Apparently query_params can be nil now? by @cbeer in #2837
- Make sure Search#query_params has a default value; related to #2837 by @cbeer in #2838
- document docker-compose by @dunn in #2844
- Fixing broken rake spotlight:export[exhibit_slug] task. by @phil-plencner-hl in #2841
- re-run rubocop, re-generate todo by @dunn in #2848
- fix docker build by @dunn in #2845
- rubocop: remove now-invalid cop definition by @dunn in #2849
- add iiif_service config option to allow external IIIF server by @dunn in #2847
- Use only indexed fields for faceting; fixes #2851 by @cbeer in #2852
- Use the latest bundler and maintain a bundler cache by @cbeer in #2839
- Fix new rubocop errors by @jcoyne in #2856
- Remove thor as a dependency by @jcoyne in #2855
- Allow view component to use the latest releases. by @jcoyne in #2854
- Upgrade to latest actions by @jcoyne in #2860
- Test on the latest versions of Rails by @jcoyne in #2859
- Replace faraday_middleware with faraday/follow_redirects for compatib… by @cbeer in #2861
- Add ruby 3.2 to the testing matrix by @jcoyne in #2858
- Publish assets to NPM by @jcoyne in #2862
- Update rubocop to ignore false positive by @jcoyne in #2865
- Bump Ruby and Alpine version of the Dockerfile by @jcoyne in #2867
- Stop compiling erb -> js by @jcoyne in #2873
- Update rubocop rules by @jcoyne in #2875
- Fix spec description by @jcoyne in #2880
- Simplify requirement for friendly_id by @jcoyne in #2881
- Avoid deprecated method render_search_bar by @jcoyne in #2879
- Update engine cart stanza by @jcoyne in #2882
- Avoid deprecated option capabilities, use options instead by @jcoyne in #2883
- Revert adding shakapacker by @jcoyne in #2871
- Use the preconfigured javascript driver by @jcoyne in #2887
- Drop dependency on underscore-rails by @jcoyne in #2877
- Use bin/rails rather than bundle exec rake by @jcoyne in #2889
- Remove MutationObserver polyfill by @jcoyne in #2888
- Render Analytics link in sidebar when enabled by @mcritchlow in #2813
- Use the test queue adapter for... tests. by @cbeer in #2698
- Support Blacklight 8 by @cbeer in #2853
- Test on latest version of solr by @jcoyne in #2876
- Switch to alert-info for "Reporting from" on the feedback form by @jcoyne in #2857
- Stop compiling javascript with erb by @jcoyne in #2893
- Remove jquery dependency for copy_email_addresses.js by @jcoyne in #2894
- Remove unused chrome-selenium container by @jcoyne in #2884
- Extract shared code to it's own file by @jcoyne in #2898
- Remove empty script by @jcoyne in #2895
- Remove eventable by @jcoyne in #2900
- Declare the downcode variable by @jcoyne in #2902
- Modularize spotlight admin components by @jcoyne in #2892
- Modularize user script directory by @jcoyne in #2899
- Declare variable before using it by @jcoyne in #2905
- Avoid assignment to an undeclared variable by @jcoyne in #2904
- Declare undeclared variables by @jcoyne in #2903
- Stop using deprecated rails-ujs options for link_to by @jcoyne in #2909
- Bundle the assets with rollup by @jcoyne in #2872
- Test on blacklight 8 beta 6 by @jcoyne in #2911
- Stop including unnecessary polyfill library by @jcoyne in #2886
- Simplify javascript bundling on Rails 6 by @jcoyne in #2870
- Upgrade sir-trevor to 0.7.5 by @jcoyne in #2913
- Upgrade to sir-trevor 0.8.2 by @jcoyne in #2914
- Declare undeclared variable by @jcoyne in #2915
- rails-ujs is deprecated so stop depending on it by @jcoyne in #2917
- Export Spotlight so that it's configuration may be modified by @jcoyne in #2918
New Contributors
- @bess made their first contribution in #2834
- @phil-plencner-hl made their first contribution in #2841
Full Changelog: v3.4.4...v3.6.0.beta1