Skip to content

Commit

Permalink
feat!: MVR Release Preparation (#839)
Browse files Browse the repository at this point in the history
* feat!: MVR Release Preparation
  • Loading branch information
manisha1997 authored Mar 6, 2025
1 parent b53a830 commit e07c01a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Use the following dependency in your project to grab via Maven:
<dependency>
<groupId>com.twilio.sdk</groupId>
<artifactId>twilio</artifactId>
<version>10.X.X</version>
<version>11.X.X</version>
<scope>compile</scope>
</dependency>
```
Expand Down
14 changes: 13 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@

_`MAJOR` version bumps will have upgrade notes posted here._

[2024-03-07] 10.x.x to 11.x.x
-----------------------------
### Overview

##### Twilio Java Helper Library’s major version 11.0.0 is now available. We ensured that you can upgrade to Java helper Library 11.0.0 version without any breaking changes of existing apis

Behind the scenes Java Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages.
With the release of 11.0.0, we are deprecating [TwilioOrgsTokenAuth.java](https://github.com/twilio/twilio-java/blob/main/src/main/java/com/twilio/TwilioOrgsTokenAuth.java), Use cautiously.

Twiml Attribute speechModel is now of type string.

[2024-02-08] 9.x.x to 10.x.x
-----------------------------
### Overview

##### Twilio Java Helper Library’s major version 10.0.0 is now available. We ensured that you can upgrade to Java helper Library 10.0.0 version without any breaking changes of existing apis
Expand Down Expand Up @@ -703,4 +715,4 @@ Task.reader("WS123").setAssignmentStatus(Lists.newArrayList(
Task.Status.ASSIGNED.toString(),
Task.Status.CANCELED.toString()
)).read();
```
```
6 changes: 3 additions & 3 deletions src/main/java/com/twilio/Twilio.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Twilio {
private static String edge = System.getenv("TWILIO_EDGE");
private static volatile TwilioRestClient restClient;
private static volatile ExecutorService executorService;

private static CredentialProvider credentialProvider;

private Twilio() {
Expand Down Expand Up @@ -85,7 +85,7 @@ private static void setCredentialProvider(final CredentialProvider credentialPro
if (credentialProvider == null) {
throw new AuthenticationException("Credential Provider can not be null");
}

if (!credentialProvider.equals(Twilio.credentialProvider)) {
Twilio.invalidate();
}
Expand Down Expand Up @@ -315,7 +315,7 @@ private static void invalidate() {
private static void invalidateOAuthCreds() {
Twilio.credentialProvider = null;
}

private static void invalidateBasicCreds() {
Twilio.username = null;
Twilio.password = null;
Expand Down

0 comments on commit e07c01a

Please sign in to comment.