|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [3.11.0] - 2025-03-05 |
| 4 | + |
| 5 | +This release drops support for Go 1.22 and includes many enhancements. |
| 6 | + |
| 7 | +- **cmd/shfmt** |
| 8 | + - Support `-l=0` and `-f=0` to split filenames with null bytes - #1096 |
| 9 | +- **syntax** |
| 10 | + - New iterator API: `Parser.WordsSeq` |
| 11 | + - Fix `Parser.Incomplete` and `IsIncomplete` to work well with `Parser.Words` - #937 |
| 12 | + - Initial support for parsing incomplete shell via `RecoverErrors` |
| 13 | + - Expand `LangError` to include which language was used when parsing |
| 14 | +- **interp** |
| 15 | + - Refactor setting variables to fix array declaration edge cases - #1108 |
| 16 | + - Fix `test` read/write/exec operators to work correctly on directories - #1116 |
| 17 | + - Replace the `cancelreader` dependency with `os.File.SetReadDeadline` |
| 18 | + - Avoid waiting for process substitutions, matching Bash |
| 19 | + - Skip `OpenHandler` when opening named pipes for process substitutions - #1120 |
| 20 | + - Use `TMPDIR` if set via `Env` to create temporary files such as named pipes |
| 21 | +- **expand** |
| 22 | + - New iterator API: `FieldsSeq` |
| 23 | + - Correctly handle repeated backslashes in double quotes - #1106 |
| 24 | + - Don't expand backslashes inside here-documents - #1070 |
| 25 | + |
| 26 | +Consider [becoming a sponsor](https://github.com/sponsors/mvdan) if you benefit from the work that went into this release! |
| 27 | + |
3 | 28 | ## [3.10.0] - 2024-10-20
|
4 | 29 |
|
5 | 30 | - **cmd/shfmt**
|
@@ -737,6 +762,7 @@ module in v3.
|
737 | 762 |
|
738 | 763 | Initial release.
|
739 | 764 |
|
| 765 | +[3.11.0]: https://github.com/mvdan/sh/releases/tag/v3.11.0 |
740 | 766 | [3.10.0]: https://github.com/mvdan/sh/releases/tag/v3.10.0
|
741 | 767 | [3.9.0]: https://github.com/mvdan/sh/releases/tag/v3.9.0
|
742 | 768 | [3.8.0]: https://github.com/mvdan/sh/releases/tag/v3.8.0
|
|
0 commit comments