Aquesta és una versió anterior. La versió actual és la 3.14.1. shfmt 3.14.1 · Data de publicació:
Fitxers d’instal·lació 3.11.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | Portable | — | — | github.com | VirusTotal |
| 32 bits | Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
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!