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

refactor!: restrict addon name to valid programming variable name #49

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

halajohn
Copy link
Member

@halajohn halajohn commented Sep 25, 2024

refactor!: restrict addon name to valid programming variable name

Previously, any non-empty string could be used as the addon name. To enable the non injection-based
addon registration mechanism in the future, the addon name is now restricted to a valid programming
variable name.

The regular expression is ^[A-Za-z_][A-Za-z0-9_]*$.

BREAKING CHANGE: The addon name must comply with the regular expression mentioned above.

@halajohn halajohn self-assigned this Sep 25, 2024
@halajohn halajohn changed the title Restrict addon name to valid programming variable name. refactor!: restrict addon name to valid programming variable name Sep 26, 2024
Previously, any non-empty string could be used as the addon name. To enable the non injection-based
addon registration mechanism in the future, the addon name is now restricted to a valid programming
variable name.

The regular expression is `^[A-Za-z_][A-Za-z0-9_]*$`.

BREAKING CHANGE: The addon name must comply with the regular expression mentioned above.
@halajohn halajohn force-pushed the refactor-restrict-addon-name branch from ef54e7b to ae4d815 Compare September 26, 2024 03:47
@halajohn halajohn merged commit ad6cebe into main Sep 26, 2024
22 checks passed
@halajohn halajohn deleted the refactor-restrict-addon-name branch September 26, 2024 03:51
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.

1 participant