This 208.0.1 release is a hotfix specifically addressing gcloud dataproc crashes. The fix involved significant refactoring of the internal YAML processing for Dataproc workflow templates, leading to the removal of the --source and --destination CLI flags and associated schema validation logic.
Jump to: Annotated Release Notes | Unannounced Changes 🕵️ | Stats 📊
Breaking Changes
- The
--sourceflag forgcloud dataproc workflow-templatescommands (e.g.,import) has been removed, altering how workflow templates are loaded from YAML files.- File: flags.py:51
- The
--destinationflag forgcloud dataproc workflow-templates exporthas been removed, altering how workflow templates are saved to YAML files.- File: flags.py:65
API Changes
Dataproc
- The internal
ReadYamlfunction inlib/googlecloudsdk/api_lib/dataproc/util.pyhas been refactored. It now directly accepts afile_pathinstead of astreamand no longer supportsschema_pathfor validation, leveragingyaml.load_pathfromgooglecloudsdk.core.yaml. The error message format has also changed.- File: util.py:515
- The internal
WriteYamlfunction inlib/googlecloudsdk/api_lib/dataproc/util.pyhas been refactored. It now directly accepts afile_pathinstead of astreamand no longer supports afilter_functionfor output fields.- File: util.py:549
- The internal
MessageToYamlhelper function inlib/googlecloudsdk/api_lib/dataproc/util.pyhas been removed.- File: util.py:557
- The internal
_ValidateYamlfunction and related schema validation logic (usingjsonschema) inlib/googlecloudsdk/api_lib/dataproc/util.pyhave been removed.- File: util.py:499
Unannounced Changes
Changes found in code but not mentioned in official release notes: 🕵️
Refactoring
- Major refactoring of YAML handling in
lib/googlecloudsdk/api_lib/dataproc/util.py, including the removal ofos,pkg_resources, andjsonschemaimports and the addition ofgooglecloudsdk.core.util.filesandsiximports.- File: util.py:17
- The
SCHEMA_DIRconstant, previously used for locating Dataproc YAML schemas, has been removed fromlib/googlecloudsdk/api_lib/dataproc/util.py.- File: util.py:36
- Removal of
TEMPLATE_FIELDSconstant and theFilterfunction fromlib/googlecloudsdk/command_lib/dataproc/workflow_templates.py, which were previously used for filtering output-only fields during workflow template export.- File: workflow_templates.py:20
- The copyright year in
lib/googlecloudsdk/command_lib/dataproc/flags.pywas corrected/reverted from 2018 to 2015.- File: flags.py:1
Stats
- Files changed: 5
- Inserted lines: +19
- Deleted lines: -97
Generated by Gemini - View full diff
Google, Google Cloud, and gcloud are trademarks of Google LLC. This analysis was automatically generated by an AI agent examining only public release artifacts, without access to internal or non-public information from Google Cloud.