-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore(deps): update dependency google-cloud-dialogflow-cx to v2 #13603
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
base: main
Are you sure you want to change the base?
chore(deps): update dependency google-cloud-dialogflow-cx to v2 #13603
Conversation
Summary of ChangesHello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the google-cloud-dialogflow-cx dependency to a new major version, 2.0.0. This is a significant update that includes multiple breaking changes, such as moved message definitions and the removal of an enum value. Merging this without updating the corresponding application code to handle these changes will likely lead to runtime errors. A critical review comment has been added to the requirements.txt file, advising to either include the necessary code refactoring in this PR or revert the dependency update to maintain application stability.
| @@ -1,4 +1,4 @@ | |||
| google-cloud-dialogflow-cx==1.38.0 | |||
| google-cloud-dialogflow-cx==2.0.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update to a new major version (2.0.0) introduces significant breaking changes that will likely cause runtime failures if the application code is not updated accordingly.
Key breaking changes from the release notes:
- The following messages have been moved, which will break existing imports:
PlaybookInput,PlaybookOutput,Action,UserUtterance,AgentUtterance,ToolUse,PlaybookInvocation,FlowInvocation. - The
JSONvalue has been removed from theDataFormatenum.
The application code must be updated to be compatible with these changes. If the necessary refactoring is not included in this PR, this dependency update should be reverted to prevent breaking the application.
google-cloud-dialogflow-cx==1.38.0
This PR contains the following updates:
==1.38.0->==2.0.0Release Notes
googleapis/google-cloud-python (google-cloud-dialogflow-cx)
v2.0.0: google-cloud-dialogflow-cx: v2.0.0Compare Source
⚠ BREAKING CHANGES
PlaybookInputis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoPlaybookOutputis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoActionis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoUserUtteranceis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoAgentUtteranceis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoToolUseis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoPlaybookInvocationis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoFlowInvocationis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.protoJSONis removed from enumDataFormatFeatures
Bug Fixes
Actionis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)AgentUtteranceis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)FlowInvocationis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)PlaybookInputis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)PlaybookInvocationis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)PlaybookOutputis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)ToolUseis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)UserUtteranceis moved fromgoogle/cloud/dialogflow/cx/v3beta1/example.prototogoogle/cloud/dialogflow/cx/v3beta1/trace.proto(273fed1)JSONis removed from enumDataFormat(273fed1)Documentation
flowin message.google.cloud.dialogflow.cx.v3beta1.FlowInvocationis changed (273fed1)FlowInvocationis changed (273fed1)PlaybookInvocationis changed (273fed1)v1.43.0: google-cloud-dialogflow-cx: v1.43.0Compare Source
Features
Bug Fixes
v1.42.0: google-cloud-dialogflow-cx: v1.42.0Compare Source
Features
v1.41.1: google-cloud-dialogflow-cx: v1.41.1Compare Source
Documentation
v1.41.0Compare Source
v1.40.0Compare Source
v1.39.0Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.