Skip to content

Commit

Permalink
chore: release v1.0.0 for GA libraries (#5573)
Browse files Browse the repository at this point in the history
* chore: release v1.0.0 for GA libraries

meta: force 1.0 release
Release-As: v1.0.0

* revert apis missing V1, and Language

* remove all GrpcClient classes and ignore them in owlbot

* remove deprecated proto BC files from 1.0 release

* remove class_alias code from all proto messages for 1.0 release

* revert Build

* add back Build compat files
  • Loading branch information
bshaffer authored Dec 7, 2022
1 parent 7b2e506 commit 8776169
Show file tree
Hide file tree
Showing 198 changed files with 20 additions and 4,186 deletions.
2 changes: 1 addition & 1 deletion .repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"distribution_name": "google/cloud-dialogflow",
"release_level": "beta",
"release_level": "ga",
"client_documentation": "http://googleapis.github.io/google-cloud-php/#/docs/cloud-dialogflow/latest",
"library_type": "GAPIC_AUTO"
}
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ foreach ($entityType->getEntities() as $entity) {

### Version

This component is considered beta. As such, it should be expected to be mostly
stable and we're working towards a release candidate. We will address issues
and requests with a higher priority.
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in
any minor or patch releases. We will address issues and requests with the highest priority.

### Next Steps

Expand Down
18 changes: 17 additions & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,30 @@
# Added so that we can pass copy_excludes in the owlbot_main() call
_tracked_paths.add(src)

php.owlbot_main(src=src, dest=dest)
php.owlbot_main(
src=src,
dest=dest,
copy_excludes=[
src / "**/[A-Z]*_*.php",
src / "**/*GrpcClient.php",
]
)

# Apply fix to sample
subprocess.run([
'git',
'apply',
'.owlbot/create_conversation_model_sample_fix.patch'])

# remove class_alias code
s.replace(
"src/V*/**/*.php",
r"^// Adding a class alias for backwards compatibility with the previous class name.$"
+ "\n"
+ r"^class_alias\(.*\);$"
+ "\n",
'')

# document and utilize apiEndpoint instead of serviceAddress
s.replace(
"**/Gapic/*GapicClient.php",
Expand Down
2 changes: 0 additions & 2 deletions src/V2/Agent/ApiVersion.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/V2/Agent/MatchMode.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/V2/Agent/Tier.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/V2/AgentAssistantFeedback/AnswerRelevance.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/V2/AgentAssistantFeedback/DocumentCorrectness.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/V2/AgentAssistantFeedback/DocumentEfficiency.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions src/V2/AgentAssistantFeedback_AnswerRelevance.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/V2/AgentAssistantFeedback_DocumentCorrectness.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/V2/AgentAssistantFeedback_DocumentEfficiency.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/V2/Agent_ApiVersion.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/V2/Agent_MatchMode.php

This file was deleted.

16 changes: 0 additions & 16 deletions src/V2/Agent_Tier.php

This file was deleted.

Loading

0 comments on commit 8776169

Please sign in to comment.