github.com/huandu/xstrings breaking changes
github.com/huandu/xstrings v1.6.3 (October 20, 2026) is its newest release with breaking changes, 7 of them. The first: Behavior changed Center. Every breaking API change we have recorded in github.com/huandu/xstrings on Go modules: 14 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v1.6.7, released December 2, 2026. Source repository
Packages on Go modules run on Go. Go end of life dates.
github.com/huandu/xstrings v1.6.3 breaking changes
- Behavior changed
Center
Partial pad bytes are now copied unchanged rather than rewritten as U+FFFD. Valid UTF-8 results are unchanged. github.com - Behavior changed
ExpandTabs
Invalid UTF-8 bytes are now copied unchanged rather than replaced with U+FFFD. Valid UTF-8 output is unchanged. github.com - Behavior changed
FirstRuneToLower
FirstRuneToLower now lowercases titlecase, Roman numeral, circled and other letterlike runes that it previously left unchanged. Code relying on those runes staying the same must be updated. github.com - Behavior changed
FirstRuneToUpper
FirstRuneToUpper now uppercases titlecase, Roman numeral, circled and other letterlike runes that it previously left unchanged. Code relying on those runes staying the same must be updated. github.com - Behavior changed
LeftJustify
Partial pad bytes are now copied unchanged rather than rewritten as U+FFFD. Valid UTF-8 results are unchanged. github.com - Behavior changed
RightJustify
Partial pad bytes are now copied unchanged rather than rewritten as U+FFFD. Valid UTF-8 results are unchanged. github.com - Behavior changed
Squeeze
Invalid bytes are copied unchanged, and distinct invalid byte sequences are kept rather than squeezed together. Valid UTF-8 results are unchanged. github.com
github.com/huandu/xstrings v1.6.2 breaking changes
- Behavior changed
ToCamelCase
A single uppercase letter behind a separator is now kept uppercase, so "option_A" becomes "optionA" instead of "optiona". Review code that depends on the old lowercased output. github.com - Behavior changed
Translate
Patterns containing a literal U+FFFD replacement character are now parsed correctly, so results for such patterns change. Review code that passes U+FFFD in from or to patterns. github.com
github.com/huandu/xstrings v1.6.0 breaking changes
- Behavior changed
Delete
Unmatched valid U+FFFD runes are now kept, and invalid bytes are copied as is instead of being rewritten as U+FFFD. Check code that depends on the exact output. github.com - Behavior changed
Slice
Slice with a negative end used to return an empty string for an out-of-range start, and now it panics with "out of range". Code that relied on the empty result must now handle the panic. github.com - Behavior changed
Successor
A carry no longer crosses from a letter to a digit or the reverse, matching Ruby's String#succ. Mixed input such as "8a_9" now gives different results, so check code that depends on the old output. github.com - Behavior changed
Translate
Unmatched valid U+FFFD runes are now kept, and invalid bytes are copied as is instead of being rewritten as U+FFFD. Check code that depends on the exact output, such as Translate("hel\uFFFDlo", "^\uFFFD", "H"). github.com
github.com/huandu/xstrings v1.5.0 breaking changes
- Behavior changed
ToCamelCase
ToCamelCase now returns camelCaseString, with the first letter lower case, instead of CamelCaseString. To keep the old output, use the new ToPascalCase function. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.