Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move generic Subtag to subtags #4932

Merged
merged 2 commits into from
May 29, 2024
Merged

Conversation

zbraniecki
Copy link
Member

First patch from the #1833 patchset.

It moves the Subtag to locid::subtags::Subtag - this is a generic subtag (2..=8, separate from private::Subtag which is 1..=8) which will be used to iterate over multi-part subtags like extensions::unicode::Value to retrieve specific items without relying on the underlying TinyStr storage.

It's a breaking change because we are removing extensions::other::Subtag. I assume this is ok as we're working on 2.0 so I don't need to add alias and deprecate it, but please confirm.

@zbraniecki zbraniecki requested a review from nciric as a code owner May 23, 2024 12:32
@zbraniecki zbraniecki requested review from sffc and removed request for nciric May 23, 2024 12:35
@zbraniecki zbraniecki self-assigned this May 23, 2024
@robertbastian
Copy link
Member

Breaking changes are not ok yet. I'm working on releasing 1.5, after which the breakage can begin.

@zbraniecki
Copy link
Member Author

what's the ETA for 1.5?

@robertbastian
Copy link
Member

The next few days

@robertbastian robertbastian added the 2.0-breaking Changes that are breaking API changes label May 23, 2024
@zbraniecki zbraniecki merged commit de39054 into unicode-org:main May 29, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0-breaking Changes that are breaking API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants