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


[2026-10-06] Version 13.0.3
---------------------------
**Audiences**
- ## 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 `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

**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)
- 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
4 changes: 2 additions & 2 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.0.3</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.0.3</tag>
</scm>
<developers>
<developer>
Expand Down
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.0.3";
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
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