elixir-boilerplate
elixir-boilerplate copied to clipboard
Bump styler from 0.11.6 to 0.11.9
Bumps styler from 0.11.6 to 0.11.9.
Release notes
Sourced from styler's releases.
v0.11.9
Improvements
- pipes: check for
Stream.fooequivalents toEnum.fooin a few more casesFixes
- pipes:
|> then(&(&1 op y))rewrites with|> Kernel.op(y)as long as the operator is defined inKernel; skips the rewrite otherwise (h/t@kerrybfor the report &@saveman71for the fix)v0.11.8
Two releases in one day!?
@koudelkamade too good a point aboutMap.newhaving some siblings we were ignoringImprovements
- pipes: treat
MapSet.newandKeyword.newthe same way we doMap.new(h/t@koudelka)v0.11.7
Improvements
- deprecations:
~R->~r,Date.range/2->Date.range/3with decreasing dates (h/t@milmazz)- if: rewrite
if not x, do: y=>unless x, do: y- pipes:
|> Enum.map(foo) |> Map.new()=>|> Map.new(foo)- pipes: remove unnecessary
then/2on named function captures:|> then(&foo/1)=>|> foo(),|> then(&foo(&1, ...))=>|> foo(...)(thanks to@tfiedlerdejanzefor the idea + impl!)
Changelog
Sourced from styler's changelog.
v0.11.9
Improvements
- pipes: check for
Stream.fooequivalents toEnum.fooin a few more casesFixes
- pipes:
|> then(&(&1 op y))rewrites with|> Kernel.op(y)as long as the operator is defined inKernel; skips the rewrite otherwise (h/t@kerrybfor the report &@saveman71for the fix)v0.11.8
Two releases in one day!?
@koudelkamade too good a point aboutMap.newnot being special...Improvements
- pipes: treat
MapSet.newandKeyword.newthe same way we doMap.new(h/t@koudelka)- pipes: treat
Stream.mapthe same asEnum.mapwhen piped|> Enum.intov0.11.7
Improvements
- deprecations:
~R->~r,Date.range/2->Date.range/3with decreasing dates (h/t@milmazz)- if: rewrite
if not x, do: y=>unless x, do: y- pipes:
|> Enum.map(foo) |> Map.new()=>|> Map.new(foo)- pipes: remove unnecessary
then/2on named function captures:|> then(&foo/1)=>|> foo(),|> then(&foo(&1, ...))=>|> foo(...)(thanks to@tfiedlerdejanzefor the idea + impl!)
Commits
9b6c8d3v0.11.95e19efbtests for then(& &1 $infix_op). fixed a bug when dividing by one?4fd18d3rewrite all kernel ops inside of |> then7af0397fix: fix unary operators in pipes (fixes adobe#128)012bcd0fail CI on compilation warnings6542ae3pipes: check forStream.fooequivalents toEnum.fooin a few more cases50ea97dappend an 0.11.8 changefa06428v0.11.8c3c0bc7pipes: treat MapSet.new and Keyword.new the same way we do Map.new7db0c25v0.11.7- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)