Skip to content

Commit

Permalink
Deprecate config methods for removed cache configuration. (#42437)
Browse files Browse the repository at this point in the history
* Deprecate config methods for removed cache cnofiguration.

In Identity 1.14 we removed support for very old versions of the Azure Toolkit for IntelliJ. These two methods configured the behavior of the old versions, and no longer do anything.

* Update changelog to include PR link

Fix readme to not point to deprecated method.

* update changelog
  • Loading branch information
billwert committed Jan 10, 2025
1 parent 7a3dfb4 commit 78851f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions sdk/identity/azure-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.15.0 (2025-01-10)

### Other Changes
- `@Deprecated` methods `DefaultAzureCredential.setIntelliJKeePassDatabasePath` and `IntelliJCredentialBuilder.keePassDatabasePath`. [#42437](https://github.com/Azure/azure-sdk-for-java/pull/42437)

#### Dependency Updates

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ public DefaultAzureCredentialBuilder authorityHost(String authorityHost) {
* @param databasePath the path to the KeePass database.
* @throws IllegalArgumentException if {@code databasePath} is either not specified or is empty.
* @return An updated instance of this builder with the KeePass database path set as specified.
* @deprecated Support for older Azure Toolkit for IntelliJ versions was
* <a href="https://aka.ms/azsdk/java/identity/intellij-credential-update">removed in 1.14.0.</a>
*/
@Deprecated
public DefaultAzureCredentialBuilder intelliJKeePassDatabasePath(String databasePath) {
if (CoreUtils.isNullOrEmpty(databasePath)) {
throw LOGGER.logExceptionAsError(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ public IntelliJCredentialBuilder tenantId(String tenantId) {
* @param databasePath the path to the KeePass database.
* @throws IllegalArgumentException if {@code databasePath} is either not specified or is empty.
* @return An updated instance of this builder with the KeePass database path set as specified.
* @deprecated Support for older Azure Toolkit for IntelliJ versions was
* <a href="https://aka.ms/azsdk/java/identity/intellij-credential-update">removed in 1.14.0.</a>
*/
@Deprecated
public IntelliJCredentialBuilder keePassDatabasePath(String databasePath) {
if (CoreUtils.isNullOrEmpty(databasePath)) {
throw LOGGER.logExceptionAsError(
Expand Down

0 comments on commit 78851f4

Please sign in to comment.