ast-merge v2.0.7 released!
2.0.7 - 2026-01-01
- TAG: v2.0.7
- COVERAGE: 97.31% – 2569/2640 lines in 47 files
- BRANCH COVERAGE: 89.87% – 869/967 branches in 47 files
- 98.84% documented
Added
Ast::Merge::NodeTyping::Normalizermodule for thread-safe backend type normalization- Provides shared infrastructure for format-specific normalizers (toml-merge, markdown-merge)
- Thread-safe backend registration via mutex-protected operations
configure_normalizerfor initial backend mappings configurationregister_backendfor runtime registration of new backendscanonical_typefor mapping backend-specific types to canonical typeswrapfor wrapping nodes with canonical merge_typeregistered_backends,backend_registered?,mappings_for,canonical_typesquery methods
Ast::Merge::NodeTyping::FrozenWrapperclass for frozen AST nodes- Includes
Freezablebehavior for freeze marker support frozen_node?,slice,signaturemethods
- Includes
- Split
NodeTypingmodule into separate files following autoload pattern:ast/merge/node_typing/wrapper.rbast/merge/node_typing/frozen_wrapper.rbast/merge/node_typing/normalizer.rb
- Comprehensive specs for
NodeTyping::Normalizerincluding thread-safety tests - RBS type signatures for
NodeTyping::NormalizerandNodeTyping::FrozenWrapper
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?