Releases: alexzzzs/SharpParser.Core
Releases · alexzzzs/SharpParser.Core
SharpParser.core 1.3.0 release.
SharpParser.Core v1.3.0 Release Notes
Complete Parallel Parsing Implementation
Major Features
Multi-threaded Parsing Performance
- Complete parallel parsing implementation for improved performance on multi-core systems
- Thread-safe result merging for tokens, AST nodes, and errors
- Configurable function boundary detection with regex patterns
- Multi-language support for JavaScript, F#, and C# function parsing
CI/CD Pipeline
- Comprehensive GitHub Actions automation for quality assurance
- Multi-platform testing (Windows, Linux, macOS) with .NET 6.0, 7.0, 8.0, 9.0
- Automated test execution with coverage reporting via Codecov
- Performance benchmark automation on main branch pushes
- NuGet package validation and local testing
Automated Release
- Complete CI/CD pipeline with automatic package publishing
- GitHub Actions workflow for automated releases
- NuGet API key integration for secure publishing
- Release validation with version consistency checks
Improvements
Input Validation
- Added comprehensive validation for public API functions
- Null/empty string validation to
Parser.runandParser.runString - Parameter validation for
onSequence,onPattern, andinModefunctions - Range validation for
withMaxParallelismandwithMinFunctionsForParallelism
Code Organization
- Extracted parallel functionality into dedicated
ParallelProcessing.fsmodule - Simplified expression stack logic with helper functions
- Enhanced API documentation for complex functions
- Expanded test suite from 138 to 148 tests
Dependency Management
- Automated dependency updates with Dependabot
- Weekly update schedule with proper commit prefixes
- Controlled update frequency to prevent breaking changes
Technical Details
- Parallel parsing correctly handles line number adjustments across function boundaries
- CI pipeline ensures cross-platform compatibility and performance regression detection
- Function boundary detection supports extensible patterns for different programming languages
- Code coverage reporting integrated with automated quality gates
- Input validation prevents runtime exceptions from invalid parameters
Performance
- Trie-based sequence matching for O(1) character lookups
- Compiled regex patterns for fast pattern matching
- Immutable data structures for thread safety and functional style
- Minimal allocations through pure functions and immutability
Migration Guide
This release maintains full backward compatibility with v1.2.0. No breaking changes were introduced.
New Features Available:
// Enable parallel parsing for better performance
Parser.create ()
|> Parser.enableParallel ()
|> Parser.withMinFunctionsForParallelism 2
|> Parser.onSequence "function" (fun ctx -> ctx)Verification
- 145 tests passing across all functionality
- Multi-platform compatibility verified
- Performance benchmarks automated
- Package validation completed
Released on October 14, 2025
Full changelog available in CHANGELOG.md