Skip to content

chore(deps-dev): bump ex_slop from 0.4.4 to 0.4.5 in /design - #178

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/design/ex_slop-0.4.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/design/ex_slop-0.4.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps ex_slop from 0.4.4 to 0.4.5.

Release notes

Sourced from ex_slop's releases.

v0.4.5

Fixed

  • IdentityPassthrough no longer flags map/struct projections (%{a: a} -> %{a: a} drops extra keys). A non-exhaustive identity case is still reported, but the message now notes that it raises CaseClauseError on unmatched values whereas returning the value directly does not.
  • ReduceMapPut no longer flags reductions whose key or value reads the accumulator (e.g. summing duplicate keys), since Map.new/2 cannot express them.
  • PreferEnumSlice no longer flags Enum.drop/2 |> Enum.take/2 with negative literal arguments, which Enum.slice/3 does not treat the same way.
  • FlatMapFilter now only flags callbacks whose singleton list holds the argument unchanged; [x * 2] is a transformation that Enum.filter/2 cannot replace.
  • IdentityMap now suggests Enum.to_list/1 for inputs that may not be lists (ranges, streams, MapSets), since removing the call would change the return type.
  • SortThenReverse no longer flags Enum.sort_by/2 |> Enum.reverse/1: sorting is stable, so the reverse changes the relative order of equal keys while Enum.sort_by(fun, :desc) preserves it.
  • WithIdentityElse no longer treats map/struct patterns as identity. A non-exhaustive identity else is still reported, but the message now notes that it raises WithClauseError on unmatched values whereas removing it would return them as-is.
Changelog

Sourced from ex_slop's changelog.

0.4.5 - 2026-09-22

Fixed

  • IdentityPassthrough no longer flags map/struct projections (%{a: a} -> %{a: a} drops extra keys). A non-exhaustive identity case is still reported, but the message now notes that it raises CaseClauseError on unmatched values whereas returning the value directly does not.
  • ReduceMapPut no longer flags reductions whose key or value reads the accumulator (e.g. summing duplicate keys), since Map.new/2 cannot express them.
  • PreferEnumSlice no longer flags Enum.drop/2 |> Enum.take/2 with negative literal arguments, which Enum.slice/3 does not treat the same way.
  • FlatMapFilter now only flags callbacks whose singleton list holds the argument unchanged; [x * 2] is a transformation that Enum.filter/2 cannot replace.
  • IdentityMap now suggests Enum.to_list/1 for inputs that may not be lists (ranges, streams, MapSets), since removing the call would change the return type.
  • SortThenReverse no longer flags Enum.sort_by/2 |> Enum.reverse/1: sorting is stable, so the reverse changes the relative order of equal keys while Enum.sort_by(fun, :desc) preserves it.
  • WithIdentityElse no longer treats map/struct patterns as identity. A non-exhaustive identity else is still reported, but the message now notes that it raises WithClauseError on unmatched values whereas removing it would return them as-is.
Commits
  • 10f508e Prepare v0.4.5 release
  • 2228181 Merge pull request #16 from elixir-vibe/fix/false-positives-9-15
  • 668da75 Fix WithIdentityElse false positive on map patterns
  • 1b6b26e Stop flagging sort_by |> reverse in SortThenReverse
  • 78922e3 Suggest Enum.to_list/1 in IdentityMap for non-list inputs
  • aafdd2c Fix FlatMapFilter false positive on callbacks that transform values
  • fbe50e4 Fix PreferEnumSlice false positive on negative offsets and amounts
  • 0f0abbb Fix ReduceMapPut false positive when the body reads the accumulator
  • 076f2e3 Fix IdentityPassthrough false positive on map patterns
  • fe6c978 Merge pull request #8 from gmcintire/readme-fix
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [ex_slop](https://github.com/elixir-vibe/ex_slop) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/elixir-vibe/ex_slop/releases)
- [Changelog](https://github.com/elixir-vibe/ex_slop/blob/master/CHANGELOG.md)
- [Commits](elixir-vibe/ex_slop@v0.4.4...v0.4.5)

---
updated-dependencies:
- dependency-name: ex_slop
  dependency-version: 0.4.5
  dependency-type: direct:development
  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 Sep 29, 2026
@cursor

cursor Bot commented Oct 7, 2026

Copy link
Copy Markdown

Superseded by #185 (merged). Closing this Dependabot PR; the branch is left in place.

@dependabot @github

dependabot Bot commented on behalf of github Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/hex/design/ex_slop-0.4.5 branch October 7, 2026 11:29
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.

1 participant