Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Bumps flop from 0.26.1 to 0.26.3.

Release notes

Sourced from flop's releases.

0.26.3

Fixed

  • Allow resetting default order set on schema by passing default_order: false.

Upgrade notes

Flop 0.26.2 introduced a new warning when Flop order parameters are set and the query already has an order by clause. Order by parameters are added to the Flop struct either by passing the order_by and order_directions parameters to the validate function or by defining a default_order in the Ecto schema.

To prevent the warning:

  1. Disable the handling of order parameters by passing ordering: false.
  2. Override the default order set in the schema by passing default_order: false.

Example:

query = from p in Pet, order_by: :name
flop = Flop.validate!(params, for: Pet, ordering: false, default_order: false)
Flop.run(query, flop)

0.26.2

Added

  • Recipe for partial UUID filters.

Changed

  • Emit warning if ordering parameters are applied and the query already contains an ORDER BY clause.

Fixed

  • Fix "protocol Enumerable not implemented for type X" error when there is a validation error and a filter value is a struct.
Changelog

Sourced from flop's changelog.

[0.26.3] - 2025-05-29

Fixed

  • Allow resetting default order set on schema by passing default_order: false.

Upgrade notes

Flop 0.26.2 introduced a new warning when Flop order parameters are set and the query already has an order by clause. Order by parameters are added to the Flop struct either by passing the order_by and order_directions parameters to the validate function or by defining a default_order in the Ecto schema.

To prevent the warning:

  1. Disable the handling of order parameters by passing ordering: false.
  2. Override the default order set in the schema by passing default_order: false.

Example:

query = from p in Pet, order_by: :name
flop = Flop.validate!(params, for: Pet, ordering: false, default_order: false)
Flop.run(query, flop)

[0.26.2] - 2025-05-28

Added

  • Recipe for partial UUID filters.

Changed

  • Emit warning if ordering parameters are applied and the query already contains an ORDER BY clause.

Fixed

  • Fix "protocol Enumerable not implemented for type X" error when there is a validation error and a filter value is a struct.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [flop](https://github.com/woylie/flop) from 0.26.1 to 0.26.3.
- [Release notes](https://github.com/woylie/flop/releases)
- [Changelog](https://github.com/woylie/flop/blob/main/CHANGELOG.md)
- [Commits](woylie/flop@0.26.1...0.26.3)

---
updated-dependencies:
- dependency-name: flop
  dependency-version: 0.26.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Jun 2, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 228902c93c602e72bf13173c476469661a1fb4fc-PR-284

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+40.8%) to 49.105%

Totals Coverage Status
Change from base Build 55e2049d3a5ef87e5186ffce657ba38a760fede1: 40.8%
Covered Lines: 192
Relevant Lines: 391

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants