promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

Explicit Versioning of the `$schema`

Open ZhiliangWu opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Currently, the $schema of flow YAML and run YAML are using the latest as versioning, such as https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json and https://azuremlschemas.azureedge.net/promptflow/latest/Run.schema.json. To ensure consistent references and easy version identification, it would help to keep a version tag in the URI. E.g., the underlying $schema is using http://json-schema.org/draft-07/schema# with version draft-07.

Describe the solution you'd like In parallel to latest pointing to the most recent schema version, release the exact versions of the schema, history and respective changelogs.

ZhiliangWu avatar Jan 22 '24 09:01 ZhiliangWu

@ZhiliangWu Do you mean you would like some schema url like this? https://azuremlschemas.azureedge.net/promptflow/v1/Flow.schema.json

Are you worring about breaking change here? We are maintaining backward compability support for flow. So we recommend user to directly use latest.

wangchao1230 avatar Jan 23 '24 02:01 wangchao1230

Do you mean you would like some schema url like this? https://azuremlschemas.azureedge.net/promptflow/v1/Flow.schema.json

@wangchao1230 Yes, that helps consistent references and easy version identification.

ZhiliangWu avatar Jan 23 '24 20:01 ZhiliangWu

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!

github-actions[bot] avatar Feb 24 '24 21:02 github-actions[bot]

Hi, @ZhiliangWu , this https://azuremlschemas.azureedge.net/promptflow/v1/Flow.schema.json is ready for use.

crazygao avatar Mar 11 '24 02:03 crazygao