Skip to content

Releases: pipewrk/llm-core

v1.3.7

24 Aug 23:12

Choose a tag to compare

Automated release for v1.3.7

v1.3.2 - 2025-07-30

30 Jul 03:17

Choose a tag to compare

v1.3.2 — 2025-07-30

🚨 Breaking Changes

  • pipeline factory signature changed
    Old: pipeline(logger)
    New: pipeline(context: PipelineContext<C,T>)
    This gives you full control over your own fields (logger, counters, etc.) and built‑in slots (retries, timeout, cache, stopCondition, stream state).

  • Removed pipeline.addMultiStrategyStep(...)
    Use the new helper function withMultiStrategy(...) instead.

New Types & Core API

  • PipelineContext<U,T>
    Consolidates your user fields (U) with pipeline options and streaming state.

  • PipelineOutcome<T>
    Now models both “pause” (done: false) and early “done” (done: true) outcomes.

  • PipelineStep<C,T>
    Curried step signature: (ctx: C) => (doc: T) => T | PipelineOutcome<T> | Promise<…>.

  • StreamEvent<C,T>
    Three flavors:

    • { type: 'progress'; step; doc }
    • { type: 'pause'; step; doc; info: PipelineOutcome<T> }
    • { type: 'done' }
  • Functional Composition

    • pipe(...fns) — left‑to‑right sequencing
    • compose(...fns) — right‑to‑left composition

New Helper Functions

All shipped in src/core/helpers.ts and documented in PIPELINE_HELPERS.md:

  • Error handling: withErrorHandling(step)
  • Retries: withRetry(step)
  • Timeouts: withTimeout(step)
  • Caching: withCache(step, keyFn)
  • Tap: tap(sideEffect)
  • Multi‑strategy: withMultiStrategy([stepA, stepB, …])

Tests & Coverage

  • Updated all existing tests to match the new PipelineContext shape.

  • Added new test suites for:

    • pipe & compose transformers
    • Each helper (withErrorHandling, withRetry, withTimeout, withCache, tap, withMultiStrategy) in both .run() and .stream() modes

v1.0.5

10 Jul 02:48

Choose a tag to compare

[1.0.5] - Final 1.0 Patch

  • Updated coverage workflow
  • README final corrections

v1.0.4

10 Jul 02:48

Choose a tag to compare

[1.0.4] - Polishing and Cleanup

  • Minor README and workflow corrections
  • Prepped for stable 1.0 push

v1.0.3

10 Jul 02:48

Choose a tag to compare

[1.0.3] - Registry Updates

  • Switched package.json to point to public npm registry
  • Published package publicly

v1.0.2

10 Jul 02:48

Choose a tag to compare

[1.0.2] - Documentation and Config Updates

  • Added .npmrc, publish workflow
  • Finalised CHUNKER.md, OLLAMA_SERVICE.md, PIPELINE.md
  • Improved project metadata

v1.0.1

10 Jul 02:47

Choose a tag to compare

[1.0.1] - Changelog and Patch

  • Added additional changelog metadata
  • Minor release bump

v1.0.0

10 Jul 02:47

Choose a tag to compare

[1.0.0] - Initial Stable Release

  • Achieved 100% test coverage across all core modules
  • Refactored logger, chunker, pipeline, markdown-splitter, and batch-openai-service for maintainability
  • Added detailed test suites with fixtures and coverage reporter
  • Finalised GitHub Actions testing setup
  • Introduced OllamaService, improved error handling and logging
  • Added coverage workflow and versioned release notes

v0.4.0

10 Jul 02:23

Choose a tag to compare

chore(release): 0.4.0

  • Finalised changelog and package version for new documentation release.
  • No code changes since v0.3.0.

v0.3.0

10 Jul 02:21

Choose a tag to compare

docs: create comprehensive guides for core modules

  • Added standalone documentation files for:
    • PIPELINE.md: Orchestration & step execution.
    • OLLAMA_SERVICE.md: Embeddings & structured output.
    • CHUNKER.md: Semantic chunking explained.
  • All guides include Mermaid diagrams to visualise logic and flow.
  • README.md improvements:
    • New "Why Use This Library?" section
    • Refactored examples
    • Links to the detailed guides