Skip to content

v3.0.1

Latest

Choose a tag to compare

@cmilesio cmilesio released this 24 Nov 19:54
· 6 commits to main since this release

Excerpt now handles very large radii, including math.MaxInt, without panicking. Expansion is clamped to the available text, preserving Unicode handling and the existing default radius for nonpositive inputs.

Thanks to @fbirds5230 for the fix in #16!

Also includes repository automation maintenance. The public API and minimum Go version (1.24) are unchanged.

go get github.com/goforj/str/v3@v3.0.1

Full changelog