Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump styler from 1.3.3 to 1.4.0 (#1005)
Bumps [styler](https://github.com/adobe/elixir-styler) from 1.3.3 to 1.4.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/adobe/elixir-styler/blob/main/CHANGELOG.md">styler's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p><strong>Note</strong> Styler's only public API is its usage as a formatter plugin. While you're welcome to play with its internals, they can and will change without that change being reflected in Styler's semantic version.</p> <h2>main</h2> <h2>1.4</h2> <ul> <li>A very nice change in alias lifting means Styler will make sure that your code is <em>using</em> the aliases that it's specified.</li> <li>Shoutout to the smartrent folks for finding pipifying recursion issues</li> <li>Elixir 1.17 improvements and fixes</li> <li>Elixir 1.19-dev: delete struct updates</li> </ul> <p>Read on for details.</p> <h3>Improvements</h3> <h4>Alias Lifting</h4> <p>This release taught Styler to try just that little bit harder when doing alias lifting.</p> <ul> <li> <p>general improvements around conflict detection, lifting in more correct places and fewer incorrect places (<a href="https://redirect.github.com/adobe/elixir-styler/issues/193">#193</a>, h/t <a href="https://github.com/jsw800"><code>@jsw800</code></a>)</p> </li> <li> <p>use knowledge of existing aliases to shorten invocations (<a href="https://redirect.github.com/adobe/elixir-styler/issues/201">#201</a>, h/t me)</p> <p>example: alias A.B.C</p> <pre><code> A.B.C.foo() A.B.C.bar() A.B.C.baz() </code></pre> <p>becomes: alias A.B.C</p> <pre><code> C.foo() C.bar() C.baz() </code></pre> </li> </ul> <h4>Struct Updates => Map Updates</h4> <p>1.19 deprecates struct update syntax in favor of map update syntax.</p> <pre lang="elixir"><code># This %Struct{x | y} # Styles to this %{x | y} </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/adobe/elixir-styler/commit/aaedd0c9e8c11c55b0ee83e31a2eaab97ae94923"><code>aaedd0c</code></a> v1.4.0</li> <li><a href="https://github.com/adobe/elixir-styler/commit/6896d97a1820fe66d9d6264d5376f739bb16206c"><code>6896d97</code></a> ship struct update to map update changes after all</li> <li><a href="https://github.com/adobe/elixir-styler/commit/d015a990bb9b0018f3c5ef64752ea9e825a1f693"><code>d015a99</code></a> docs docs docs docs docs!</li> <li><a href="https://github.com/adobe/elixir-styler/commit/ceb827abc249c347c05d7132fa5e29443b37c279"><code>ceb827a</code></a> change struct update deprecation to ex1.19+</li> <li><a href="https://github.com/adobe/elixir-styler/commit/a46c43f3739f1796958c2054eb49879726e4de9b"><code>a46c43f</code></a> pipify nested function calls with pipe as the first argument. closes <a href="https://redirect.github.com/adobe/elixir-styler/issues/216">#216</a></li> <li><a href="https://github.com/adobe/elixir-styler/commit/fc6fb5d4cb4b9d9b1cd139aee9cad0f628060fc1"><code>fc6fb5d</code></a> fix <code>with</code> rewrites when keyword with an else stab (<a href="https://redirect.github.com/adobe/elixir-styler/issues/220">#220</a>)</li> <li><a href="https://github.com/adobe/elixir-styler/commit/74d6fd25af0adc2830d1210253898db6a20cb21f"><code>74d6fd2</code></a> ensure test works across versions</li> <li><a href="https://github.com/adobe/elixir-styler/commit/d0ecf1d1219cd1fca6144d1c5afbbe43e7df9919"><code>d0ecf1d</code></a> 1.18+: change struct updates to map updates. Closes <a href="https://redirect.github.com/adobe/elixir-styler/issues/199">#199</a></li> <li><a href="https://github.com/adobe/elixir-styler/commit/e083b4b9de5dc44c98e51e06494eec4bfb27b80a"><code>e083b4b</code></a> ex1.17+: replace <code>:timer.units(x)</code> with the new <code>to_timeout(unit: x)</code> for `ho...</li> <li><a href="https://github.com/adobe/elixir-styler/commit/8d921d9ad33a23575aa3fd9cdd7027041406155e"><code>8d921d9</code></a> no one saw that right?</li> <li>Additional commits viewable in <a href="https://github.com/adobe/elixir-styler/compare/v1.3.3...v1.4.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
- Loading branch information