Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps mvdan.cc/sh/v3 from 3.4.2 to 3.6.0.

Release notes

Sourced from mvdan.cc/sh/v3's releases.

v3.6.0

This release drops support for Go 1.17 and includes many features and fixes.

  • cmd/shfmt
    • Implement --from-json as the reverse of --to-json - #900
    • Improve the quality of the --to-json output - #900
    • Provide detected language when erroring with -ln=auto - #803
  • syntax
    • Don't require peeking two bytes after echo * - #835
    • Simplify ${name:-} to the equivalent ${name-} - #849
    • Don't print trailing whitespaces on nested subshells - #814
    • Don't print extra newlines in some case clauses - #779
    • Don't indent comments preceding case clause items - #917
    • Allow escaped newlines before unquoted words again - #873
    • Parse a redirections edge case without spaces - #879
    • Give a helpful error when <<< is used in POSIX mode - #881
    • Forbid ${!foo*} and ${!foo@} in mksh mode - #929
    • Batch allocations less aggressively in the parser
  • syntax/typedjson
    • Expose --from-json and --to-json as Go APIs - #885
  • expand
    • Improve support for expanding array keys and values - #884
    • Don't panic on unsupported syntax nodes - #841
    • Don't panic on division by zero - #892
    • Properly expand unquoted parameters with spaces - #886
    • Trim spaces when converting strings to integers - #928
  • interp
    • Add initial implementation for mapfile and readarray - #863
    • Improve matching patterns against multiple lines - #866
    • Support %b in the printf builtin - #955
    • Display all Bash options in shopt - #877
  • pattern
    • Add EntireString to match the entire string using ^$ - #866

#779: mvdan/sh#779 #803: mvdan/sh#803 #814: mvdan/sh#814 #835: mvdan/sh#835 #841: mvdan/sh#841 #849: mvdan/sh#849 #863: mvdan/sh#863 #866: mvdan/sh#866 #873: mvdan/sh#873 #877: mvdan/sh#877 #879: mvdan/sh#879 #881: mvdan/sh#881 #884: mvdan/sh#884 #885: mvdan/sh#885 #886: mvdan/sh#886

... (truncated)

Changelog

Sourced from mvdan.cc/sh/v3's changelog.

[3.6.0] - 2022-12-11

This release drops support for Go 1.17 and includes many features and fixes.

  • cmd/shfmt
    • Implement --from-json as the reverse of --to-json - #900
    • Improve the quality of the --to-json output - #900
    • Provide detected language when erroring with -ln=auto - #803
  • syntax
    • Don't require peeking two bytes after echo * - #835
    • Simplify ${name:-} to the equivalent ${name-} - #849
    • Don't print trailing whitespaces on nested subshells - #814
    • Don't print extra newlines in some case clauses - #779
    • Don't indent comments preceding case clause items - #917
    • Allow escaped newlines before unquoted words again - #873
    • Parse a redirections edge case without spaces - #879
    • Give a helpful error when <<< is used in POSIX mode - #881
    • Forbid ${!foo*} and ${!foo@} in mksh mode - #929
    • Batch allocations less aggressively in the parser
  • syntax/typedjson
    • Expose --from-json and --to-json as Go APIs - #885
  • expand
    • Improve support for expanding array keys and values - #884
    • Don't panic on unsupported syntax nodes - #841
    • Don't panic on division by zero - #892
    • Properly expand unquoted parameters with spaces - #886
    • Trim spaces when converting strings to integers - #928
  • interp
    • Add initial implementation for mapfile and readarray - #863
    • Improve matching patterns against multiple lines - #866
    • Support %b in the printf builtin - #955
    • Display all Bash options in shopt - #877
  • pattern
    • Add EntireString to match the entire string using ^$ - #866

[3.5.1] - 2022-05-23

  • cmd/shfmt
    • Fix the Docker publishing script bug which broke 3.5.0 - #860
  • interp
    • Support multi-line strings when pattern matching in [[ - #861
    • Invalid glob words are no longer removed with nullglob - #862
  • pattern
    • Regexp now returns the typed error SyntaxError - #862

[3.5.0] - 2022-05-11

This release drops support for Go 1.16 and includes many new features.

  • cmd/shfmt

... (truncated)

Commits
  • dff4392 CHANGELOG: add entry for v3.6.0
  • 4b17735 cmd/shfmt: update Dockerfile versions
  • b01c433 interp: implement %b for printf builtin
  • 231a634 mod: update to renameio v2
  • 704f759 mod: update deps
  • 461be7e CI: revert from macos-12 temporarily
  • 8472ca4 interp: make trap consistent with errexit logic
  • 289e21b syntax: attach comments to the right case clause item
  • fa48a22 syntax: avoid extra newlines when printing case clauses
  • c95f74c cmd/shfmt: test that we treat symlinks right when walking
  • 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 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 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 [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.4.2 to 3.6.0.
- [Release notes](https://github.com/mvdan/sh/releases)
- [Changelog](https://github.com/mvdan/sh/blob/master/CHANGELOG.md)
- [Commits](mvdan/sh@v3.4.2...v3.6.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/sh/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 12, 2022
@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #104 (7cfd7b8) into main (a4d5207) will decrease coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   39.56%   39.37%   -0.20%     
==========================================
  Files           9        9              
  Lines         508      508              
==========================================
- Hits          201      200       -1     
  Misses        280      280              
- Partials       27       28       +1     
Impacted Files Coverage Δ
pkg/version/git_commit.go 65.00% <0.00%> (-2.50%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant