Skip to content

Modernize dependencies: Ecto 3.12, PlugCrypto 2.x, and more #225

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hsnyildiz
Copy link

@hsnyildiz hsnyildiz commented May 20, 2025

Problem

The current version of paginator depends on outdated versions of key libraries like plug_crypto ~> 1.2, ecto ~> 3.0, and postgrex ~> 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 versions

Compatibility

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 🙏

@hsnyildiz hsnyildiz changed the title Relax plug_crypto version constraint to support 2.x Modernize dependencies: Ecto 3.12, PlugCrypto 2.x, and more May 20, 2025
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.

1 participant