Skip to content

Commit 7e648a0

Browse files
authored
Merge branch 'main' into shrutiburman-patch-jackson-core
2 parents 8939c5a + 302476a commit 7e648a0

File tree

363 files changed

+2707
-249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+2707
-249
lines changed

CHANGES.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
11
twilio-java changelog
22
=====================
33

4+
[2026-03-10] Version 11.3.5
5+
---------------------------
6+
**Library - Chore**
7+
- [PR #943](https://github.com/twilio/twilio-java/pull/943): bump com.fasterxml.jackson.core:jackson-core from 2.15.0 to 2.18.6. Thanks to [@dependabot](https://github.com/dependabot)!
8+
- [PR #945](https://github.com/twilio/twilio-java/pull/945): added memory domain. Thanks to [@sbansla](https://github.com/sbansla)!
9+
- [PR #941](https://github.com/twilio/twilio-java/pull/941): add validTwilioUrl utility check. Thanks to [@kridai](https://github.com/kridai)!
10+
11+
**Library - Fix**
12+
- [PR #942](https://github.com/twilio/twilio-java/pull/942): encode URL path spaces as %20 instead of +. Thanks to [@hubert-ren](https://github.com/hubert-ren)!
13+
14+
**Twiml**
15+
- Rename `recording_configuration` to `recording_configuration_id` attribute in `<Conference>`, `<Dial>`, `<Record>` verbs and `<Recording>` noun
16+
17+
**Ace**
18+
- # ACE Signals API Changes
19+
- ## 2026-02-18
20+
- Initial release: POST /signals, GET/POST /signals/{signal_id}/results, GET /health
21+
- Enables OneAdmin integration for synchronous signal ingestion and policy result polling
22+
- Supports permission-based authorization for signal operations
23+
- Health endpoint available for monitoring without authentication
24+
25+
**Api**
26+
- Added optional parameter `Confirmation` to Payments create endpoint to enable payment confirmation prompt before gateway submission
27+
- Added optional parameter `RequireMatchingInputs` to Payments create endpoint for input confirmation in agent-assisted payment flows
28+
- Added matcher capture types (`payment-card-number-matcher`, `expiration-date-matcher`, `security-code-matcher`, `postal-code-matcher`) to Payments update endpoint
29+
30+
**Memory**
31+
- ## 2026-03-06
32+
- **Modified 1 path(s)**:
33+
- `/v1/Stores/{storeId}/Profiles/{profileId}/ConversationSummaries/{summaryId}` (added patch, get)
34+
35+
436
[2026-02-18] Version 11.3.4
537
---------------------------
638
**Library - Chore**

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>twilio</artifactId>
66
<packaging>jar</packaging>
77
<name>twilio</name>
8-
<version>11.3.4</version>
8+
<version>11.3.5</version>
99
<description>Twilio Java Helper Library</description>
1010
<url>https://www.twilio.com</url>
1111
<licenses>
@@ -19,7 +19,7 @@
1919
<url>git@github.com:twilio/twilio-java.git</url>
2020
<connection>scm:git:git@github.com:twilio/twilio-java.git</connection>
2121
<developerConnection>scm:git:git@github.com:twilio/twilio-java.git</developerConnection>
22-
<tag>11.3.4</tag>
22+
<tag>11.3.5</tag>
2323
</scm>
2424
<developers>
2525
<developer>

src/main/java/com/twilio/Domains.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public enum Domains {
3030
LOOKUPS("lookups"),
3131
MARKETPLACE("marketplace"),
3232
MESSAGING("messaging"),
33-
MEMORY("memory"),
3433
MONITOR("monitor"),
3534
NOTIFY("notify"),
3635
NUMBERS("numbers"),

src/main/java/com/twilio/Twilio.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242
public class Twilio {
4343

44-
public static final String VERSION = "11.3.4";
44+
public static final String VERSION = "11.3.5";
4545
public static final String JAVA_VERSION = System.getProperty("java.version");
4646
public static final String OS_NAME = System.getProperty("os.name");
4747
public static final String OS_ARCH = System.getProperty("os.arch");

src/main/java/com/twilio/rest/accounts/v1/credential/AwsReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -171,6 +172,11 @@ public Page<Aws> getPage(
171172
final String targetUrl,
172173
final TwilioRestClient client
173174
) {
175+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
176+
throw new ApiException(
177+
"Invalid URL: URL must be a valid Twilio domain"
178+
);
179+
}
174180
Request request = new Request(HttpMethod.GET, targetUrl);
175181
return pageForRequest(client, request);
176182
}

src/main/java/com/twilio/rest/accounts/v1/credential/PublicKeyReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -175,6 +176,11 @@ public Page<PublicKey> getPage(
175176
final String targetUrl,
176177
final TwilioRestClient client
177178
) {
179+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
180+
throw new ApiException(
181+
"Invalid URL: URL must be a valid Twilio domain"
182+
);
183+
}
178184
Request request = new Request(HttpMethod.GET, targetUrl);
179185
return pageForRequest(client, request);
180186
}

src/main/java/com/twilio/rest/api/v2010/AccountReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -187,6 +188,11 @@ public Page<Account> getPage(
187188
final String targetUrl,
188189
final TwilioRestClient client
189190
) {
191+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
192+
throw new ApiException(
193+
"Invalid URL: URL must be a valid Twilio domain"
194+
);
195+
}
190196
Request request = new Request(HttpMethod.GET, targetUrl);
191197
return pageForRequest(client, request);
192198
}

src/main/java/com/twilio/rest/api/v2010/account/AddressReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -214,6 +215,11 @@ public Page<Address> getPage(
214215
final String targetUrl,
215216
final TwilioRestClient client
216217
) {
218+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
219+
throw new ApiException(
220+
"Invalid URL: URL must be a valid Twilio domain"
221+
);
222+
}
217223
Request request = new Request(HttpMethod.GET, targetUrl);
218224
return pageForRequest(client, request);
219225
}

src/main/java/com/twilio/rest/api/v2010/account/ApplicationReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -196,6 +197,11 @@ public Page<Application> getPage(
196197
final String targetUrl,
197198
final TwilioRestClient client
198199
) {
200+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
201+
throw new ApiException(
202+
"Invalid URL: URL must be a valid Twilio domain"
203+
);
204+
}
199205
Request request = new Request(HttpMethod.GET, targetUrl);
200206
return pageForRequest(client, request);
201207
}

src/main/java/com/twilio/rest/api/v2010/account/AuthorizedConnectAppReader.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.twilio.exception.ApiException;
2626
import com.twilio.exception.RestException;
2727
import com.twilio.http.HttpMethod;
28+
import com.twilio.http.HttpUtility;
2829
import com.twilio.http.Request;
2930
import com.twilio.http.Response;
3031
import com.twilio.http.TwilioRestClient;
@@ -193,6 +194,11 @@ public Page<AuthorizedConnectApp> getPage(
193194
final String targetUrl,
194195
final TwilioRestClient client
195196
) {
197+
if (!com.twilio.http.HttpUtility.isValidTwilioUrl(targetUrl)) {
198+
throw new ApiException(
199+
"Invalid URL: URL must be a valid Twilio domain"
200+
);
201+
}
196202
Request request = new Request(HttpMethod.GET, targetUrl);
197203
return pageForRequest(client, request);
198204
}

0 commit comments

Comments
 (0)