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 --source flag for gcloud dataproc workflow-templates commands (e.g., import) has been removed, altering how workflow templates are loaded from YAML files.
  • The --destination flag for gcloud dataproc workflow-templates export has been removed, altering how workflow templates are saved to YAML files.

API Changes

Dataproc

  • The internal ReadYaml function in lib/googlecloudsdk/api_lib/dataproc/util.py has been refactored. It now directly accepts a file_path instead of a stream and no longer supports schema_path for validation, leveraging yaml.load_path from googlecloudsdk.core.yaml. The error message format has also changed.
  • The internal WriteYaml function in lib/googlecloudsdk/api_lib/dataproc/util.py has been refactored. It now directly accepts a file_path instead of a stream and no longer supports a filter_function for output fields.
  • The internal MessageToYaml helper function in lib/googlecloudsdk/api_lib/dataproc/util.py has been removed.
  • The internal _ValidateYaml function and related schema validation logic (using jsonschema) in lib/googlecloudsdk/api_lib/dataproc/util.py have been removed.

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 of os, pkg_resources, and jsonschema imports and the addition of googlecloudsdk.core.util.files and six imports.
  • The SCHEMA_DIR constant, previously used for locating Dataproc YAML schemas, has been removed from lib/googlecloudsdk/api_lib/dataproc/util.py.
  • Removal of TEMPLATE_FIELDS constant and the Filter function from lib/googlecloudsdk/command_lib/dataproc/workflow_templates.py, which were previously used for filtering output-only fields during workflow template export.
  • The copyright year in lib/googlecloudsdk/command_lib/dataproc/flags.py was corrected/reverted from 2018 to 2015.

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.