Skip to content

Conversation

simonseyock
Copy link
Member

The stringDivider function was not splitting at width, but at width+1. Thanks to @marcjansen for mentioning this in terrestris/react-geo#4394.

Copy link
Member

@marcjansen marcjansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minors, pick what you agree with.

This is a bug fix, but since it changes the output should this be consodered a major change? And have some release notes? I suspect some puzzled faces otherwise

@simonseyock
Copy link
Member Author

simonseyock commented Oct 6, 2025

Yes, we can make it a breaking change.

BREAKING CHANGE: The stringDivider function now breaks at given length and not at given length + 1.
@simonseyock simonseyock merged commit 55a8e10 into master Oct 6, 2025
1 check passed
@simonseyock simonseyock deleted the fix-string-divider branch October 6, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants