Skip to content

Update dependency shfmt to v3.11.0 #1107

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Update New value References Sourcegraph
shfmt minor 3.11.0 source code search for "shfmt"

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

mvdan/sh (shfmt)

v3.11.0

Compare Source

This release drops support for Go 1.22 and includes many enhancements.

  • cmd/shfmt
    • Support -l=0 and -f=0 to split filenames with null bytes - #​1096
  • syntax
    • New iterator API: Parser.WordsSeq
    • Fix Parser.Incomplete and IsIncomplete to work well with Parser.Words - #​937
    • Initial support for parsing incomplete shell via RecoverErrors
    • Expand LangError to include which language was used when parsing
  • interp
    • Refactor setting variables to fix array declaration edge cases - #​1108
    • Fix test read/write/exec operators to work correctly on directories - #​1116
    • Replace the cancelreader dependency with os.File.SetReadDeadline
    • Avoid waiting for process substitutions, matching Bash
    • Skip OpenHandler when opening named pipes for process substitutions - #​1120
    • Use TMPDIR if set via Env to create temporary files such as named pipes
  • expand
    • New iterator API: FieldsSeq
    • Correctly handle repeated backslashes in double quotes - #​1106
    • Don't expand backslashes inside here-documents - #​1070

Consider becoming a sponsor if you benefit from the work that went into this release!

v3.10.0

Compare Source

  • cmd/shfmt
    • Report the correct language variant in parser error messages - #​1102
    • Move --filename out of the parser options category - #​1079
  • syntax
    • Parse all CRLF line endings as LF, including inside heredocs - #​1088
    • Count skipped backslashes inside backticks in position column numbers - #​1098
    • Count skipped null bytes in position column numbers for consistency
  • interp
    • Fix a regression in v3.9.0 which broke redirecting files to stdin - #​1099
    • Fix a regression in v3.9.0 where HandlerContext.Stdin was never nil
    • Add an Interactive option to be used by interactive shells - #​1100
    • Support closing stdin, stdout, and stderr via redirections like <&-

Consider becoming a sponsor if you benefit from the work that went into this release!

v3.9.0

Compare Source

This release drops support for Go 1.21 and includes many fixes.

  • cmd/shfmt
    • Switch the diff implementation to remove one dependency
  • syntax
    • Protect against overflows in position offset integers
  • interp
    • Use os.Pipe for stdin to prevent draining by subprocesses - #​1085
    • Support cancelling reads in builtins when stdin is a file - #​1066
    • Support the nocaseglob bash option - #​1073
    • Support the Bash 5.2 @k parameter expansion operator
    • Support the test -O and test -G operators on non-Windows - #​1080
    • Support the read -s builtin flag - #​1063
  • expand
    • Add support for case insensitive globbing - #​1073
    • Don't panic when pattern words are nil - #​1076

A special thanks to @​theclapp for their contributors to this release!

Consider becoming a sponsor if you benefit from the work that went into this release!


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@renovate renovate bot added the bot label Sep 1, 2024
@renovate renovate bot requested a review from a team as a code owner September 1, 2024 08:59
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 2 times, most recently from a17c905 to 9286290 Compare October 2, 2024 13:52
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 4 times, most recently from 6da0c4c to 58964e7 Compare October 15, 2024 10:05
@renovate renovate bot changed the title Update dependency shfmt to v3.9.0 Update dependency shfmt to v3.10.0 Oct 20, 2024
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 3 times, most recently from 88c3288 to aaf1577 Compare October 24, 2024 23:02
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 2 times, most recently from c6589dd to 13b6c28 Compare November 5, 2024 00:03
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 3 times, most recently from 682425b to 4f0c719 Compare November 15, 2024 07:00
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 4f0c719 to dbc32df Compare November 20, 2024 09:18
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 10 times, most recently from f2d200d to 8944c5e Compare December 10, 2024 12:15
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 2 times, most recently from 2dee33e to 1cde991 Compare December 19, 2024 10:05
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 1cde991 to 506e92f Compare December 20, 2024 11:36
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 506e92f to e9aca12 Compare January 31, 2025 17:19
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 5 times, most recently from fb5833b to 85729c9 Compare February 27, 2025 13:01
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 85729c9 to 413d887 Compare March 6, 2025 01:18
@renovate renovate bot changed the title Update dependency shfmt to v3.10.0 Update dependency shfmt to v3.11.0 Mar 6, 2025
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch 2 times, most recently from 98c0d0a to 499ef3f Compare March 12, 2025 14:44
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 499ef3f to 84b6b3e Compare March 20, 2025 15:37
@renovate renovate bot force-pushed the renovate/shfmt-3.x branch from 84b6b3e to f3a5404 Compare March 31, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants