Skip to content

fix: accept dsl versions with pre-release tags for minimum in range - #292

Merged
JBBianchi merged 2 commits into
open-workflow-specification:mainfrom
lornakelly:291/dsl-validation-fix
Jul 27, 2026
Merged

fix: accept dsl versions with pre-release tags for minimum in range#292
JBBianchi merged 2 commits into
open-workflow-specification:mainfrom
lornakelly:291/dsl-validation-fix

Conversation

@lornakelly

Copy link
Copy Markdown
Contributor

Many thanks for submitting your Pull Request ❤️!

Fixes #291

What this PR does / why we need it:
Fixes DSL version validation rejecting valid dsl versions. The valid range was 1.0.0 >=1.0.3 which meant valid versions like 1.0.0-alpha were incorrectly rejected. The previous PR #267 purposely rejected these but the rejection logic was incorrect as they should be considered valid

Updated supported range to 1.0.0-0 >=1.0.3 so those values are now accepted

Special notes for reviewers:

Additional information (if needed):

Signed-off-by: Lorna Kelly <lornakelly88@gmail.com>
Signed-off-by: Lorna Kelly <lornakelly88@gmail.com>
@lornakelly
lornakelly force-pushed the 291/dsl-validation-fix branch from 5c84290 to 0424271 Compare July 24, 2026 10:10
@lornakelly

lornakelly commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

@JBBianchi @ricardozanini Want to confirm that the correct logic is we accept versions that have identifiers for both the minimum and maximum range (1.0.0, 1.0.3), please correct if any of the below is NOT what we want:

1.0.0 - valid
1.0.0-alpha - valid
1.0.3 - valid
1.0.3-alpha - valid

@lornakelly
lornakelly marked this pull request as ready for review July 24, 2026 13:05

@ricardozanini ricardozanini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Yes, that's what we are expecting. Many thanks, @lornakelly

@JBBianchi
JBBianchi merged commit e114c96 into open-workflow-specification:main Jul 27, 2026
2 checks passed
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.

Bug: sdk-typescript incorrectly rejects pre-release DSL versions

3 participants