Skip to content

Releases

Release 6.0.5

Choose a tag to compare

@webpro webpro released this 22 Nov 07:26
4f1e230

Release 6.0.4

Choose a tag to compare

@webpro webpro released this 07 Nov 09:23
2e10c0f

Release 6.0.3

Choose a tag to compare

@webpro webpro released this 01 Nov 09:57
61b82c2
  • Parse $'' and $"" as redirect targets, and process substitutions after <<< (#19) (758e1b9) - thanks @gkurt!
  • Assert here-string targets literally and cover $"" and <<<>(f) (7d4a142)
  • Read here-string targets through the shared redirect tail (b565adc)

Release 6.0.2

Choose a tag to compare

@webpro webpro released this 30 Oct 05:56
78bea41
  • Truncate ANSI-C quoted values at the first NUL escape (#17) (4e08743) - thanks @mkantautas!
  • Keep << inside unquoted parameter expansions out of heredoc detection (resolve #18) (7e0861d)
  • Update dependencies (d3acd6f)

Release 6.0.1

Choose a tag to compare

@webpro webpro released this 20 Oct 06:52
925cef2

Release 6.0.0

Choose a tag to compare

@webpro webpro released this 16 Oct 09:52
968c149
  • Add structured glob word parts (resolve #13) (3430d10)
  • Flatten control flow and preserve partial parsing (130da6c)
  • Require a substitution context for lazy syntax (c8e1cc6)
  • Defer embedded syntax and add canonical traversal (024841b)
  • Mark bracket globs at the start of array elements (c3dde9b)
  • Read quoted and expanded subscripts as one assignment word (8a1bb4c)
  • Keep ANSI-C quotes intact while matching subscripts (ef95c8e)
  • Handle ANSI-C quotes in command substitutions (resolve #15) (d7c9469)
  • Preserve subscript boundaries and report missing closers (be7a1fc)
  • Keep coproc subscript arguments together (68d8876)
  • Document v6 migration (a9c6b77)
  • Isolate parser benchmarks with Tinybench (2e868cf)
  • Add pkg.pr.new preview workflow (db63c2b)
  • Update description and add bitmap (505fe71)

Release 5.1.0

Choose a tag to compare

@webpro webpro released this 12 Oct 17:10
17e2166
  • Prefer default Bash syntax over ambiguous extglobs (db0dbd2)
  • Align substitution boundaries and parameter quoting with Bash (6cd8f77)
  • Read arithmetic words without process substitution (5032d07)
  • Fix quoted parameter boundaries after escaped or doubled dollars (c6e516f)
  • Report empty conditions and do or else bodies (6249798)
  • Require case, for and select words and validate case pattern lists (1f0c8a8)
  • Reject && or || as a test primary and unquoted < or > as a test operand (5974782)
  • Report operators and stray parentheses in array assignment bodies (d3e23ab)
  • Open array values only after assignment operators where Bash allows them (06cce9b)
  • Detect brace expansions across quotes and substitutions like Bash (dd1354f)
  • Simplify use cases and (un)supported syntax (2fcc276)
  • Edit readme (0604e5c)
  • Update dependencies (fc6b475)
  • Refresh benchmarks (1facc61)

Release 5.0.0

Choose a tag to compare

@webpro webpro released this 30 Sep 07:45
558bceb
  • Define the v5 read-only AST contract and build configuration (1359834)
  • Record part ranges, descriptors, heredoc closings, and parameter operations in the lexer (1df80c2)
  • Parse ordered command items, redirect scope, timing prefixes, and lazy assignments (b00f12c)
  • Print ordered command items and pipeline prefixes from word text (e44128f)
  • Test the v5 AST contract, recovery shapes, and public types (c23ce81)
  • Benchmark by parser path and smoke-test the built package on Node 14 (9a4d397)
  • Avoid pipeline arrays for single commands (6c3c548)
  • Skip rescanning plain words for lazy parts (e81ef8a)
  • Document the v5 API and refresh benchmarks (7097c6f)
  • Add v5 migration guide (fdfe0c5)

Please see docs/MIGRATION-v4-to-v5.md for main bug fixes and changes.

Release 4.0.12

Choose a tag to compare

@webpro webpro released this 30 Sep 05:21
1de96f2
  • Preserve command prefix redirects when printing (084c994)
  • Preserve repeated pipeline negation semantics (eced885)
  • Skip redundant classification of plain words (d2009b2)
  • Preserve background terminators in printed clauses (f18d8b3)
  • Keep unparsed arithmetic tokens instead of a partial tree (f1cb0ed)
  • Recognize redirect descriptors only as unquoted digits or identifiers (33b42f9)
  • Report unary test operators without an operand (2603528)
  • Print assignment-like function names with the function keyword (8ead402)
  • Print the esac case pattern with its opening parenthesis (65d53d8)
  • Report unterminated arithmetic and keep its body (a5c27a3)
  • Report arithmetic for headers without three expressions (23a405e)
  • Position empty case item bodies after their pattern (9c8c51e)
  • Report empty brace groups and subshells (466a89b)
  • Restore array references in redirect descriptors (92131c6)
  • Skip redundant classification and decoding of words (0efc554)
  • Avoid temporary arrays when printing simple commands (6236039)
  • Refresh benchmarks against latest parser releases (156f0f4)
  • Update dependencies (6377190)

Release 4.0.11

Choose a tag to compare

@webpro webpro released this 01 Sep 19:04
235e9b3
  • Enable GitHub releases (resolves #9) (c21a0e3)
  • Preserve hash literals at nested word boundaries (33ec233)
  • Terminate empty-delimiter heredocs when printing (e2f6c64)
  • Cover upstream syntax edge cases (fe40610)
  • Reject empty then bodies (598b268)
  • Decode backtick quotes inside double quotes (7ab51ce)
  • Parse continued command substitutions (72a5ecb)
  • Preserve parameter slice boundaries around nested syntax (f322518)
  • Refresh benchmark results (abd7346)