Update dependency flop_phoenix to v0.26.3 #228

Open
renovate wants to merge 1 commit from renovate/flop_phoenix-0.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Type Update Change
flop_phoenix (source) prod patch 0.26.10.26.3

Release Notes

woylie/flop_phoenix (flop_phoenix)

v0.26.3

Changed
  • Allow flop 0.28.

v0.26.2

Compare Source

Changed
  • Raise an ArgumentError instead of a FunctionClauseError in
    Flop.Phoenix.page_link_range/3 if the page link option is neither :all,
    :none nor a positive integer.
  • Raise an ArgumentError instead of a FunctionClauseError in
    Flop.Phoenix.Pagination.new/2 if the Flop struct has no pagination
    parameters.
  • Document how to handle _unused_* and _target parameters produced by
    Phoenix forms.
Fixed
  • Return one entry per message in the errors of a form built from a
    Flop.Meta struct, so that form[:page].errors is [{message, opts}]
    instead of [[{message, opts}]].
  • Derive the input type of a filter from the Ecto type of the field even if the
    meta struct has errors, instead of falling back to a text input.
  • Replace existing Flop query parameters in Flop.Phoenix.build_path/3 when
    the path is given as a URL string, instead of appending a second set of them.
  • Render the hidden inputs of each filter once instead of twice in
    Flop.Phoenix.filter_fields/1.
  • Set ellipsis_start? and ellipsis_end? to false in
    Flop.Phoenix.Pagination.new/2 when page_links is :none.
  • Resolve Flop options from the backend module set on the meta struct, not only
    from the schema.
  • Render the configured filter fields instead of raising a
    FunctionClauseError if the filters parameter is not a list of maps.
  • Remove Flop query parameters that the Flop struct does not set from a path
    given as a URL string in Flop.Phoenix.build_path/3.
  • Omit pagination, order and filter parameters that match a default from the
    hidden inputs of a form built from a Flop.Meta struct that has validation
    errors.
  • Do not render the hidden _persistent_id inputs that
    Phoenix.Component.inputs_for/1 adds in Flop.Phoenix.filter_fields/1.
  • Flop.Phoenix.filter_fields/1 with dynamic={true} raised a
    FunctionClauseError if the meta struct had validation errors.
How to upgrade

If you flattened the errors yourself before rendering them, you can remove that
step. In the input component mix phx.new generates, that is:

- |> assign(:errors, Enum.map(List.flatten(field.errors), &translate_error/1))
+ |> assign(:errors, Enum.map(field.errors, &translate_error/1))

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [flop_phoenix](https://hex.pm/packages/flop_phoenix) ([source](https://github.com/woylie/flop_phoenix)) | prod | patch | `0.26.1` → `0.26.3` | --- ### Release Notes <details> <summary>woylie/flop_phoenix (flop_phoenix)</summary> ### [`v0.26.3`](https://github.com/woylie/flop_phoenix/blob/HEAD/CHANGELOG.md#0263---2026-08-24) ##### Changed - Allow `flop` 0.28. ### [`v0.26.2`](https://github.com/woylie/flop_phoenix/blob/HEAD/CHANGELOG.md#0262---2026-08-10) [Compare Source](https://github.com/woylie/flop_phoenix/compare/0.26.1...0.26.2) ##### Changed - Raise an `ArgumentError` instead of a `FunctionClauseError` in `Flop.Phoenix.page_link_range/3` if the page link option is neither `:all`, `:none` nor a positive integer. - Raise an `ArgumentError` instead of a `FunctionClauseError` in `Flop.Phoenix.Pagination.new/2` if the `Flop` struct has no pagination parameters. - Document how to handle `_unused_*` and `_target` parameters produced by Phoenix forms. ##### Fixed - Return one entry per message in the errors of a form built from a `Flop.Meta` struct, so that `form[:page].errors` is `[{message, opts}]` instead of `[[{message, opts}]]`. - Derive the input type of a filter from the Ecto type of the field even if the meta struct has errors, instead of falling back to a text input. - Replace existing Flop query parameters in `Flop.Phoenix.build_path/3` when the path is given as a URL string, instead of appending a second set of them. - Render the hidden inputs of each filter once instead of twice in `Flop.Phoenix.filter_fields/1`. - Set `ellipsis_start?` and `ellipsis_end?` to `false` in `Flop.Phoenix.Pagination.new/2` when `page_links` is `:none`. - Resolve Flop options from the backend module set on the meta struct, not only from the schema. - Render the configured filter fields instead of raising a `FunctionClauseError` if the `filters` parameter is not a list of maps. - Remove Flop query parameters that the `Flop` struct does not set from a path given as a URL string in `Flop.Phoenix.build_path/3`. - Omit pagination, order and filter parameters that match a default from the hidden inputs of a form built from a `Flop.Meta` struct that has validation errors. - Do not render the hidden `_persistent_id` inputs that `Phoenix.Component.inputs_for/1` adds in `Flop.Phoenix.filter_fields/1`. - `Flop.Phoenix.filter_fields/1` with `dynamic={true}` raised a `FunctionClauseError` if the meta struct had validation errors. ##### How to upgrade If you flattened the errors yourself before rendering them, you can remove that step. In the `input` component `mix phx.new` generates, that is: ```diff - |> assign(:errors, Enum.map(List.flatten(field.errors), &translate_error/1)) + |> assign(:errors, Enum.map(field.errors, &translate_error/1)) ``` </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from d568564c2b to 73a369c673 2026-08-14 12:00:37 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 73a369c673 to b9e77fd545 2026-08-14 18:00:38 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from b9e77fd545 to 24879f7206 2026-08-19 12:00:54 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 24879f7206 to bb8ab4e671 2026-08-20 12:00:42 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from bb8ab4e671 to 5886963063 2026-08-20 15:00:40 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 5886963063 to f425df38f9 2026-08-20 18:00:37 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from f425df38f9 to 188e150acf 2026-08-20 21:00:36 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 188e150acf to 5facf927c7 2026-08-21 00:00:37 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 5facf927c7 to 1a36c27bd4 2026-08-21 12:00:39 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from 1a36c27bd4 to d52698b018 2026-08-24 09:00:39 +02:00 Compare
renovate force-pushed renovate/flop_phoenix-0.x-lockfile from d52698b018 to e0bbd14865 2026-08-24 21:00:36 +02:00 Compare
renovate changed title from Update dependency flop_phoenix to v0.26.2 to Update dependency flop_phoenix to v0.26.3 2026-08-24 21:00:38 +02:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/flop_phoenix-0.x-lockfile:renovate/flop_phoenix-0.x-lockfile
git switch renovate/flop_phoenix-0.x-lockfile
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
inhji/hajur!228
No description provided.