Skip to content

update DSL version from alpha1, alpha2, alpha5 to 1.0.0 across multip… #1082

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

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .ci/validation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci/validation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "validation",
"version": "0.9.0-snapshot",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions .ci/validation/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export module SWSchemaValidator {
const ajv = new Ajv({ strict: false, allowUnionTypes: true });
addFormats(ajv);

const workflowSchemaId =
"https://serverlessworkflow.io/schemas/1.0.0-alpha5/workflow.yaml";
const workflowSchemaId = "https://serverlessworkflow.io/schemas/1.0.0/workflow.yaml";
const schemaPath = "../../../schema";
export const defaultEncoding = "utf-8";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: examples
name: two-tasks-in-one-item
version: '0.1.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document:
dsl: '1.0.0-alpha1'
dsl: '1.0.0'
namespace: test
name: listen-to-any
version: '0.1.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: examples
name: two-tasks-in-one-item
version: '0.1.0'
Expand Down
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This versioning strategy ensures clarity and transparency in tracking changes an
| `change: feature` | `0.x.0` | Addition of significant capabilities, enhancements, or functionalities that extend the DSL's capabilities or improve its usability. |
| `change: breaking` | `x.0.0` | Alterations that are incompatible with previous versions, necessitating adjustments in existing workflows or implementations. |

In addition to versioning changes denoted by labels in pull requests, pre-release versions will be suffixed with either `alphaX`, `betaX`, or `rcX` where `X` represents the pre-release version number (ex: `1.0.0-alpha1`). These pre-release versions are designated to indicate different stages of development and testing before the final release.
In addition to versioning changes denoted by labels in pull requests, pre-release versions will be suffixed with either `alphaX`, `betaX`, or `rcX` where `X` represents the pre-release version number (ex: `1.0.0`). These pre-release versions are designated to indicate different stages of development and testing before the final release.

- **Alpha versions** are the earliest stages of testing and development. They typically contain incomplete features and may have known issues. They are intended for a limited audience, such as internal testers or early adopters, for initial feedback and testing.

Expand Down
2 changes: 1 addition & 1 deletion ctk/features/branch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Composite Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: fork
version: '1.0.0'
Expand Down
10 changes: 5 additions & 5 deletions ctk/features/call.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: http-call-with-content-output
version: '1.0.0'
Expand Down Expand Up @@ -40,7 +40,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: http-call-with-response-output
version: '1.0.0'
Expand Down Expand Up @@ -68,7 +68,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: http-call-with-basic-auth
version: '1.0.0'
Expand Down Expand Up @@ -98,7 +98,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: openapi-call-with-content-output
version: '1.0.0'
Expand Down Expand Up @@ -127,7 +127,7 @@ Feature: Call Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: openapi-call-with-response-output
version: '1.0.0'
Expand Down
6 changes: 3 additions & 3 deletions ctk/features/data-flow.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: output-filtering
version: '1.0.0'
Expand Down Expand Up @@ -36,7 +36,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: output-filtering
version: '1.0.0'
Expand Down Expand Up @@ -65,7 +65,7 @@ Feature: Data Flow
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: non-object-output
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/do.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Composite Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: do
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/emit.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Emit Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: emit
version: '1.0.0'
Expand Down
4 changes: 2 additions & 2 deletions ctk/features/flow.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Flow Directive
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: implicit-sequence
version: '1.0.0'
Expand Down Expand Up @@ -35,7 +35,7 @@ Feature: Flow Directive
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: explicit-sequence
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/for.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: For Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: for
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/raise.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Raise Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: raise-custom-error
version: '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/set.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Set Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: set
version: '1.0.0'
Expand Down
6 changes: 3 additions & 3 deletions ctk/features/switch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: switch-match
version: '1.0.0'
Expand Down Expand Up @@ -52,7 +52,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: switch-default-implicit
version: '1.0.0'
Expand Down Expand Up @@ -95,7 +95,7 @@ Feature: Switch Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: switch-default-implicit
version: '1.0.0'
Expand Down
4 changes: 2 additions & 2 deletions ctk/features/try.feature
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Feature: Try Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: try-catch-404
version: '1.0.0'
Expand Down Expand Up @@ -55,7 +55,7 @@ Feature: Try Task
Given a workflow with definition:
"""yaml
document:
dsl: '1.0.0-alpha5'
dsl: '1.0.0'
namespace: default
name: try-catch-503
version: '1.0.0'
Expand Down
Loading
Loading