Skip to content

Update CI matrix & Devise version constraint#24

Merged
erdostom merged 5 commits intoerdostom:masterfrom
moritzhoeppner:dependencies
Nov 25, 2025
Merged

Update CI matrix & Devise version constraint#24
erdostom merged 5 commits intoerdostom:masterfrom
moritzhoeppner:dependencies

Conversation

@moritzhoeppner
Copy link
Contributor

Hi @erdostom, I updated the version matrix for the CI pipeline and allowed Devise 5 in the gemspec:

  1. I removed outdated versions of dependencies from the CI pipeline. Specifically:
  • Rails < 7.2 doesn't get security fixes, so I don't think we have to support it.
  • Rails 7.2.0 requires at least Ruby 3.1.0, so we don't need tests for older Ruby versions.
  • Mongoid 7.5 requires ActiveModel < 7.1, so we don't need to test against it.
  1. By increasing the patch version of Mongoid 8.1 and 9.0, we get support for Rails 8.0 and can test against it.
  2. I added Rails 8.1. As of now, Mongoid doesn't support it.
  3. I added Devise main. I think this justifies relaxing the version constraint for Devise from "~> 4.0" to ">= 4.0". [*] This solves Support for Devise v5? #23.

[*] Actually, I don't think that 4.0 is the most precise lower bound for the Devise version. Devise requires Rails < 6.0 until version 4.6.2 - so I think we could change the version constraint for Devise to ">= 4.7.0". But it probably doesn't matter since older versions can't be used anyway.

@erdostom erdostom merged commit 28c0eed into erdostom:master Nov 25, 2025
0 of 192 checks passed
@erdostom
Copy link
Owner

Thank you Moritz!

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