Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: MVR Release Preparation #839

Merged
merged 4 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading