Commit 0ce561c
[Key Vault Certificates] Remove preview service version from GA library (#48678)
* [Key Vault Certificates] Remove preview service version from GA library
Remove V2025_06_01_PREVIEW from CertificateServiceVersion as preview
service versions should not be included in GA versions of the library.
Also update getLatest() to return V2025_07_01 (the new stable version)
and remove the preview entry from the CHANGELOG.
* Revert getLatest() to V7_6 to fix playback test failures
Changing getLatest() to V2025_07_01 caused all playback tests to fail
because existing recordings were made against API version 7.6. Reverting
getLatest() to V7_6 — only the removal of V2025_06_01_PREVIEW is in scope
for this PR.
* Remove 2025-06-01-preview from customization version list
The customization class generates CertificateServiceVersion.java with a
hardcoded list of API versions. Preview service versions should not be
included in GA library releases. Removing '2025-06-01-preview' from the
list so that the generated output matches the committed file and the
TypeSpec code generation verify check passes.
* Update CertificateServiceVersion.getLatest() to V2025_07_01 and re-record tests
- Updated getLatest() to return V2025_07_01 in both CertificateServiceVersion.java
and CertificatesCustomizations.java (the TypeSpec code-gen source of truth)
- Re-recorded all tests against live Azure Key Vault using API version 2025-07-01
- Updated assets.json with new recording tag: java/keyvault/azure-security-keyvault-certificates_665470077b
* Re-record CertificateAsyncClientTest against live 2025-07-01 API
Updated assets.json tag to include async test recordings:
java/keyvault/azure-security-keyvault-certificates_8643a442b1
All 159 playback tests now pass (2 skipped).
* Re-record mergeCertificate tests with JDK 8 for api-version 2025-07-01
* Retrigger CI
---------
Co-authored-by: singhalrohit <singhalrohit@microsoft.com>1 parent 56dab13 commit 0ce561c
4 files changed
Lines changed: 4 additions & 9 deletions
File tree
- sdk/keyvault/azure-security-keyvault-certificates
- customizations/src/main/java
- src/main/java/com/azure/security/keyvault/certificates
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
0 commit comments