{"push_id":2341578559,"size":7,"distinct_size":4,"ref":"refs/heads/calcinator-resources-ecto-repo-pagination","head":"a813686083485d9cf9ebe019adc3a8c8f575fb2c","before":"5b03e3f5a3b4fe4f3dbbf5ac2c4d06eb65d36af3","commits":[{"sha":"d7eb541e2f6c3b05be680baa5fcb199f4ccf013f","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Add #36 to changelog\n\nBumps version to 5.1.0","distinct":false,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/d7eb541e2f6c3b05be680baa5fcb199f4ccf013f"},{"sha":"475a8d3cf597b3f94623a322651971c1ab503325","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Precisely match coveralls.io reported coverage\n\nCoverage increase was counted as a failure for some reason.","distinct":false,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/475a8d3cf597b3f94623a322651971c1ab503325"},{"sha":"a663f7ade1bda15e727c209ef3be1acebb08b303","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Land #36: Sparse fieldset","distinct":false,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/a663f7ade1bda15e727c209ef3be1acebb08b303"},{"sha":"5db0c3fc2d6923ea92fca6b3c0852cf1d6957c71","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Calcinator.Resources.Ecto.Repo pagination\n\n`use Calcinator.Resources.Ecto.Repo`'s `list/1` now supports 4 types of\npagination:\n\n* `Calcinator.Resources.Ecto.Repo.Pagination.Ignore` - ignored\n`query_options[:page]` and always returns all results.  This is\nequivalent to the old return value.\n* `Calcinator.Resources.Ecto.Repo.Pagination.Disallow` - raise error if\n`query_option[:page]` is not `nil`, so let the caller know you're going\nto ignore the page request and only return all results.\n* `Calcinator.Resources.Ecto.Repo.Pagination.Allow` - if\n`query_options[:page]` is `nil`, return all results; if it is present,\npaginate.\n* `Calcinator.Resources.Ecto.Repo.Pagination.Require` - if\n`query_options[:page]` is `nil`, return an error; otherwise, paginate.\n\nThe paginator can be changed with\n\n```elixir\nconfig :calcinator, Calcinator.Resources.Ecto.Repo, paginator: ...\n```\n\nWithout configuration it defaults to\n`Calcinator.Resources.Ecto.Repo.Pagination.Allow` because just ignoring\n`query_options[:page]` felt like a bug when I hit it, so I didn't put\nthe default as `Calcinator.Resources.Ecto.Repo.Pagination.Ignore`, which\nwould have retained the previous (bugged) behavior.","distinct":true,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/5db0c3fc2d6923ea92fca6b3c0852cf1d6957c71"},{"sha":"4b58afe6837d8ee20b0bd6e70e0419dd93a154ff","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Default page size\n\nA default page size can be configured for\n`Calcinator.Resources.Page.from_params`:\n\n```\nconfig :calcinator, Calcinator.Resources.Page, size: [default: 20]\n```\n\nWhen a default page size is configured, it will be used when\n`params[\"page\"][\"size\"]` isn't given and 1 will be used when\n`params[\"page\"][\"number\"]` isn't given.","distinct":true,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/4b58afe6837d8ee20b0bd6e70e0419dd93a154ff"},{"sha":"af4b8a0bccd38c6c21530268c9660551713fcdf1","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Maximum page size","distinct":true,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/af4b8a0bccd38c6c21530268c9660551713fcdf1"},{"sha":"a813686083485d9cf9ebe019adc3a8c8f575fb2c","author":{"name":"Luke Imhoff","email":"fe7029424ad9f1bd1bb89f1aa28eca7e5d7d66f4@gmail.com"},"message":"Add #37 to changelog\n\nCopy Bug Fix warning to UPGRADING in case people want the old, but buggy\nbehavior.","distinct":true,"url":"https://api.github.com/repos/KronicDeth/calcinator/commits/a813686083485d9cf9ebe019adc3a8c8f575fb2c"}]}
{"actor":{"display_login":"KronicDeth"}}