You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2023/02/07 13:01:04 UTC
[GitHub] [airflow]: Workflow run "Build images for Fix validation of date-time field in API and Parameter schemas https://github.com/apache/airflow/pull/29395 " is working again!
The GitHub Actions job "Build images for Fix validation of date-time field in API and Parameter schemas https://github.com/apache/airflow/pull/29395
" on airflow.git has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run:
f37d6a661ab06b16b83eacfdc4c75b4ed7780a41 / Jarek Potiuk <ja...@potiuk.com>
Fix validation of date-time field in API and Parameter schemas
The open-api-schema-validator 0.4.3 made RFC3339 validation of
the date-time fields mandatory and this revealed problems in our
test URLs - the '+' was not url-encoded and it was replaced with
space - thus the dates passed were not valid RFC3339 date-time
specifications.
This however revealed one more problem. The RFC3339-validator package
is automatically installed by the open-api-schema-validator, but when
installed, it also adds validation to date-time fields validated by
the Params of ours - for example naive date-time parameters. We
are limiting the supported parameters now to be iso8601-compliant
for backwards compatibility but we deprecate iso8601 in favor of
RFC3339.
This might introduce breaking changes for users who use non-valid
date-time parameters in the API, however we should consider that as a
bugfix, and accidental support, because the date-time schema should
expect RFC3999-formatted date time.
Co-authored-by: Andrey Anshin <An...@taragol.is>
Report URL: https://github.com/apache/airflow/actions/runs/4113751871
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org