Skip to content

Commit 8906998

Browse files
NSHkrNSHkr
authored andcommitted
Release v0.1.2
1 parent 714ccb5 commit 8906998

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.2] - 2025-06-08
11+
12+
### Added
13+
- **Advanced debugging capabilities**: New `repair_with_debug/2` function with comprehensive step-by-step instrumentation
14+
- **Multi-word unquoted value support**: Enhanced Layer 3 to handle complex cases like `Weiss Savage``"Weiss Savage"`
15+
- **Detailed repair reporting**: Enhanced logging with position tracking, original values, and replacement details
16+
- **Layer 3 architecture refactor**: Modularized syntax normalization into specialized processors:
17+
- `BinaryProcessors`: High-performance binary pattern matching
18+
- `CharacterParsers`: Context-aware character-by-character parsing
19+
- `QuoteProcessors`: Advanced quote normalization
20+
- `RuleProcessors`: Rule-based transformation engine
21+
- `SyntaxDetectors`: Pattern detection and classification
22+
- `PostProcessors`: Final cleanup and validation
23+
24+
### Enhanced
25+
- **Performance optimization**: Improved Layer 3 processing with sophisticated multi-word value detection
26+
- **Type safety**: Added comprehensive Dialyzer type specifications for all debug functions
27+
- **Test coverage**: Added integration tests for real-world JSON repair scenarios
28+
- **Error handling**: Enhanced context sanitization for layer module compatibility
29+
30+
### Fixed
31+
- **Complex unquoted values**: Fixed handling of multi-word unquoted string values with spaces
32+
- **Boolean preservation**: Maintained proper boolean/null normalization while adding quote support
33+
- **Structural repair**: Improved missing bracket and brace detection
34+
- **Type specifications**: Resolved all Dialyzer warnings for enhanced type safety
35+
36+
### Technical Details
37+
- **Debug instrumentation**: Added `process_through_pipeline_with_debug/3` and `process_layer_with_debug/5`
38+
- **Context management**: Enhanced repair context with debug step tracking
39+
- **Performance metrics**: Added processing time tracking and repair counting
40+
- **Real-world testing**: Added 271-line test file with complex JSON repair scenarios
41+
42+
### Performance
43+
- **Efficient processing**: ~48ms for 9KB malformed JSON files
44+
- **Minimal repairs**: Optimized to make only necessary changes (2 repairs vs 8+ in previous versions)
45+
- **Layer 3 efficiency**: Enhanced binary processing with reduced repair overhead
46+
1047
## [0.1.1] - 2025-06-07
1148

1249
### Changed

0 commit comments

Comments
 (0)