-
Notifications
You must be signed in to change notification settings - Fork 255
Upgrading to Blacklight 9
Blacklight 9 includes some backwards-incompatible changes. Follow this guide to upgrade a Blacklight 8 application to Blacklight 9.
-
Ensure your local application has a passing test suite. If needed, add automated tests for any important functionality, to make it obvious when something is broken.
-
Upgrade to the latest 8.x release so you can see any recent deprecation warnings.
-
Take note of any deprecation warnings originating from Blacklight in the logs and make the suggested changes.
-
Upgrade to Blacklight 9 and follow the Upgrade Notes below.
To test a plugin and validate it Run the plugin with the latest version of blacklight/main.
- blacklight-hierarchy
- blacklight_range_limit - Tested and working in blacklight 9.x pre-releases as of blacklight_range_limit 9.0
- blacklight_dynamic_sitemap
- blacklight-gallery
- arclight https://github.com/projectblacklight/arclight/pull/1596 (needs a release cut)
- blacklight_oai_provider
- blacklight_iiif_search
- blacklight_advanced_search - release needed
- geoblacklight - a number of UI issues, in progress PR open
-
The
shared/header_navbar
partial no longer exists. If you used this in your application, thenrender blacklight_config.header_component.new(blacklight_config: blacklight_config)
instead. -
The 'catalog/constraints
partial no longer exists. If you call this in your application, instead
render blacklight_config.view_config(document_index_view_type).constraints_component.new(search_state: search_state)` -
If you use importmap-rails to access Blacklight Javascript files, change the line
import 'blacklight'
toimport 'blacklight-frontend'
. (probably in anapplication.js
file) -
If you used to use
import 'blacklight-frontend/app/assets/javascripts/blacklight/blacklight'
, it should now be switched toimport 'blacklight-frontend'