ast-merge v2.0.5 released!
2.0.5 - 2025-12-31
- TAG: v2.0.5
- COVERAGE: 91.68% – 2379/2595 lines in 44 files
- BRANCH COVERAGE: 81.37% – 782/961 branches in 44 files
- 98.82% documented
Added
- Comprehensive tests for
Ast::Merge::AstNodeand nested structs (Point, Location) - Tests for
Ast::Merge::Comment::Styleclass methods and instance methods - Tests for
Ast::Merge::Comment::Lineincluding freeze marker detection - Tests for
Ast::Merge::Comment::Blockincluding raw_content and children modes - Tests for
Ast::Merge::Comment::Parseredge cases (unclosed blocks, mixed content, auto-detection) - Tests for
Ast::Merge::NavigableStatementtree navigation methods - Tests for
Ast::Merge::InjectionPoint(start_line, end_line, inspect) - Tests for
Ast::Merge::InjectionPointFinderboundary options (boundary_type, boundary_text, boundary_matcher, boundary_same_or_shallower) - Tests for
Ast::Merge::PartialTemplateMerger::Resultincluding injection_point and default values - Tests for
Ast::Merge::PartialTemplateMergertext pattern normalization (regex strings, plain strings) - Tests for
Ast::Merge::PartialTemplateMergeranchor normalization with level options - Tests for
Ast::Merge::PartialTemplateMergerunknown when_missing fallback behavior - Tests for
Ast::Merge::PartialTemplateMergersection boundary detection and replace_mode behavior - Tests for
Ast::Merge::PartialTemplateMergerunknown parser error handling - Tests for
Ast::Merge::Recipe::Runner::Resultstats and error attributes - Tests for
Ast::Merge::Recipe::Runneractual file writes (non-dry-run mode) - Tests for
Ast::Merge::Recipe::Runnererror handling (unreadable files, missing template) - Tests for
Ast::Merge::Recipe::Runnerwhen_missing with append behavior - Tests for
Ast::Merge::Recipe::Configsame_or_shallower boundary, replace_mode, level options - Tests for
Ast::Merge::Recipe::Configinjection parsing with empty/nil/Regexp patterns - Tests for
Ast::Merge::Recipe::Configexpand_targets with absolute patterns - Tests for
Ast::Merge::Recipe::Presetcallable add_missing and node_typing - Tests for
Ast::Merge::Recipe::Presetscript_loader caching - Tests for
Ast::Merge::Recipe::ScriptLoadersyntax error handling - Tests for
Ast::Merge::Recipe::ScriptLoaderabsolute path resolution - Tests for
Ast::Merge::ContentMatchRefinerextract_node_type with typed nodes - Tests for
Ast::Merge::ContentMatchRefinerfilter_nodes with node_types
Changed
- tree_haver v3.2.1
- Internal files now use autoload instead of
require_relativefor consistency
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?