Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump styler from 0.11.3 to 0.11.9 #762

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps styler from 0.11.3 to 0.11.9.

Release notes

Sourced from styler's releases.

v0.11.9

Improvements

  • pipes: check for Stream.foo equivalents to Enum.foo in a few more cases

Fixes

  • pipes: |> then(&(&1 op y)) rewrites with |> Kernel.op(y) as long as the operator is defined in Kernel; skips the rewrite otherwise (h/t @​kerryb for the report & @​saveman71 for the fix)

v0.11.8

Two releases in one day!? @​koudelka made too good a point about Map.new having some siblings we were ignoring

Improvements

  • pipes: treat MapSet.new and Keyword.new the same way we do Map.new (h/t @​koudelka)

v0.11.7

Improvements

  • deprecations: ~R -> ~r, Date.range/2 -> Date.range/3 with 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/2 on named function captures: |> then(&foo/1) => |> foo(), |> then(&foo(&1, ...)) => |> foo(...) (thanks to @​tfiedlerdejanze for the idea + impl!)

v0.11.6

Fixes

  • directives: maintain order of module compilation callbacks (@before_compile etc) relative to use statements (Closes #120, h/t @​frankdugan3)

v0.11.5

Fixes

  • deprecations: fix parsing ranges with non-integer bounds like x..y (Closes #119, h/t @​maennchen)

v0.11.4

Improvements

Shoutout @​milmazz for all the deprecation work below =)

  • Deprecations: Rewrite 1.16 Deprecations (h/t @​milmazz for all the work here)
    • add //1 step to Enum.slice/2|String.slice/2 with decreasing ranges
    • File.stream!(file, options, line_or_bytes) => File.stream!(file, line_or_bytes, options)
  • Deprecations: Path.safe_relative_to/2 => Path.safe_relative/2
Changelog

Sourced from styler's changelog.

v0.11.9

Improvements

  • pipes: check for Stream.foo equivalents to Enum.foo in a few more cases

Fixes

  • pipes: |> then(&(&1 op y)) rewrites with |> Kernel.op(y) as long as the operator is defined in Kernel; skips the rewrite otherwise (h/t @​kerryb for the report & @​saveman71 for the fix)

v0.11.8

Two releases in one day!? @​koudelka made too good a point about Map.new not being special...

Improvements

  • pipes: treat MapSet.new and Keyword.new the same way we do Map.new (h/t @​koudelka)
  • pipes: treat Stream.map the same as Enum.map when piped |> Enum.into

v0.11.7

Improvements

  • deprecations: ~R -> ~r, Date.range/2 -> Date.range/3 with 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/2 on named function captures: |> then(&foo/1) => |> foo(), |> then(&foo(&1, ...)) => |> foo(...) (thanks to @​tfiedlerdejanze for the idea + impl!)

v0.11.6

Fixes

  • directives: maintain order of module compilation callbacks (@before_compile etc) relative to use statements (Closes #120, h/t @​frankdugan3)

v0.11.5

Fixes

  • fix parsing ranges with non-trivial integer bounds like x..y (Closes #119, h/t @​maennchen)

v0.11.4

Improvements

Shoutout @​milmazz for all the deprecation work below =)

  • Deprecations: Rewrite 1.16 Deprecations (h/t @​milmazz for all the work here)
    • add //1 step to Enum.slice/2|String.slice/2 with decreasing ranges
    • File.stream!(file, options, line_or_bytes) => File.stream!(file, line_or_bytes, options)
  • Deprecations Path.safe_relative_to/2 => Path.safe_relative/2
Commits
  • 9b6c8d3 v0.11.9
  • 5e19efb tests for then(& &1 $infix_op). fixed a bug when dividing by one?
  • 4fd18d3 rewrite all kernel ops inside of |> then
  • 7af0397 fix: fix unary operators in pipes (fixes adobe#128)
  • 012bcd0 fail CI on compilation warnings
  • 6542ae3 pipes: check for Stream.foo equivalents to Enum.foo in a few more cases
  • 50ea97d append an 0.11.8 change
  • fa06428 v0.11.8
  • c3c0bc7 pipes: treat MapSet.new and Keyword.new the same way we do Map.new
  • 7db0c25 v0.11.7
  • 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 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)

Bumps [styler](https://github.com/adobe/elixir-styler) from 0.11.3 to 0.11.9.
- [Release notes](https://github.com/adobe/elixir-styler/releases)
- [Changelog](https://github.com/adobe/elixir-styler/blob/main/CHANGELOG.md)
- [Commits](adobe/elixir-styler@v0.11.3...v0.11.9)

---
updated-dependencies:
- dependency-name: styler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elixir Pull requests that update Elixir code labels Feb 1, 2024
@github-actions github-actions bot merged commit 0235aac into main Feb 5, 2024
7 checks passed
@github-actions github-actions bot deleted the dependabot/hex/styler-0.11.9 branch February 5, 2024 20:10
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.

None yet

1 participant