Modernize dependencies: Ecto 3.12, PlugCrypto 2.x, and more #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The current version of
paginator
depends on outdated versions of key libraries likeplug_crypto ~> 1.2
,ecto ~> 3.0
, andpostgrex ~> 0.13
, which cause conflicts in modern Elixir/Phoenix projects.What's Changed
This PR updates core dependencies for compatibility with recent versions:
plug_crypto
→~> 2.1
ecto
→~> 3.12
ecto_sql
→~> 3.12
ex_doc
,ex_machina
,postgrex
→ newer stable versionsCompatibility
These changes are tested against recent OTP/Elixir versions. This makes the package easier to use with Phoenix 1.7+ and other modern stacks.
Versioning
Fork version:
1.2.1-hsnyildiz
Compatible with Elixir >= 1.10 and OTP 22+
✅ Safe drop-in replacement if you're using Ecto 3.12+ and Plug 2.x
🚀 Ready to be published under a different name (e.g.,
paginator_ecto3
) on Hex.pm if needed.Thanks for maintaining this library 🙏