Skip to content

chore(deps-dev): bump styler from 1.11.0 to 1.12.2 - #214

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/styler-1.12.2
Open

chore(deps-dev): bump styler from 1.11.0 to 1.12.2#214
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/styler-1.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps styler from 1.11.0 to 1.12.2.

Release notes

Sourced from styler's releases.

v1.12.0

Improvements

  • Pipes:
    • don't unpipe |> dbg, to help our friends who format-on-save and like throwing a quick dbg pipe in while debugging (h/t @​mhanberg)
    • optimize two DateTime.shift |> DateTime.shift into a single DateTime.shift when working with literal durations whose keys are disjoint
  • Write "not equal" one way only: not (a == b), !(a == b) => a != b (#251, h/t @​tomkonidas)
  • Deprecations: DateTime.add(dt, amount, unit) is rewritten to DateTime.shift(dt, unit: amount) for 1.17+ codebases. While not technically deprecated, Elixir docs recommend shift over add (#253, h/t @​tomkonidas)
  • DateTime.shift(dt, ..duration pairs..) now has its duration pairs shrunk like to_timeout
  • duration pair shrinking improved for precomputed values, for instance second: 86_400 => day: 1

Fixes

  • General improvements to comment handling across Styler (#254, h/t me and claude)
  • Fixed explicit-keyword-list merges not being rewritten to puts: Map/Keyword.merge([single: :key]) => Map/Keyword.put(:single, :key)
Changelog

Sourced from styler's changelog.

1.12.2

Fixes

  • also leave piped versions of the shift + microsecond bug alone (|> DateTime.add(val, :microsecond) (#256, h/t @​zvlasic)

1.12.1

Fixes

  • leave DateTime.add(dt, val, :microsecond) untouched since DateTime.shift with microseconds requires a precision (#255, h/t @​janpieper)

1.12.0

Improvements

  • Pipes:
    • don't unpipe |> dbg, to help our friends who format-on-save and like throwing a quick dbg pipe in while debugging (h/t @​mhanberg)
    • optimize two DateTime.shift |> DateTime.shift into a single DateTime.shift when working with literal durations whose keys are disjoint
  • Write "not equal" one way only: not (a == b), !(a == b) => a != b (#251, h/t @​tomkonidas)
  • Deprecations: DateTime.add(dt, amount, unit) is rewritten to DateTime.shift(dt, unit: amount) for 1.17+ codebases. While not technically deprecated, Elixir docs recommend shift over add (#253, h/t @​tomkonidas)
  • DateTime.shift(dt, ..duration pairs..) now has its duration pairs shrunk like to_timeout
  • duration pair shrinking improved for precomputed values, for instance second: 86_400 => day: 1

Fixes

  • General improvements to comment handling across Styler (#254, h/t me and claude)
  • Fixed explicit-keyword-list merges not being rewritten to puts: Map/Keyword.merge([single: :key]) => Map/Keyword.put(:single, :key)
Commits
  • 4674cdb v1.12.2
  • d4ff7fc fix: piped versions of the DateTime.shift microseconds bug. closes #256
  • d4e362b v1.12.1
  • 1ae5a60 fix: do not rewrite DateTime.add(..., :microsecond) to shift. Closes #255
  • 95a104b v1.12.0
  • 9e60f7c Fix integers losing tokenized values in duration shrinking
  • 9b22d62 fix meta swap in duration shrinking logic
  • 2b01a16 run deprecations before pipes, so pipes can further shrink deprecations
  • 5bcee4e futher improve duration shrinking
  • 3268da0 fix shift |> shift not working when there are 3+ calls piped
  • 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 [styler](https://github.com/adobe/elixir-styler) from 1.11.0 to 1.12.2.
- [Release notes](https://github.com/adobe/elixir-styler/releases)
- [Changelog](https://github.com/adobe/elixir-styler/blob/main/CHANGELOG.md)
- [Commits](adobe/elixir-styler@v1.11.0...v1.12.2)

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

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 Aug 3, 2026
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.

0 participants