Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add direct view_component dependency #243

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

jrochkind
Copy link
Member

@jrochkind jrochkind commented Oct 12, 2023

With #242 to use Slots v2 API, we now require at least view_component 2.54.0, that's when it was introduced. https://viewcomponent.org/CHANGELOG.html#2540

I think we learned from #242 (and analagous things happening with other BL plugins) that if we're using ViewComponent API directly, as we are, we should declare a direct dependency on it, and what we know to work with, instead of just relying on indirect dependency from blacklight. So also adding a cap at < 4, since a future 4 might include currently unknown backwards incompat changes that effect this code. I think this is just responsible dependency declaration.

@jcoyne?

With #242 to use Slots v2 API, we now require at least view_component 2.54.0, that's when it was introduced. https://viewcomponent.org/CHANGELOG.html#2540

I think we learned from #242 (and analagous things happening with other BL plugins) that if we're using ViewComponent API directly, as we are, we should declare a direct dependency on it, and what we know to work with, instead of just relying on indirect dependency from blacklight. So also adding a cap at , since a future 4 might include currently unknown backwards incompat changes that effect this code. I think this is just responsible dependency declaration.
@jcoyne jcoyne merged commit 655695c into main Oct 12, 2023
6 checks passed
@jcoyne jcoyne deleted the add_view_component_dependency branch October 12, 2023 20:56
@jrochkind
Copy link
Member Author

Thank you @jcoyne !

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.

2 participants