I noticed that daml.yaml doesn’t seem to fully support the entire semantic versioning grammar. For example:
daml new test --template create-daml-app
- Change the version in
daml.yaml
to0.1.0-rc.1
(still a valid semver tag) daml build
Results in the warning
WARNING: Package versions should have the format ^(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))?)?$.
You may be able to compile packages with different formats, but you will not be able to
use them as dependencies in other projects. Unsupported package names or versions may
start causing compilation errors without warning.
Is the regex for package versions constrained like this by design?