Skip to content

deps: bump styler from 1.11.0 to 1.12.2 - #167

Merged
efcasado merged 2 commits into
mainfrom
dependabot/hex/styler-1.12.1
Aug 3, 2026
Merged

deps: bump styler from 1.11.0 to 1.12.2#167
efcasado merged 2 commits into
mainfrom
dependabot/hex/styler-1.12.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 29, 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 dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Jul 29, 2026
@efcasado

efcasado commented Aug 3, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

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.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title deps: bump styler from 1.11.0 to 1.12.1 deps: bump styler from 1.11.0 to 1.12.2 Aug 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/hex/styler-1.12.1 branch from c42f04f to ea76a45 Compare August 3, 2026 15:12
@efcasado
efcasado merged commit 8357854 into main Aug 3, 2026
8 checks passed
@efcasado
efcasado deleted the dependabot/hex/styler-1.12.1 branch August 3, 2026 22:17
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.

1 participant