View Source Changelog

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.

v1-2-0-2022-10-27

v1.2.0 - 2022-10-27

  • Make config raise specific domain specific error (#176)
  • Update package dependencies
    • ex_doc 0.28.2

v1-1-0-2022-02-08

v1.1.0 - 2022-02-08

  • 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.0
    • ecto -> 3.6.2
    • ecto_sql -> 3.6.2
    • plug_crypto -> 1.2.2
    • postgrex -> 0.15.13

v1-0-4-2021-03-15

v1.0.4 - 2021-03-15

  • 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.0
    • ecto -> 3.0.9
    • ex_machina -> 2.7.0
    • plug_crypto -> 1.2.1
    • postgrex -> 0.14.3

v1-0-3-2020-12-18

v1.0.3 - 2020-12-18

  • Fix cursor field validation bug (#93)

v1-0-2-2020-11-20

v1.0.2 - 2020-11-20

  • Update package dependencies
    • inch -> 2.0
    • plug_crypto -> 1.2.0
    • ex_doc -> 0.23.0

v1-0-1-2020-08-18

v1.0.1 - 2020-08-18

  • Fix sorting bug in cursor query (#73)

v1-0-0-2020-08-17

v1.0.0 - 2020-08-17

  • Fix Remote Code Execution Vulnerability (#69 - Thank you @p-!)
  • Fix cursor mismatch bug (#68

v0-6-0-2018-11-20

v0.6.0 - 2018-11-20

changed

Changed

  • Add support for Ecto 3. Remove support for Ecto 2. (#40, thanks! @van-mronov)

v0-5-0-2018-10-31

v0.5.0 - 2018-10-31

added

Added

  • Expose the ability to generate cursors from records. (#32, thanks! @bernardd)

changed-1

Changed

  • Config is now created and checked in Paginator.paginate/4, making it easier to build your own pagination function in your Repo.

v0-4-1-2018-10-23

v0.4.1 - 2018-10-23

fixed

Fixed

  • Fix argument error when trying to use nil cursors. (#24, thanks! @0nkery)

v0-4-0-2018-07-11

v0.4.0 - 2018-07-11

fixed-1

Fixed

  • Fix potential DoS attack by using the safe option during decoding of cursors. (#16, thanks! @dbhobbs)

v0-3-1-2018-02-20

v0.3.1 - 2018-02-20

fixed-2

Fixed

  • Fix bug for queries with a pre-existing where clause. Sometimes, this clause ended up being combined with the pagination filter using an OR.

v0-3-0-2018-02-14

v0.3.0 - 2018-02-14

added-1

Added

  • :limit is now capped by :maximum_limit. By default, :maximum_limit is set to 500.

v0-2-0-2018-02-13

v0.2.0 - 2018-02-13

added-2

Added

  • :total_count_limit can be set to :infinity to return the accurate count of records.

v0-1-0-2018-02-13

v0.1.0 - 2018-02-13

Initial release! 🎉