Skip to content

Correctly validate characters in semantic version identifiers #3839

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

Conversation

WowbaggersLiquidLunch
Copy link
Contributor

@WowbaggersLiquidLunch WowbaggersLiquidLunch commented Nov 5, 2021

Semantic Versioning 2.0.0 allows only ASCII alpha-numeric characters and "-" in identifiers.

This change makes version initialization more restrictive, so it might be source breaking.

@WowbaggersLiquidLunch

This comment has been minimized.

@WowbaggersLiquidLunch

This comment has been minimized.

@WowbaggersLiquidLunch
Copy link
Contributor Author

@swift-ci please test source compatibility

does source compatibility test only work on apple/swift repository?

@WowbaggersLiquidLunch WowbaggersLiquidLunch force-pushed the validate-version-identifier-character branch from 6e4c3d0 to d18ef55 Compare November 5, 2021 18:03
@WowbaggersLiquidLunch

This comment has been minimized.

Semantic Versioning 2.0.0 allows only _ASCII_ alpha-numeric characters and "-" in identifiers.
@WowbaggersLiquidLunch WowbaggersLiquidLunch force-pushed the validate-version-identifier-character branch from d18ef55 to b18c2ea Compare November 5, 2021 18:13
@WowbaggersLiquidLunch
Copy link
Contributor Author

@swift-ci please smoke test

@elsh elsh merged commit 9e0124e into swiftlang:main Nov 16, 2021
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