Skip to content
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
76 changes: 76 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,82 @@ twilio-java changelog
=====================


[2026-10-12] Version 13.1.0
---------------------------
**Audiences**
- ## 2026-10-06
- Minor updates (formatting, metadata)
- ## 2026-10-05
- Minor updates (formatting, metadata)
- ## 2026-10-02
- **Added 1 new path(s)**:
- `/preview/Cohorts/{cohortId}/Operations` (AdminListCohortOperations)
- ## 2026-10-01
- **Content updates**:
- Updated description for `AdminListSnapshotOperations`
- ## 2026-09-28
- **Content updates**:
- Updated description for `AdminListCohortSnapshots`
- Updated description for `AdminFetchCohortSnapshot`
- Updated schema description for `Criteria`
- Added properties to `OperationPayload`: cohortId
- Removed properties from `OperationPayload`: audienceId
- Updated schema description for `OperationResult`
- Added properties to `OperationResult`: cohortId
- Removed properties from `OperationResult`: audienceId
- Updated schema description for `Record`
- Updated schema description for `Cohort`
- ...and 3 more changes
- ## 2026-10-01
- Minor updates (formatting, metadata)
- ## 2026-09-28
- **Content updates**:
- Updated schema description for `CohortOperationResult`
- Updated schema description for `PartitionCount`

**Conversations**
- Add PATCH /v2/Imports/{id} to cancel an import, and the `CANCELED` import status (dev-us1 and stage-us1)
- Add Imports endpoints for 1console (private visibility, dev-us1 and stage-us1)
- Add `traitExtractionStrategyIds` and `observationExtractionStrategyIds` to the Conversations v2 Admin Configuration schema.
- Align the Conversations v2 Capabilities list and create contracts with the backend `domainId` field.

**Data-ingress**
- ## 2026-10-01
- Minor updates (formatting, metadata)
- ## 2026-09-17
- Add support for Hubspot connector
- ## 2026-10-01
- Minor updates (formatting, metadata)
- ## 2026-09-17
- Add support for Hubspot connector

**Events**
- Remove the Replays API (`/v1/Replays`, beta feature `api.eventstreams.replay`); the feature was never GA and is being sunset **(breaking change)**

**Knowledge**
- ## 2026-09-24
- **Routing updates**:
- Changed `downstreamServiceName` from `memora-domain` to `enterprise-knowledge-domain` for all operations

**Memory**
- ## 2026-09-30
- The `source` field on observations and conversation summaries, and the `source` filter
- on `ListProfileObservations`, now also accept forward slashes (`/`). The pattern is
- `^[a-zA-Z0-9 _./-]+$`. This is additive and backwards compatible: every previously
- valid value is still accepted.
- `UpdateStore`, `UpdateTraitGroup`, and `UpdateDataMapping` now require a body with at least one property. An empty `{}` gets a 400.

**Messaging**
- Add opt-out configuration admin endpoints (`GET/PUT/DELETE /v1/Accounts/{AccountSid}/OptOuts/{OptOutSid}/...`) to the messaging admin-api (dev-us1 and stage-us1 only)
- Add create opt-out configuration endpoint (`POST /v1/Accounts/{AccountSid}/OptOuts`) to the messaging admin-api (dev-us1 and stage-us1 only)
- Add update messaging service endpoint (`PUT /v1/Accounts/{AccountSid}/Services/{MessagingServiceSid}`) to the messaging admin-api (dev-us1 and stage-us1 only)
- Enable messaging service add-ons, update messaging service, and opt-out configuration admin endpoints in prod-us1 and prod-ie1
- Add WhatsApp display name change support to Sender API: `pending_display_name`, `pending_display_name_status` and `pending_display_name_status_date` on fetch, and `display_name_status` on update and partial update

**Routes**
- Set SDK and docs visibility of `GET`/`POST` `/v3/ShortCodes/{isoCountryCode}/{shortCode}` to `public`, maturity to `ga`


[2026-09-28] Version 13.0.2
---------------------------
**Twiml**
Expand Down
10 changes: 3 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>twilio</artifactId>
<packaging>jar</packaging>
<name>twilio</name>
<version>13.0.2</version>
<version>13.1.0</version>
<description>Twilio Java Helper Library</description>
<url>https://www.twilio.com</url>
<licenses>
Expand All @@ -19,7 +19,7 @@
<url>git@github.com:twilio/twilio-java.git</url>
<connection>scm:git:git@github.com:twilio/twilio-java.git</connection>
<developerConnection>scm:git:git@github.com:twilio/twilio-java.git</developerConnection>
<tag>13.0.2</tag>
<tag>13.1.0</tag>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -505,10 +505,6 @@
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -560,4 +556,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/main/java/com/twilio/Twilio.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
public class Twilio {

public static final String VERSION = "13.0.2";
public static final String VERSION = "13.1.0";
public static final String JAVA_VERSION = System.getProperty("java.version");
public static final String OS_NAME = System.getProperty("os.name");
public static final String OS_ARCH = System.getProperty("os.arch");
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/twilio/rest/content/v1/Content.java
Original file line number Diff line number Diff line change
Expand Up @@ -2882,7 +2882,7 @@ public static class TwilioSchedule {
private final String title;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("timeSlots")
@JsonProperty("time_slots")
@Getter
private final String timeSlots;

Expand Down Expand Up @@ -2917,14 +2917,14 @@ public static class Builder {
@JsonProperty("title")
private String title;

@JsonProperty("timeSlots")
@JsonProperty("time_slots")
private String timeSlots;

@JsonCreator
public Builder(
@JsonProperty("id") final String id,
@JsonProperty("title") final String title,
@JsonProperty("timeSlots") final String timeSlots
@JsonProperty("time_slots") final String timeSlots
) {
this.id = id;
this.title = title;
Expand Down
14 changes: 14 additions & 0 deletions src/main/java/com/twilio/rest/conversations/v2/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public static class CreateActionResponse extends Resource {
@Getter
private final ZonedDateTime createdAt;

@Getter
private final String failureReason;

@Getter
private final String id;

Expand All @@ -80,6 +83,7 @@ private CreateActionResponse(
@JsonProperty("completedAt") final ZonedDateTime completedAt,
@JsonProperty("conversationId") final String conversationId,
@JsonProperty("createdAt") final ZonedDateTime createdAt,
@JsonProperty("failureReason") final String failureReason,
@JsonProperty("id") final String id,
@JsonProperty("related") final Map<String, String> related,
@JsonProperty(
Expand All @@ -91,6 +95,7 @@ private CreateActionResponse(
this.completedAt = completedAt;
this.conversationId = conversationId;
this.createdAt = createdAt;
this.failureReason = failureReason;
this.id = id;
this.related = related;
this.status = status;
Expand Down Expand Up @@ -126,6 +131,7 @@ public boolean equals(final Object o) {
Objects.equals(completedAt, other.completedAt) &&
Objects.equals(conversationId, other.conversationId) &&
Objects.equals(createdAt, other.createdAt) &&
Objects.equals(failureReason, other.failureReason) &&
Objects.equals(id, other.id) &&
Objects.equals(related, other.related) &&
Objects.equals(status, other.status) &&
Expand All @@ -140,6 +146,7 @@ public int hashCode() {
completedAt,
conversationId,
createdAt,
failureReason,
id,
related,
status,
Expand Down Expand Up @@ -317,6 +324,9 @@ public static class FetchActionResponse extends Resource {
@Getter
private final ZonedDateTime createdAt;

@Getter
private final String failureReason;

@Getter
private final String id;

Expand All @@ -337,6 +347,7 @@ private FetchActionResponse(
@JsonProperty("completedAt") final ZonedDateTime completedAt,
@JsonProperty("conversationId") final String conversationId,
@JsonProperty("createdAt") final ZonedDateTime createdAt,
@JsonProperty("failureReason") final String failureReason,
@JsonProperty("id") final String id,
@JsonProperty("related") final Map<String, String> related,
@JsonProperty(
Expand All @@ -348,6 +359,7 @@ private FetchActionResponse(
this.completedAt = completedAt;
this.conversationId = conversationId;
this.createdAt = createdAt;
this.failureReason = failureReason;
this.id = id;
this.related = related;
this.status = status;
Expand Down Expand Up @@ -383,6 +395,7 @@ public boolean equals(final Object o) {
Objects.equals(completedAt, other.completedAt) &&
Objects.equals(conversationId, other.conversationId) &&
Objects.equals(createdAt, other.createdAt) &&
Objects.equals(failureReason, other.failureReason) &&
Objects.equals(id, other.id) &&
Objects.equals(related, other.related) &&
Objects.equals(status, other.status) &&
Expand All @@ -397,6 +410,7 @@ public int hashCode() {
completedAt,
conversationId,
createdAt,
failureReason,
id,
related,
status,
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/com/twilio/rest/conversations/v2/Communication.java
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,11 @@ public static class CreateCommunicationInConversationRequest {
@Getter
private final String channelId;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("resourceId")
@Getter
private final String resourceId;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("recipients")
@Getter
Expand All @@ -1475,6 +1480,7 @@ private CreateCommunicationInConversationRequest(Builder builder) {
this.author = builder.author;
this.content = builder.content;
this.channelId = builder.channelId;
this.resourceId = builder.resourceId;
this.recipients = builder.recipients;
this.occurredAt = builder.occurredAt;
}
Expand Down Expand Up @@ -1512,6 +1518,9 @@ public static class Builder {
@JsonProperty("channelId")
private String channelId;

@JsonProperty("resourceId")
private String resourceId;

@JsonProperty("recipients")
private List<
CreateCommunicationInConversationRequestRecipients
Expand Down Expand Up @@ -1548,6 +1557,13 @@ public Builder channelId(String channelId) {
return this;
}

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("resourceId")
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}

@JsonDeserialize(
using = com.twilio.converter.ISO8601Deserializer.class
)
Expand Down Expand Up @@ -1580,6 +1596,7 @@ public boolean equals(final Object o) {
Objects.equals(author, other.author) &&
Objects.equals(content, other.content) &&
Objects.equals(channelId, other.channelId) &&
Objects.equals(resourceId, other.resourceId) &&
Objects.equals(recipients, other.recipients) &&
Objects.equals(occurredAt, other.occurredAt)
);
Expand All @@ -1591,6 +1608,7 @@ public int hashCode() {
author,
content,
channelId,
resourceId,
recipients,
occurredAt
);
Expand Down
Loading
Loading