Skip to content

v0.3.0: Pipeline Utilities, JSON Support, and Analysis

Choose a tag to compare

@arjun-computer-geek arjun-computer-geek released this 23 Jun 06:43
· 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: PipelineBuilder and PipelineComposer now support converting pipelines to and from JSON (toJSON, toObject, fromJSON), including exporting with custom metadata.
  • PipelineUtils Class: 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: PipelineUtils also 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.md with 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.