Skip to content

fix: allow 2-letter topics in pubspec.yaml#5288

Merged
hyperupcall merged 1 commit intoSchemaStore:masterfrom
adil192:fix/pubspec/two-letter-topics
Jan 20, 2026
Merged

fix: allow 2-letter topics in pubspec.yaml#5288
hyperupcall merged 1 commit intoSchemaStore:masterfrom
adil192:fix/pubspec/two-letter-topics

Conversation

@adil192
Copy link
Contributor

@adil192 adil192 commented Jan 17, 2026

The current pubspec.yaml schema requires topics to be at least 3 characters long:

image

But the ui topic is valid and also popular with 369 packages including first-party Flutter packages: https://pub.dev/packages?q=topic%3Aui

I've just modified the regex to accept 2 letter topics.

@github-actions
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@hyperupcall
Copy link
Member

Thanks

@hyperupcall hyperupcall merged commit 8dc2dbf into SchemaStore:master Jan 20, 2026
5 checks passed
@adil192 adil192 deleted the fix/pubspec/two-letter-topics branch January 20, 2026 00:52
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.

2 participants