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

feat: support v prefix when validating semver #1248

Open
cre8ivejp opened this issue Sep 20, 2024 · 0 comments
Open

feat: support v prefix when validating semver #1248

cre8ivejp opened this issue Sep 20, 2024 · 0 comments

Comments

@cre8ivejp
Copy link
Member

Currently, the module being used in Bucketeer doesn't support v prefix.
Some platforms do and do not support the v prefix, which creates an inconsistency.

The semver value is used in the Flag targeting as a custom rule. Since the flag can be used in any supported SDKs (NodeJS, Android, etc), we should also support the v prefix.

It seems Go is trying to make it a default standard requiring the v prefix.
This package follows Semantic Versioning 2.0.0 (see semver.org) with two exceptions. First, it requires the "v" prefix
Reference:
https://pkg.go.dev/golang.org/x/mod/semver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant