Skip to content

chore(deps): update dependency shfmt to v3.13.1 (main)#5302

Merged
elastic-renovate-prod[bot] merged 1 commit into
mainfrom
renovate/main-shfmt-3.x
Apr 24, 2026
Merged

chore(deps): update dependency shfmt to v3.13.1 (main)#5302
elastic-renovate-prod[bot] merged 1 commit into
mainfrom
renovate/main-shfmt-3.x

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
shfmt minor 3.12.0 -> 3.13.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

mvdan/sh (shfmt)

v3.13.1

  • cmd/shfmt
    • Add support for [[zsh]] in EditorConfig files
    • Detect the shell variant from filenames like .zshrc and .bash_profile
    • Fix --apply-ignore when used with explicit args - #​1310
  • syntax
    • Revert an accidental change to how array subscripts are formatted - #​1314
    • Never join ;; with the previous line when formatting - #​1289
    • Fix a bug where $1[foo] was parsed as a subscript in Zsh - #​1288
    • Correctly parse $! in double quotes in Zsh - #​1298
    • Allow indexing into special parameters in Zsh - #​1299
    • Allow parameter expansions with empty names in Zsh - #​1280
  • interp
    • Test against Bash 5.3 and fix three new discrepancies
    • Fix a few bugs related to nameref variables
    • Avoid panics when user input encounters unimplemented features

v3.13.0

This release introduces support for Zsh
in the parser and formatter, which was tracked in issue #​120
alongside the label https://github.com/mvdan/sh/labels/zsh.
While support is not complete, it should be far enough for many use cases.

This release also drops support for Go 1.24 and includes many other enhancements:

  • cmd/shfmt
    • Exit with a non-zero status when -l prints any filenames
    • shfmt -version is now derived from the git current tag, dropping the -ldflags workaround
  • syntax
    • New nodes types and node fields are introduced alongside LangZsh
    • LangVariant is now a bitset, allowing the use of sets like "Bash-like"
    • Add InteractiveSeq and StmtsSeq iterator methods for Parser
    • Stop exposing the internal buffer in Printer via struct embedding
    • Support the use of brace expansions like declare {a,b}_c=value
    • Fix a bug where POSIX and Bash incorrectly allowed empty command lists
  • interp
    • Add support for shopt -s dotglob and shopt -s extglob
    • Add support for simple uses of !(expr) extended glob patterns
    • Support more builtin flags for declare, type, read
    • Fix various bugs relating to nulls, errors, and arrays
  • expand
    • Add Config.DotGlob and Config.ExtGlob for the interpreter
    • Add Variable.Flags to get the one-character declare flags
    • Do not force env vars on Windows to be uppercase
    • Fix various bugs relating to glob pattern matching
  • pattern
    • Add GlobLeadingDot and ExtendedOperators for the interpreter
    • Add NegExtGlobError to mark the use of !(expr) negation patterns

Configuration

📅 Schedule: Branch creation - "* 1 * * 1-5" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Apr 24, 2026
@elastic-renovate-prod elastic-renovate-prod Bot requested a review from a team as a code owner April 24, 2026 00:58
@elastic-renovate-prod elastic-renovate-prod Bot added dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Apr 24, 2026
@elastic-renovate-prod elastic-renovate-prod Bot added this pull request to the merge queue Apr 24, 2026
@mergify mergify Bot added the queued label Apr 24, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 24, 2026

Merge Queue Status

This pull request spent 55 minutes 12 seconds in the queue, with no time running CI.

Waiting for:
  • check-success=Lint
  • check-success=Manifest Tests
  • check-success=Package Cloudbeat (docker)
  • check-success=Package Cloudbeat (tar.gz)
  • check-success=Test Rego Policies
  • check-success=Unit Test
  • any of:
    • check-neutral = CLA
    • check-skipped = CLA
    • check-success = CLA
  • any of:
    • check-neutral = Package Cloudbeat (docker)
    • check-skipped = Package Cloudbeat (docker)
    • check-success = Package Cloudbeat (docker)
  • any of:
    • check-neutral = Package Cloudbeat (tar.gz)
    • check-skipped = Package Cloudbeat (tar.gz)
    • check-success = Package Cloudbeat (tar.gz)
  • any of:
    • check-neutral = Manifest Tests
    • check-skipped = Manifest Tests
    • check-success = Manifest Tests
  • any of:
    • check-neutral = Test Rego Policies
    • check-skipped = Test Rego Policies
    • check-success = Test Rego Policies
  • any of:
    • check-neutral = Lint
    • check-skipped = Lint
    • check-success = Lint
  • any of:
    • check-neutral = Unit Test
    • check-skipped = Unit Test
    • check-success = Unit Test
All conditions
  • check-success=Lint
  • check-success=Manifest Tests
  • check-success=Package Cloudbeat (docker)
  • check-success=Package Cloudbeat (tar.gz)
  • check-success=Test Rego Policies
  • check-success=Unit Test
  • any of [🛡 GitHub branch protection]:
    • check-neutral = CLA
    • check-skipped = CLA
    • check-success = CLA
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Package Cloudbeat (docker)
    • check-skipped = Package Cloudbeat (docker)
    • check-success = Package Cloudbeat (docker)
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Package Cloudbeat (tar.gz)
    • check-skipped = Package Cloudbeat (tar.gz)
    • check-success = Package Cloudbeat (tar.gz)
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Manifest Tests
    • check-skipped = Manifest Tests
    • check-success = Manifest Tests
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Test Rego Policies
    • check-skipped = Test Rego Policies
    • check-success = Test Rego Policies
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Lint
    • check-skipped = Lint
    • check-success = Lint
  • any of [🛡 GitHub branch protection]:
    • check-neutral = Unit Test
    • check-skipped = Unit Test
    • check-success = Unit Test
  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #approved-reviews-by >= 1 [🛡 GitHub repository ruleset rule [org] Require a PR for Renovate]
  • #approved-reviews-by >= 1 [🛡 GitHub repository ruleset rule [org] Require a PR]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub repository ruleset rule [org] Require a PR for Renovate]
  • #changes-requested-reviews-by = 0 [🛡 GitHub repository ruleset rule [org] Require a PR]

Reason

Pull request #5302 has been merged manually at 9424f38

Hint

You were too fast!

Merged via the queue into main with commit 9424f38 Apr 24, 2026
33 of 35 checks passed
@elastic-renovate-prod elastic-renovate-prod Bot deleted the renovate/main-shfmt-3.x branch April 24, 2026 02:11
mergify Bot added a commit that referenced this pull request Apr 24, 2026
@mergify mergify Bot added dequeued and removed queued labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip dependencies Pull requests that update a dependency file dequeued renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants