Skip to content

v0.7.0

Choose a tag to compare

@lloydrichards lloydrichards released this 28 Sep 20:33
· 188 commits to main since this release

#v0.7.0 (2025-09-28)

Tackling some of the more knitty-gritty parts of the library setup, but the big addition would be the new Renderer abstraction which takes the existing rendering logic for box and ansi and combines it into a service which can be build using effect.

export class Renderer extends Context.Tag("Renderer")<
  Renderer,
  {
    readonly renderContent: <A>(box: Box.Box<A>) => Effect.Effect<string[]>;
    readonly postProcess: <A>(
      lines: string[],
      annotation?: Annotation.Annotation<A>
    ) => Effect.Effect<string[]>;
    readonly processor: R.TextProcessor;
  }
>() {}

Still some things to figure out, but this should allow me to create new annotation and rendering for things like HTML, XML, POML etc

Features

  • ✨ add abstractied Renderer (#15)

Refactors

  • ♻️ seperate types and implementation(#9)
  • ♻️ align dual pattern (#8)
  • ♻️ add missing interfaces (#10)

Full Changelog: v0.6.0...v0.7.0