You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sdk-platform-java] x-goog-api-client is incorrect when the customer uses shading #12547
priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
The current approach pulls the version from the jar manifest. Unfortunately this will break if the application builds an uber jar (the version will come from the uber jar rather then the generated client or gax). A more robust approach would to follow grpc's approach and embed it in a class or to use the maven-resources-plugin. I recently worked around this issue in the bigtable client: googleapis/java-bigtable#451
changed the title [-]x-goog-api-client is incorrect when the customer uses shading[/-][+][sdk-platform-java] x-goog-api-client is incorrect when the customer uses shading[/+]on Apr 1, 2026
Closing this issue due to inactivity (no activity in over two years). If it's still relevant, please feel free to reopen it or comment with any additional information, such as the library version and steps to reproduce. Thank you!
priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Activity
Shading often corrupts non-code metadata in META-INF/MANIFEST.mf
Shading often corrupts non-code metadata in META-INF/MANIFEST.mf (#1762)
[-]x-goog-api-client is incorrect when the customer uses shading[/-][+][sdk-platform-java] x-goog-api-client is incorrect when the customer uses shading[/+]jjmew commentedon Nov 18, 2026
Closing this issue due to inactivity (no activity in over two years). If it's still relevant, please feel free to reopen it or comment with any additional information, such as the library version and steps to reproduce. Thank you!