Skip to content

Add support for Rails 8.1 to Blacklight 7#3874

Merged
hackartisan merged 14 commits into
release-7.xfrom
rails-8-1-blacklight-7
Jun 9, 2026
Merged

Add support for Rails 8.1 to Blacklight 7#3874
hackartisan merged 14 commits into
release-7.xfrom
rails-8-1-blacklight-7

Conversation

@tpendragon

@tpendragon tpendragon commented Jun 5, 2026

Copy link
Copy Markdown
Member

This will save my team from months of maintenance work in a time when we really need to be pushing on iterating features for product fit and migration use cases.

I believe it's fully backwards compatible, initial tests are showing this opens the door to upgrading old Geoblacklight, Spotlight, and vanilla Blacklight applications.

@tpendragon tpendragon marked this pull request as ready for review June 8, 2026 17:30
Comment thread .github/matrix.json
{
"ruby": "3.4",
"rails_version": "8.1.3",
"bootstrap_version": "~> 4.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is 4 the right version here? My understanding was that BL 7 required Boostrap ~> 5.0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is! Blacklight 7 can support Bootstrap 4 and 5.

Which thank goodness, a bunch of my apps are still on 4.

<dataDir>${solr.data.dir:}</dataDir>

<requestHandler name="search" class="solr.SearchHandler" default="true">
<requestHandler name="/select" class="solr.SearchHandler" default="true">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this and the af_model change related to the rails 8 upgrade?

@tpendragon tpendragon Jun 8, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but CI doesn't pass without them since new versions of Solr require it. The af_model change was just me pulling down the new schema from main.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that makes sense then

@orangewolf orangewolf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working for me locally with a fresh Rails 8.1 / Blacklight build.

@hackartisan hackartisan merged commit 9937059 into release-7.x Jun 9, 2026
18 checks passed
@hackartisan hackartisan deleted the rails-8-1-blacklight-7 branch June 9, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants