Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 14:42
· 25 commits to main since this release
02d6e80

Changed

  • The minimum Gleam version is now 1.14.0 (was 1.15.0). 1.14.0 builds and tests the package unchanged on both targets, and gleam_stdlib 1.0 already requires it. CI tests that floor alongside the latest Gleam 1.x.

Fixed

  • sparklinekit.package_version() returned "0.1.0" in 0.2.0 and 0.3.0; it now returns the published version. The test that was meant to catch this compared the constant with a hard-coded string; it now reads gleam.toml.

Documentation

  • line.to_svg, line.to_png, bar.to_svg and bar.to_png now state what an empty, single-value or all-equal series renders, as unicode.render and the README's edge-case section already did. Tests pin that an empty series gives a blank PNG of the configured size.

Install

gleam add sparklinekit

See HexDocs for the API
reference.