GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add generation config comparator by JoeWang1127 · Pull Request #2587 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Conversation

@JoeWang1127

@JoeWang1127 JoeWang1127 commented Mar 16, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

In this PR:

  • Add a generation config comparator to compare the change type and which libraries are affected by the change.
  • Refactor LibraryConfig.
  • Add unit tests (no integration tests because the comparator has not been used).

The comparator makes assumptions that the following library level parameters will not change:

  • googleapis commit (no use case)

This is the first step to improve performance of hermetic code generation.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JoeWang1127 added 2 commits March 15, 2024 21:33
@JoeWang1127
feat: add a generation config comparator
7f91d91
@JoeWang1127
compare library configs
e5aae8e
@product-auto-label product-auto-label Bot added the size: l Pull request size is large. label Mar 16, 2024
JoeWang1127 added 11 commits March 16, 2024 00:45
@JoeWang1127
Merge branch 'main' into feat/config-comparator
7110bb3
@JoeWang1127
code refactor
7cb2e97
@JoeWang1127
add proto_path removal or addition change
a8b1b26
@JoeWang1127
change to HashLibrary
218e431
@JoeWang1127
use object, rather than file path in comparator interface
15e0db7
@JoeWang1127
add unit tests
b876354
@JoeWang1127
add setUp method in ut
5348539
@JoeWang1127
add unit tests against repo level changes
8e6b1c1
@JoeWang1127
add unit tests against library parameters
4f0f2c1
@JoeWang1127
add unit tests against versioned proto_path
e8b2d6b
@JoeWang1127
restore gapic_config
e5f7a5e
@JoeWang1127 JoeWang1127 added the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 18, 2024
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 18, 2024
@JoeWang1127
add comments
2d6b13b
@JoeWang1127
JoeWang1127 marked this pull request as ready for review March 18, 2024 13:40
@JoeWang1127
JoeWang1127 requested review from a team, blakeli0 and diegomarquezp March 18, 2024 13:40
diegomarquezp
diegomarquezp approved these changes Mar 18, 2024
View reviewed changes

@diegomarquezp diegomarquezp left a comment

Copy link
Copy Markdown
Contributor

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.

LGTM, thanks for this PR. Just a couple of minor comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread library_generation/utils/generation_config_comparator.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread library_generation/utils/generation_config_comparator.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JoeWang1127
code refactor
2dc41b3
blakeli0
blakeli0 reviewed Mar 18, 2024
View reviewed changes
Comment thread library_generation/utils/generation_config_comparator.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

blakeli0
blakeli0 reviewed Mar 18, 2024
View reviewed changes
Comment thread library_generation/utils/generation_config_comparator.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

blakeli0
blakeli0 reviewed Mar 18, 2024
View reviewed changes
Comment thread library_generation/utils/generation_config_comparator.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JoeWang1127
change type
6fba2ad
@JoeWang1127
JoeWang1127 requested a review from blakeli0 March 18, 2024 22:35
@JoeWang1127
change enum types
cda24a1
JoeWang1127
JoeWang1127 commented Mar 19, 2024
View reviewed changes
Comment thread library_generation/test/utils/generation_config_comparator_unit_tests.py Outdated
config_change = result[ChangeType.LIBRARIES_REMOVAL][0]
self.assertEqual("existing_library", config_change.library_name)

def test_compare_config_api_shortname_update(self):

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

Add this test case to verify the behavior of api_shortname change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Why do we treat api_shortname change a library removal? If library_name stays the same and api_shortname changes, it should be a library level change?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

If library_name stays the same and api_shortname changes, it should be a library level change?

In this test case, the library_name is changed because library_name is None and falls back to api_shortname.

Do you think we should add a test case to verify what happened if api_shorname is changed but library_name is set and remains the same? I expect this change will be a library level change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Do you think we should add a test case to verify what happened if api_shorname is changed but library_name is set and remains the same? I expect this change will be a library level change.

Yes, please. Please rename this test case as well, as it currently only indicates api_shortname update. In addition, this makes me thinking that we should probably put the logic that figures out the library_name into GenerationConfig itself, because this logic is already somewhere in the scripts and we don't have to duplicate it again here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

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.

we should probably put the logic that figures out the library_name into GenerationConfig itself

Is it better to put it into LibraryConfig?

Do you have a use case of changing api_shortname and does this case actual change it or just attempt to change it? This parameter is also in .OwlBot.yaml and I'm not sure what will happen if we only change this in configuration but not in .OwlBot.yaml.
cc: @diegomarquezp

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Is it better to put it into LibraryConfig?

Yes, I meant LibraryConfig not GenerationConfig.

Do you have a use case of changing api_shortname and does this case actual change it or just attempt to change it? This parameter is also in .OwlBot.yaml and I'm not sure what will happen if we only change this in configuration but not in .OwlBot.yaml.

That's a good point, if we don't feel comfortable our scripts can handle api_shortname change, we should throw exceptions when we detect such changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JoeWang1127 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

I've moved get_library_name to LibraryConfig.

Added a test case to verify the script should raise ValueError when api_shorname is changed but library_name remains the same.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JoeWang1127
JoeWang1127 commented Mar 19, 2024
View reviewed changes
Comment thread library_generation/test/utils/generation_config_comparator_unit_tests.py
config_change = result[ChangeType.LIBRARIES_ADDITION][0]
self.assertEqual("new_api_shortname", config_change.library_name)

def test_compare_config_library_name_update(self):

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

Add this test case to verify the behavior of library_name change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
blakeli0
blakeli0 reviewed Mar 19, 2024
View reviewed changes
Comment thread library_generation/utils/generation_config_comparator.py Outdated
GOOGLEAPIS_COMMIT = 1
REPO_LEVEL_CHANGE = 2
LIBRARIES_ADDITION = 3
LIBRARIES_REMOVAL = 4

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Is the scripts going to handle LIBRARIES_REMOVAL correctly? IIRC, the scripts is going to skip a library if it is not listed in the generation_config.yaml.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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 PR only creates change types of two configurations, it doesn't specify how to handle each type.

For library removal, I expect generate_pr_body.py will create an release note entry like feat/chore: xxx is removed. However, the actual code in google-cloud-java needs to be manually removed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Would it be better if we ignore this case and add the feat/chore: xxx is removed in the corresponding PR? Or we can think about how to remove libraries automatically, but it would probably be a larger effort.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

Personally, I think it's better to output this change type here because this is the responsible of the comparator (to produce the change type, but not how to handle each type).

This type can serve as a trigger for automatic removal in further improvement and we don't need to refactor the comparator for this case. WDYT?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Sounds reasonable to me. But what is going to be the title for the PR that removes a library? Unless you want to make it a chore which would be a little confusing, it would still be duplicated in the release-note. I feel ignoring this case for now is better than documenting this behavior and tell release managers to not use feat in the removal PR. We don't have to remove the code, they can be commented out until we figure this out.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

I commented out LIBRARIES_REMOVAL and GAPIC_REMOVAL.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 20, 2024

Copy link
Copy Markdown
Contributor

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.

I thought GAPIC_REMOVAL can be handled automatically?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

@diegomarquezp after #2572 is merged, can we handle GAPIC removal automatically, i.e., deep-remove regex should work at library level?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@diegomarquezp diegomarquezp Mar 20, 2024

Copy link
Copy Markdown
Contributor

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.

Deep remove does not remove the entire library but the src folders inside that gapic, grpc and proto "sub libraries". It's meant to replace old code in the sublibraries. It wouldn't automatically delete any sublibrary if it stops being listed in the config yaml.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

@blakeli0 does this answer your question?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
blakeli0
blakeli0 reviewed Mar 19, 2024
View reviewed changes
Comment thread library_generation/utils/generation_config_comparator.py Outdated
if baseline_config.googleapis_commitish != latest_config.googleapis_commitish:
diff[ChangeType.GOOGLEAPIS_COMMIT] = []
if baseline_config.gapic_generator_version != latest_config.gapic_generator_version:
config_change = ConfigChange(

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Can we iterate over all fields in GenerationConfig? Same thing for the LibraryConfig below. It could be a separate PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

Can we iterate over all fields in GenerationConfig? Same thing for the LibraryConfig below.

Does the goal is to reduce the amount of code?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Yes, the logic is duplicated for every field.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

To iterate field of a class, I think we need a enum type or a list of strings to specify the field?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@blakeli0 blakeli0 Mar 19, 2024

Copy link
Copy Markdown
Contributor

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.

Does something like this help?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

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.

I don't know python can do this, thanks for the help. I'll do some refactor then.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

Done, use var to produce a mapping from parameter to its value.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@blakeli0 blakeli0 mentioned this pull request Mar 19, 2024
feat: [shopping-merchant-quota] new module for shopping-merchant-quota googleapis/google-cloud-java#10575
Merged
JoeWang1127 added 5 commits March 19, 2024 23:41
@JoeWang1127
move get_library_name method to LibraryConfig
af85a4f
@JoeWang1127
fix integration tests
989da47
@JoeWang1127
Merge branch 'main' into feat/config-comparator
d3df205
@JoeWang1127
comment out library removal and gapic removal type
376015d
@JoeWang1127
raise an error if api_shortname is changed but library_name remains t…
70e0fe8
…he same
JoeWang1127
JoeWang1127 commented Mar 20, 2024
View reviewed changes
Comment thread library_generation/test/utils/generation_config_comparator_unit_tests.py
config_change = result[ChangeType.LIBRARIES_ADDITION][0]
self.assertEqual("new_api_shortname", config_change.library_name)

def test_compare_config_api_shortname_update_with_library_name_raise_error(self):

@JoeWang1127 JoeWang1127 Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

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.

Add this test case to verify the script should raise ValueError when api_shorname is changed but library_name remains the same.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JoeWang1127 added 3 commits March 20, 2024 15:05
@JoeWang1127
use built-in method, vars, to list parameters of an object
42b5b03
@JoeWang1127
Merge branch 'main' into feat/config-comparator
4890786
@JoeWang1127
Merge branch 'main' into feat/config-comparator
33b8c47
@sonarqubecloud

sonarqubecloud Bot commented Mar 20, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented Mar 20, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

blakeli0
blakeli0 approved these changes Mar 20, 2024
View reviewed changes
@JoeWang1127
JoeWang1127 merged commit a94c2f0 into main Mar 21, 2024
@JoeWang1127
JoeWang1127 deleted the feat/config-comparator branch March 21, 2024 00:56
@release-please release-please Bot mentioned this pull request Mar 20, 2024
chore(main): release 2.39.0 #2594
Merged
@JoeWang1127 JoeWang1127 mentioned this pull request Mar 26, 2024
feat: add config change #2604
Merged
JoeWang1127 added a commit that referenced this pull request Apr 2, 2024
@JoeWang1127
feat: add config change (#2604)
8312706
In this PR:
- Add `config_change.py` to get:
- Changed libraries, which will be passed to `generate_repo.py` to
generate libraries selectedly.
- Qualified commits, which will be passed to
`generate_pr_description.py` to generate PR description.
- Refactor part of utility methods to `proto_path_utils.py`.
- Refactor `generation_config_comparator.py` to move data class to
`config_change.py`.
- Refactor `utilities.py` and `utilities.sh` to `utils/utilities.py` and
`utils/utilities.sh`.
- Add unit tests.

Follow up of #2587

For the goal of series of PRs, please refer to [improvement
proposal](https://docs.google.com/document/d/1JiCcG3X7lnxaJErKe0ES_JkyU7ECb40nf2Xez3gWvuo/edit?tab=t.g3vua2kd06gx#bookmark=id.72s3ukwwzevo).
lqiu96 pushed a commit that referenced this pull request Apr 2, 2024
@JoeWang1127 @lqiu96
feat: add config change (#2604)
ccc0b62
In this PR:
- Add `config_change.py` to get:
- Changed libraries, which will be passed to `generate_repo.py` to
generate libraries selectedly.
- Qualified commits, which will be passed to
`generate_pr_description.py` to generate PR description.
- Refactor part of utility methods to `proto_path_utils.py`.
- Refactor `generation_config_comparator.py` to move data class to
`config_change.py`.
- Refactor `utilities.py` and `utilities.sh` to `utils/utilities.py` and
`utils/utilities.sh`.
- Add unit tests.

Follow up of #2587

For the goal of series of PRs, please refer to [improvement
proposal](https://docs.google.com/document/d/1JiCcG3X7lnxaJErKe0ES_JkyU7ECb40nf2Xez3gWvuo/edit?tab=t.g3vua2kd06gx#bookmark=id.72s3ukwwzevo).
lqiu96 pushed a commit that referenced this pull request Apr 18, 2024
@release-please
chore(main): release 2.39.0 (#2594)
7c11912
🤖 I have created a release *beep* *boop*
---


<details><summary>2.39.0</summary>

##
[2.39.0](v2.38.1...v2.39.0)
(2024-04-18)


### Features

* add `libraries_bom_version` to generation configuration
([#2639](#2639))
([56c7ca5](56c7ca5))
* Add ChannelPoolSettings Getter for gRPC's ChannelProvider
([#2612](#2612))
([d0c5191](d0c5191))
* add config change
([#2604](#2604))
([8312706](8312706))
* add entry point
([#2616](#2616))
([b19fa33](b19fa33))
* add generation config comparator
([#2587](#2587))
([a94c2f0](a94c2f0))
* Add JavadocJar Task to build.gradle for self service libraries
([#2593](#2593))
([993f5ac](993f5ac))
* Client/StubSettings' getEndpoint() returns the resolved endpoint
([#2440](#2440))
([4942bc1](4942bc1))
* generate selected libraries
([#2598](#2598))
([739ddbb](739ddbb))
* Validate the Universe Domain inside Java-Core
([#2592](#2592))
([35d789f](35d789f))


### Bug Fixes

* add main to `generate_repo.py`
([#2607](#2607))
([fedeb32](fedeb32))
* correct deep-remove and deep-preserve regexes
([#2572](#2572))
([4c7fd88](4c7fd88))
* first attempt should use the min of RPC timeout and total timeout
([#2641](#2641))
([0349232](0349232))
* remove duplicated calls to AutoValue builders
([#2636](#2636))
([53a3727](53a3727))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([0cb7d0e](0cb7d0e))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([#2628](#2628))
([0cb7d0e](0cb7d0e))


### Dependencies

* update arrow.version to v15.0.2
([#2589](#2589))
([777acf3](777acf3))
* update dependency
com.google.cloud.opentelemetry:detector-resources-support to v0.28.0
([#2649](#2649))
([e4ed176](e4ed176))
* update dependency gitpython to v3.1.41 [security]
([#2625](#2625))
([e41bd8f](e41bd8f))
* update dependency net.bytebuddy:byte-buddy to v1.14.13
([#2646](#2646))
([73ac5a4](73ac5a4))
* update dependency org.threeten:threeten-extra to v1.8.0
([#2650](#2650))
([226325a](226325a))
* update dependency org.threeten:threetenbp to v1.6.9
([#2602](#2602))
([371753e](371753e))
* update dependency org.threeten:threetenbp to v1.6.9
([#2665](#2665))
([8935bc8](8935bc8))
* update google api dependencies
([#2584](#2584))
([cd20604](cd20604))
* update googleapis/java-cloud-bom digest to 7071341
([#2608](#2608))
([8d74140](8d74140))
* update netty dependencies to v4.1.109.final
([#2597](#2597))
([8990693](8990693))
* update opentelemetry-java monorepo to v1.37.0
([#2652](#2652))
([f8fa2e9](f8fa2e9))
* update protobuf dependencies to v3.25.3
([#2491](#2491))
([b0e5041](b0e5041))
* update slf4j monorepo to v2.0.13
([#2647](#2647))
([f030e29](f030e29))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
lqiu96 pushed a commit that referenced this pull request May 22, 2024
@release-please @lqiu96
chore(main): release 2.39.0 (#2594)
14a717a
🤖 I have created a release *beep* *boop*
---


<details><summary>2.39.0</summary>

##
[2.39.0](v2.38.1...v2.39.0)
(2024-04-18)


### Features

* add `libraries_bom_version` to generation configuration
([#2639](#2639))
([56c7ca5](56c7ca5))
* Add ChannelPoolSettings Getter for gRPC's ChannelProvider
([#2612](#2612))
([d0c5191](d0c5191))
* add config change
([#2604](#2604))
([8312706](8312706))
* add entry point
([#2616](#2616))
([b19fa33](b19fa33))
* add generation config comparator
([#2587](#2587))
([a94c2f0](a94c2f0))
* Add JavadocJar Task to build.gradle for self service libraries
([#2593](#2593))
([993f5ac](993f5ac))
* Client/StubSettings' getEndpoint() returns the resolved endpoint
([#2440](#2440))
([4942bc1](4942bc1))
* generate selected libraries
([#2598](#2598))
([739ddbb](739ddbb))
* Validate the Universe Domain inside Java-Core
([#2592](#2592))
([35d789f](35d789f))


### Bug Fixes

* add main to `generate_repo.py`
([#2607](#2607))
([fedeb32](fedeb32))
* correct deep-remove and deep-preserve regexes
([#2572](#2572))
([4c7fd88](4c7fd88))
* first attempt should use the min of RPC timeout and total timeout
([#2641](#2641))
([0349232](0349232))
* remove duplicated calls to AutoValue builders
([#2636](#2636))
([53a3727](53a3727))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([0cb7d0e](0cb7d0e))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([#2628](#2628))
([0cb7d0e](0cb7d0e))


### Dependencies

* update arrow.version to v15.0.2
([#2589](#2589))
([777acf3](777acf3))
* update dependency
com.google.cloud.opentelemetry:detector-resources-support to v0.28.0
([#2649](#2649))
([e4ed176](e4ed176))
* update dependency gitpython to v3.1.41 [security]
([#2625](#2625))
([e41bd8f](e41bd8f))
* update dependency net.bytebuddy:byte-buddy to v1.14.13
([#2646](#2646))
([73ac5a4](73ac5a4))
* update dependency org.threeten:threeten-extra to v1.8.0
([#2650](#2650))
([226325a](226325a))
* update dependency org.threeten:threetenbp to v1.6.9
([#2602](#2602))
([371753e](371753e))
* update dependency org.threeten:threetenbp to v1.6.9
([#2665](#2665))
([8935bc8](8935bc8))
* update google api dependencies
([#2584](#2584))
([cd20604](cd20604))
* update googleapis/java-cloud-bom digest to 7071341
([#2608](#2608))
([8d74140](8d74140))
* update netty dependencies to v4.1.109.final
([#2597](#2597))
([8990693](8990693))
* update opentelemetry-java monorepo to v1.37.0
([#2652](#2652))
([f8fa2e9](f8fa2e9))
* update protobuf dependencies to v3.25.3
([#2491](#2491))
([b0e5041](b0e5041))
* update slf4j monorepo to v2.0.13
([#2647](#2647))
([f030e29](f030e29))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit to googleapis/google-cloud-java that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.39.0 (#2594)
3ff4744
🤖 I have created a release *beep* *boop*
---


<details><summary>2.39.0</summary>

##
[2.39.0](googleapis/sdk-platform-java@v2.38.1...v2.39.0)
(2024-04-18)


### Features

* add `libraries_bom_version` to generation configuration
([#2639](googleapis/sdk-platform-java#2639))
([76eb62b](googleapis/sdk-platform-java@76eb62b))
* Add ChannelPoolSettings Getter for gRPC's ChannelProvider
([#2612](googleapis/sdk-platform-java#2612))
([c8dae8f](googleapis/sdk-platform-java@c8dae8f))
* add config change
([#2604](googleapis/sdk-platform-java#2604))
([a8c93b5](googleapis/sdk-platform-java@a8c93b5))
* add entry point
([#2616](googleapis/sdk-platform-java#2616))
([f5492bb](googleapis/sdk-platform-java@f5492bb))
* add generation config comparator
([#2587](googleapis/sdk-platform-java#2587))
([3461166](googleapis/sdk-platform-java@3461166))
* Add JavadocJar Task to build.gradle for self service libraries
([#2593](googleapis/sdk-platform-java#2593))
([a66df18](googleapis/sdk-platform-java@a66df18))
* Client/StubSettings' getEndpoint() returns the resolved endpoint
([#2440](googleapis/sdk-platform-java#2440))
([7cf0d8f](googleapis/sdk-platform-java@7cf0d8f))
* generate selected libraries
([#2598](googleapis/sdk-platform-java#2598))
([e4572d1](googleapis/sdk-platform-java@e4572d1))
* Validate the Universe Domain inside Java-Core
([#2592](googleapis/sdk-platform-java#2592))
([a5e1141](googleapis/sdk-platform-java@a5e1141))


### Bug Fixes

* add main to `generate_repo.py`
([#2607](googleapis/sdk-platform-java#2607))
([df39521](googleapis/sdk-platform-java@df39521))
* correct deep-remove and deep-preserve regexes
([#2572](googleapis/sdk-platform-java#2572))
([7d59fa1](googleapis/sdk-platform-java@7d59fa1))
* first attempt should use the min of RPC timeout and total timeout
([#2641](googleapis/sdk-platform-java#2641))
([806a52e](googleapis/sdk-platform-java@806a52e))
* remove duplicated calls to AutoValue builders
([#2636](googleapis/sdk-platform-java#2636))
([c883b8f](googleapis/sdk-platform-java@c883b8f))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([9cb7c09](googleapis/sdk-platform-java@9cb7c09))
* remove unnecessary slf4j and AbstractGoogleClientRequest native image
configs
([#2628](googleapis/sdk-platform-java#2628))
([9cb7c09](googleapis/sdk-platform-java@9cb7c09))


### Dependencies

* update arrow.version to v15.0.2
([#2589](googleapis/sdk-platform-java#2589))
([0947407](googleapis/sdk-platform-java@0947407))
* update dependency
com.google.cloud.opentelemetry:detector-resources-support to v0.28.0
([#2649](googleapis/sdk-platform-java#2649))
([079bcff](googleapis/sdk-platform-java@079bcff))
* update dependency gitpython to v3.1.41 [security]
([#2625](googleapis/sdk-platform-java#2625))
([018e9a9](googleapis/sdk-platform-java@018e9a9))
* update dependency net.bytebuddy:byte-buddy to v1.14.13
([#2646](googleapis/sdk-platform-java#2646))
([5a79cd2](googleapis/sdk-platform-java@5a79cd2))
* update dependency org.threeten:threeten-extra to v1.8.0
([#2650](googleapis/sdk-platform-java#2650))
([5666adb](googleapis/sdk-platform-java@5666adb))
* update dependency org.threeten:threetenbp to v1.6.9
([#2602](googleapis/sdk-platform-java#2602))
([767eec1](googleapis/sdk-platform-java@767eec1))
* update dependency org.threeten:threetenbp to v1.6.9
([#2665](googleapis/sdk-platform-java#2665))
([563d8ae](googleapis/sdk-platform-java@563d8ae))
* update google api dependencies
([#2584](googleapis/sdk-platform-java#2584))
([22733b1](googleapis/sdk-platform-java@22733b1))
* update googleapis/java-cloud-bom digest to 7071341
([#2608](googleapis/sdk-platform-java#2608))
([8f34fe7](googleapis/sdk-platform-java@8f34fe7))
* update netty dependencies to v4.1.109.final
([#2597](googleapis/sdk-platform-java#2597))
([6b6939e](googleapis/sdk-platform-java@6b6939e))
* update opentelemetry-java monorepo to v1.37.0
([#2652](googleapis/sdk-platform-java#2652))
([708cf7f](googleapis/sdk-platform-java@708cf7f))
* update protobuf dependencies to v3.25.3
([#2491](googleapis/sdk-platform-java#2491))
([e2235a8](googleapis/sdk-platform-java@e2235a8))
* update slf4j monorepo to v2.0.13
([#2647](googleapis/sdk-platform-java#2647))
([2e3d813](googleapis/sdk-platform-java@2e3d813))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@diegomarquezp diegomarquezp diegomarquezp approved these changes
@blakeli0 blakeli0 blakeli0 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: l Pull request size is large.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JoeWang1127 @blakeli0 @diegomarquezp
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.