Skip to content

Conversation

benoitkugler
Copy link
Contributor

@benoitkugler benoitkugler commented Oct 2, 2025

Recent changes in the standard unicode package have broken some tests.

This PR aims at fixing this behavior and ensuring no future change would break our tests by not relying on the standard package anymore.

There is a backward incompatible change : simplifying LookupType to IsAssigned, but it is in the unicodedata package which is mainly internal, so that (with proper minor version bump) it should be acceptable.

Fixes #202

Copy link
Contributor

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

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

This looks like a breaking change - any code using unicode.LookupType will no longer compile.
Any reason we can't leave the old API as well so it doesn't break peoples apps?

@benoitkugler
Copy link
Contributor Author

This looks like a breaking change - any code using unicode.LookupType will no longer compile. Any reason we can't leave the old API as well so it doesn't break peoples apps?

We can indeed keep this function (done in 93bee5f).

Copy link
Contributor

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

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

Thanks

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.

Go v1.25 seems to break some tests
2 participants