Set default service version to 2025-07-01 for keyvault secrets#48690
Open
rohitsinghal4u wants to merge 2 commits intomainfrom
Open
Set default service version to 2025-07-01 for keyvault secrets#48690rohitsinghal4u wants to merge 2 commits intomainfrom
rohitsinghal4u wants to merge 2 commits intomainfrom
Conversation
- Added V2025_07_01 enum constant to SecretServiceVersion - Updated getLatest() to return V2025_07_01 - Updated SecretsCustomizations.java codegen to include 2025-07-01 - Re-recorded all tests (sync + async) against live service with 2025-07-01
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Azure Key Vault Secrets Java client library to recognize the 2025-07-01 service API version and make it the default “latest” version used by the client.
Changes:
- Added
V2025_07_01toSecretServiceVersionand switchedgetLatest()to return it. - Updated TypeSpec customization (
SecretsCustomizations) to generate the new service version entry and default. - Updated
assets.jsontag to point at the new test recordings asset set.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| sdk/keyvault/azure-security-keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretServiceVersion.java | Adds 2025-07-01 enum constant and makes it the default returned by getLatest(). |
| sdk/keyvault/azure-security-keyvault-secrets/customizations/src/main/java/SecretsCustomizations.java | Updates codegen customization to include 2025-07-01 and generate getLatest() accordingly. |
| sdk/keyvault/azure-security-keyvault-secrets/assets.json | Advances the assets tag for updated recordings. |
...keyvault-secrets/src/main/java/com/azure/security/keyvault/secrets/SecretServiceVersion.java
Show resolved
Hide resolved
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-java/sessions/2124764f-44a6-4fa3-bed7-60d87aea7f67 Co-authored-by: rohitsinghal4u <5697065+rohitsinghal4u@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
V2025_07_01enum constant toSecretServiceVersiongetLatest()to returnV2025_07_01SecretsCustomizations.javacodegen to include2025-07-01assets.jsontag for new test recordings2025-07-01service version support in4.11.0-beta.1