Skip to content

Commit 56f7a0e

Browse files
committed
Convert rfd text
1 parent 5cfcb16 commit 56f7a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfds/0000-formalize-semver-version-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Failing to adopt stricter datatypes will maintain the status quo which is genera
2222
## Proposed Solution
2323
[proposed-solution]: #proposed-solution
2424

25-
The proposed change adds a new "semver-2.0.0-version" pattern and two new properties for expressing version ranges. The two new properties `greaterThan`, and `greaterThanOrEqual` allow for the expression of an either exclusive, or inclusive upper bound on a version range. The new pattern "semver-2.0.0-version" is used to validate payloads which may be provided in the `version`, `lessThan`, `lessThanOrEqual`, `greaterThan`, and `greaterThanOrEqual`.
25+
The proposed change adds a new `semver-2.0.0-version` pattern and five new properties for expressing version ranges. The parameters are `exactly`, `inclusiveLowerBound`, `exclusiveLowerBound`, `inclusiveUpperBound`, and `exclusiveUpperBound` and map to the mathematics operators `=`, `>=`, `>`, `<=`, and `<`. These parameters are only expected to be used with the `semver-2.0.0` version type. Validation is proved in the form of a regular expression which is taken directly from semver.org in order to ensure interoperability.
2626

2727
## Examples
2828
[examples]: #examples

0 commit comments

Comments
 (0)