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

chore(deps): update dependency styler to v1.3.3 #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2025

This PR contains the following updates:

Package Type Update Change
styler (source) dev minor 1.1.1 -> 1.3.3

Release Notes

adobe/elixir-styler (styler)

v1.3.3

Compare Source

Improvements
  • with do: body and variations with no arrows in the head will be rewritten to just body

  • # styler:sort will sort arbitrary ast nodes within a do end block:

    Given:

styler:sort

    my_macro "some arg" do
      another_macro :q
      another_macro :w
      another_macro :e
      another_macro :r
      another_macro :t
      another_macro :y
    end

We get

styler:sort

    my_macro "some arg" do
      another_macro :e
      another_macro :q
      another_macro :r
      another_macro :t
      another_macro :w
      another_macro :y
    end
Fixes
  • fix a bug in comment-movement when multiple # styler:sort directives are added to a file at the same time

v1.3.2

Compare Source

Improvements
  • # styler:sort can be used to sort values of key-value pairs. eg, sort the value of a single key in a map (Closes #​208, h/t @​ypconstante)

v1.3.1

Compare Source

Improvements
  • # styler:sort now works with maps and the defstruct macro
Fixes
  • # styler:sort no longer blows up on keyword lists :X
Fixes

v1.3.0

Compare Source

Improvements
# styler:sort Styler's first comment directive

Styler will now keep a user-designated list or wordlist (~w sigil) sorted as part of formatting via the use of comments. Elements of the list are sorted by their string representation.

The intention is to remove comments to humans, like # Please keep this list sorted!, in favor of comments to robots: # styler:sort. Personally speaking, Styler is much better at alphabetical-order than I ever will be.

To use the new directive, put it on the line before a list or wordlist.

This example:

v1.2.1

Compare Source

Fixes
  • |> don't pipify when the call is itself in a pipe (aka don't touch a |> b(c |> d() |>e()) |> f()) (Closes #​204, h/t @​paulswartz)

v1.2.0

Compare Source

Improvements
  • pipes: pipe-ifies when first arg to a function is a pipe. reach out if this happens in unstylish places in your code (Closes #​133)
  • pipes: unpiping assignments will make the assignment one-line when possible (Closes #​181)
  • deprecations: 1.18 deprecations
    • List.zip => Enum.zip
    • first..last = range => first..last//_ = range
Fixes
  • pipes: optimizations are less likely to move comments (Closes #​176)

v1.1.2

Compare Source

Improvements
  • Config Sorting: improve comment handling when only sorting a few nodes (Closes #​187)

Configuration

📅 Schedule: Branch creation - "before 7am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jan 16, 2025

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/styler-1.x-lockfile branch from fa3a177 to 5cfe6d6 Compare January 22, 2025 00:35
@renovate renovate bot changed the title chore(deps): update dependency styler to v1.3.2 chore(deps): update dependency styler to v1.3.3 Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants