Repository navigation
v0.4.0
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_stdlib1.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 readsgleam.toml.
Documentation
line.to_svg,line.to_png,bar.to_svgandbar.to_pngnow state what an empty, single-value or all-equal series renders, asunicode.renderand 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 sparklinekitSee HexDocs for the API
reference.