Skip to content

Releases: willibrandon/tree-sitter-logrotate

tree-sitter-logrotate 0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 06:15

What's Changed

Full Changelog: v0.1.3...v0.2.0

tree-sitter-logrotate 0.1.3

Choose a tag to compare

@github-actions github-actions released this 13 Aug 23:33

Full Changelog: v0.1.2...v0.1.3

tree-sitter-logrotate 0.1.2

Choose a tag to compare

@github-actions github-actions released this 13 Aug 22:45

What's Changed

Full Changelog: v0.1.1...v0.1.2

tree-sitter-logrotate 0.1.1

Choose a tag to compare

@github-actions github-actions released this 13 Aug 19:37

What's Changed

Full Changelog: v0.1.0...v0.1.1

tree-sitter-logrotate 0.1.0

Choose a tag to compare

@willibrandon willibrandon released this 13 Aug 18:16
70cf52d

The first release parses logrotate configuration files using Tree-sitter ABI 15. It recognizes
global directives, include directives, rotation stanzas, path lists, quoting, escapes, comments,
optional equals separators, numeric values, sizes, and all five raw script blocks. Unknown and
vendor-specific directives remain valid syntax.

The external C99 scanner preserves shell bodies without consuming endscript and recovers a later
stanza after an unterminated script when a complete stanza header provides a safe boundary. Corpus,
incremental, upstream-fixture, fuzz, sanitizer, and performance tests cover the initial grammar.

Portable queries provide highlighting, Bash injection for script_body, and folds for rotation and
script blocks. The public recovery node unterminated_script_block records an incomplete script
without turning later valid stanzas into script text.

C source, npm, Python, Rust, Go, Java, Swift, Zig, and WASM consumers use the same committed parser.
Release artifacts include precompiled Node bindings, platform Python wheels, a source archive,
standalone WASM, Java archives, checksums, CycloneDX SBOMs, and GitHub provenance attestations.