v0.3.0: Pipeline Utilities, JSON Support, and Analysis
·
7 commits
to main
since this release
This is a major feature release introducing powerful utilities for pipeline management, analysis, and JSON support.
✨ Added
- JSON Export/Import:
PipelineBuilderandPipelineComposernow support converting pipelines to and from JSON (toJSON,toObject,fromJSON), including exporting with custom metadata. PipelineUtilsClass: A new static utility class for advanced operations like pipeline validation (validate), deep cloning (clone), comparison (compare), and statistical analysis (getStats).- Pipeline Analysis: Added features to get human-readable descriptions (
describe) and estimate the complexity of pipelines. - Advanced Manipulation:
PipelineUtilsalso includes methods to filter, remove, insert, and replace stages within a pipeline. - Enhanced
PipelineComposer: The composer can now inspect its composed pipeline for specific stages (hasStage,getStagesByType). EXAMPLES.md: Created a comprehensive document with detailed usage examples for all the new features.
🔧 Changed
- Significantly enhanced the
README.mdwith documentation for all new features. - Improved overall type safety and error handling across the library.
🐛 Fixed
- Improved error messages for better debugging when building pipelines.
- Strengthened the validation logic in
PipelineUtils.