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

Allow activesupport 7.0 usage #85

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

ofedoren
Copy link
Member

@ofedoren ofedoren commented Oct 9, 2024

Hard version lock on activesupport being < 7 prevents us to upgrade Rails in Foreman. I suggest to pin it to 7.1 at least to unblock Rails 7.0 upgrade.

@ofedoren
Copy link
Member Author

ofedoren commented Oct 9, 2024

@ekohl WDYT?

@adamruzicka
Copy link
Contributor

ldap_fluff relies only on a small subset of activesupport. I'd say we should be able to safely go straight to < 8

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

What does it actually use? I can see hash.with_indifferent_access but is that it? If so, I agree with @adamruzicka that < 8 is the proper bump.

Copy link
Contributor

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

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

I can see hash.with_indifferent_access but is that it?

ldap_fluff can also use an instrumentation service which is expected to implement the ActiveSupport::Notifications api. This seems to remain unchanged in activesupport 7

@ekohl ekohl merged commit 9502595 into theforeman:master Oct 11, 2024
8 checks passed
@ekohl
Copy link
Member

ekohl commented Oct 11, 2024

Thanks! I opened #86 to get a release out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants