All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix type errors, thanks! @djthread:
- Fix tuples typo in documentation: (#99, thanks! @iamsekun)
- Use GitHub Actions for continuous integration: (#100, thanks! @dolfinus)
- Update package dependencies
calendar
-> 1.0.0ecto
-> 3.0.9ex_machina
-> 2.7.0plug_crypto
-> 1.2.1postgrex
-> 0.14.3
- Fix cursor field validation bug (#93)
- Update package dependencies
inch
-> 2.0plug_crypto
-> 1.2.0ex_doc
-> 0.23.0
- Fix sorting bug in cursor query (#73)
- Fix Remote Code Execution Vulnerability (#69 - Thank you @p-!)
- Fix cursor mismatch bug (#68
- Add support for Ecto 3. Remove support for Ecto 2. (#40, thanks! @van-mronov)
- Expose the ability to generate cursors from records. (#32, thanks! @bernardd)
- Config is now created and checked in Paginator.paginate/4, making it easier to build your own pagination function in your Repo.
- Fix argument error when trying to use
nil
cursors. (#24, thanks! @0nkery)
- Fix potential DoS attack by using the
safe
option during decoding of cursors. (#16, thanks! @dbhobbs)
- Fix bug for queries with a pre-existing
where
clause. Sometimes, this clause ended up being combined with the pagination filter using anOR
.
:limit
is now capped by:maximum_limit
. By default,:maximum_limit
is set to 500.
:total_count_limit
can be set to:infinity
to return the accurate count of records.
Initial release! 🎉