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.
- Make config raise specific domain specific error (#176)
- Update package dependencies
ex_doc
0.28.2
- Skip duplicated GitHub Actions runs: (#110, thanks! @dolfinus)
- Fix typespec for
cursor_for_record()
: (#114, thanks! @kaylenmistry) - Project badges and GitHub Actions updates, thanks! @sgerrand:
- Updates to project documentation: (#122, thanks! @ikianmeng)
- Fix example for joined fields: (#123, thanks! @nickdichev)
- Add support for sorting order combinations: (#136, thanks! @dgvncz0f)
- Update package dependencies
ex_doc
-> 0.28.0ecto
-> 3.6.2ecto_sql
-> 3.6.2plug_crypto
-> 1.2.2postgrex
-> 0.15.13
- 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! 🎉