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 #778

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ff36bd4
feat: support json content in requests (#746)
shrutiburman Jun 7, 2023
6a90931
[Librarian] Regenerated @ 0430a9c977225d55252b84f4d16e16ad2091cde1
twilio-dx Jun 15, 2023
81d85c7
Release 9.7.0
twilio-dx Jun 15, 2023
7ebbd27
feat: Enable json request body (#749)
sbansla Jun 26, 2023
954954f
chore: added preview messaging domain url (#752)
sbansla Jun 27, 2023
5307f9a
chore: enabling branch for 10.0.0-rc.1 release (#751)
sbansla Jun 27, 2023
3b31008
chore: corrected rc version for release
sbansla Jul 4, 2023
e4711a4
[Librarian] Regenerated @ 6ed189cbba23e3c77c423ac17bd7bfccfc88b126 27…
twilio-dx Jul 4, 2023
8aa8f48
Release 10.0.0-rc.1
twilio-dx Jul 4, 2023
5c9a366
[Librarian] Regenerated @ 07a9a183b1077d5a881e6cd53ef76b0d75ccc6b0 46…
twilio-dx Jul 27, 2023
c5e6585
Release 10.0.0-rc.2
twilio-dx Jul 27, 2023
bb5458a
[Librarian] Regenerated @ 1e94599903f1dbac80d3040ebbdba7d3f7fb074d 6a…
twilio-dx Aug 10, 2023
b573f61
Release 10.0.0-rc.3
twilio-dx Aug 10, 2023
c4e73e4
[Librarian] Regenerated @ 38fb28edc02f73b8635b45a5612c5ae33eab39fe 54…
twilio-dx Aug 24, 2023
9da3278
Release 10.0.0-rc.4
twilio-dx Aug 24, 2023
7a8223f
Validate ssl method update (#767)
AsabuHere Oct 6, 2023
48e68fa
chore: add-constructor-apiexception (#772)
sbansla Oct 19, 2023
8fa3a8d
[Librarian] Regenerated @ 922c1fef02b8c8fbbbe2315aa9b9d1dba49f3fc0 5b…
twilio-dx Oct 19, 2023
3508d6e
Release 10.0.0-rc.5
twilio-dx Oct 19, 2023
a3dda32
[Librarian] Regenerated @ 5eb406c4977c9f6976e6053cb5b581056f541a59 5a…
twilio-dx Nov 6, 2023
3e14d3c
Release 10.0.0-rc.6
twilio-dx Nov 6, 2023
ca53135
chore: updating latest changes
sbansla Feb 7, 2024
539a01b
chore: written readme and upgrade guide
sbansla Feb 7, 2024
729b11f
prettier output
sbansla Feb 7, 2024
f2d2641
latest oai rc changes
sbansla Feb 8, 2024
74b3296
prettier run
sbansla Feb 8, 2024
c5883b5
chore: latest oai changes
sbansla Feb 8, 2024
eb00438
updated changes
sbansla Feb 8, 2024
7623a28
chore: deleted api files
sbansla Feb 9, 2024
e271f93
featMVR Release Preperation
sbansla Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
268 changes: 268 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,274 @@
twilio-java changelog
=====================

[2024-01-25] Version 9.16.0
---------------------------
**Oauth**
- updated openid discovery endpoint uri **(breaking change)**
- Added device code authorization endpoint
- added oauth JWKS endpoint
- Get userinfo resource
- OpenID discovery resource
- Add new API for token endpoint


[2024-01-14] Version 9.15.1
---------------------------
**Push**
- Migrated to new Push API V4 with Resilient Notification Delivery.


[2023-12-14] Version 9.15.0
---------------------------
**Api**
- Updated service base url for connect apps and authorized connect apps APIs **(breaking change)**

**Events**
- Marked as GA

**Insights**
- decommission voice-qualitystats-endpoint role

**Numbers**
- Add Get Port In request api

**Taskrouter**
- Add `jitter_buffer_size` param in update reservation

**Trusthub**
- Add additional optional fields in compliance_tollfree_inquiry.json

**Verify**
- Remove `Tags` from Public Docs **(breaking change)**


[2023-12-01] Version 9.14.3
---------------------------
**Verify**
- Add `VerifyEventSubscriptionEnabled` parameter to service create and update endpoints.


[2023-11-17] Version 9.14.2
---------------------------
**Api**
- Update documentation to reflect RiskCheck GA

**Messaging**
- Add tollfree edit_allowed and edit_reason fields
- Update Phone Number, Short Code, Alpha Sender, US A2P and Channel Sender documentation

**Taskrouter**
- Add container attribute to task_queue_bulk_real_time_statistics endpoint

**Trusthub**
- Rename did to tollfree_phone_number in compliance_tollfree_inquiry.json
- Add new optional field notification_email to compliance_tollfree_inquiry.json

**Verify**
- Add `Tags` optional parameter on Verification creation.


[2023-11-06] Version 9.14.1
---------------------------
**Flex**
- Adding `provisioning_status` for Email Manager

**Intelligence**
- Add text-generation operator (for example conversation summary) results to existing OperatorResults collection.

**Messaging**
- Add DELETE support to Tollfree Verification resource

**Serverless**
- Add node18 as a valid Build runtime

**Verify**
- Update Verify TOTP maturity to GA.


[2023-10-19] Version 9.14.0
---------------------------
**Library - Chore**
- [PR #771](https://github.com/twilio/twilio-java/pull/771): added constructor in api exception. Thanks to [@sbansla](https://github.com/sbansla)!
- [PR #768](https://github.com/twilio/twilio-java/pull/768): increased default number of total connections and connection p…. Thanks to [@sbansla](https://github.com/sbansla)!

**Accounts**
- Updated Safelist metadata to correct the docs.
- Add Global SafeList API changes

**Api**
- Added optional parameter `CallToken` for create participant api

**Flex**
- Adding `offline_config` to Flex Configuration

**Intelligence**
- Deleted `redacted` parameter from fetching transcript in v2 **(breaking change)**

**Lookups**
- Add new `phone_number_quality_score` package to the lookup response
- Remove `disposable_phone_number_risk` package **(breaking change)**

**Messaging**
- Update US App To Person documentation with current `message_samples` requirements

**Taskrouter**
- Remove beta_feature check on task_queue_bulk_real_time_statistics endpoint
- Add `virtual_start_time` property to tasks
- Updating `task_queue_data` format from `map` to `array` in the response of bulk get endpoint of TaskQueue Real Time Statistics API **(breaking change)**


[2023-10-05] Version 9.13.1
---------------------------
**Library - Chore**
- [PR #764](https://github.com/twilio/twilio-java/pull/764): twilio help changes. Thanks to [@kridai](https://github.com/kridai)!

**Library - Fix**
- [PR #765](https://github.com/twilio/twilio-java/pull/765): Update ValidateSslCertificate method changes to the security testing method. Thanks to [@AsabuHere](https://github.com/AsabuHere)!

**Lookups**
- Add test api support for Lookup v2


[2023-09-21] Version 9.13.0
---------------------------
**Conversations**
- Enable conversation email bindings, email address configurations and email message subjects

**Flex**
- Adding `console_errors_included` to Flex Configuration field `debugger_integrations`
- Introducing new channel status as `inactive` in modify channel endpoint for leave functionality **(breaking change)**
- Adding `citrix_voice_vdi` to Flex Configuration

**Taskrouter**
- Add Update Queues, Workers, Workflow Real Time Statistics API to flex-rt-data-api-v2 endpoint
- Add Update Workspace Real Time Statistics API to flex-rt-data-api-v2 endpoint


[2023-09-07] Version 9.12.0
---------------------------
**Api**
- Make message tagging parameters public **(breaking change)**

**Flex**
- Adding `agent_conv_end_methods` to Flex Configuration

**Messaging**
- Mark Mesasging Services fallback_to_long_code feature obsolete

**Numbers**
- Add Create Port In request api
- Renaming sid for bulk_hosting_sid and remove account_sid response field in numbers/v2/BulkHostedNumberOrders **(breaking change)**

**Pricing**
- gate resources behind a beta_feature


[2023-08-24] Version 9.11.0
---------------------------
**Library - Chore**
- [PR #761](https://github.com/twilio/twilio-java/pull/761): update validation example. Thanks to [@kridai](https://github.com/kridai)!

**Library - Feature**
- [PR #759](https://github.com/twilio/twilio-java/pull/759): add support for PS256, RS256 PKCV in validationClient. Thanks to [@kridai](https://github.com/kridai)!

**Api**
- Add new property `RiskCheck` for SMS pumping protection feature only (public beta to be available soon): Include this parameter with a value of `disable` to skip any kind of risk check on the respective message request

**Flex**
- Changing `sid<UO>` path param to `sid<UT>` in interaction channel participant update endpoint **(breaking change)**

**Messaging**
- Add Channel Sender api
- Fixing country code docs and removing Zipwhip references

**Numbers**
- Request status changed in numbers/v2/BulkHostedNumberOrders **(breaking change)**
- Add bulk hosting orders API under version `/v2


[2023-08-10] Version 9.10.0
---------------------------
**Insights**
- Normalize annotations parameters in list summary api to be prefixed

**Numbers**
- Change Bulk_hosted_sid from BHR to BH prefix in HNO and dependent under version `/v2` API's. **(breaking change)**
- Added parameter target_account_sid to portability and account_sid to response body

**Verify**
- Remove beta feature flag to list attempts API.
- Remove beta feature flag to verifications summary attempts API.


[2023-07-27] Version 9.9.1
--------------------------
**Api**
- Added `voice-intelligence`, `voice-intelligence-transcription` and `voice-intelligence-operators` to `usage_record` API.
- Added `tts-google` to `usage_record` API.

**Lookups**
- Add new `disposable_phone_number_risk` package to the lookup response

**Verify**
- Documentation of list attempts API was improved by correcting `date_created_after` and `date_created_before` expected date format.
- Documentation was improved by correcting `date_created_after` and `date_created_before` expected date format parameter on attempts summary API.
- Documentation was improved by adding `WHATSAPP` as optional valid parameter on attempts summary API.

**Twiml**
- Added support for he-il inside of ssm_lang.json that was missing
- Added support for he-il language in say.json that was missing
- Add `statusCallback` and `statusCallbackMethod` attributes to `<Siprec>`.


[2023-07-14] Version 9.9.0
--------------------------
**Flex**
- Adding `interaction_context_sid` as optional parameter in Interactions API

**Messaging**
- Making visiblity public for tollfree_verification API

**Numbers**
- Remove Sms capability property from HNO creation under version `/v2` of HNO API. **(breaking change)**
- Update required properties in LOA creation under version `/v2` of Authorization document API. **(breaking change)**

**Taskrouter**
- Add api to fetch task queue statistics for multiple TaskQueues

**Verify**
- Add `RiskCheck` optional parameter on Verification creation.

**Twiml**
- Add Google Voices and languages


[2023-06-28] Version 9.8.0
--------------------------
**Library - Chore**
- [PR #754](https://github.com/twilio/twilio-java/pull/754): Add content type enum to request. Thanks to [@sbansla](https://github.com/sbansla)!
- [PR #753](https://github.com/twilio/twilio-java/pull/753): added content type enum. Thanks to [@sbansla](https://github.com/sbansla)!

**Lookups**
- Add `reassigned_number` package to the lookup response

**Numbers**
- Add hosted_number_order under version `/v2`.
- Update properties in Porting and Bulk Porting APIs. **(breaking change)**
- Added bulk Portability API under version `/v1`.
- Added Portability API under version `/v1`.


[2023-06-15] Version 9.7.0
--------------------------
**Api**
- Added `content_sid` as conditional parameter
- Removed `content_sid` as optional field **(breaking change)**

**Insights**
- Added `annotation` to list summary output


[2023-06-01] Version 9.6.2
--------------------------
**Api**
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ it can be.

If you have questions about how to use `twilio-java`, please see our
[docs][docs-link], and if you don't find the answer there, please contact
[[email protected]](mailto:help@twilio.com) with any issues you have.
[Twilio Support ](https://www.twilio.com/help/contact) with any issues you have.

## <a name="issue"></a> Found an Issue?

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (C) 2023, Twilio, Inc. <help@twilio.com>
Copyright (C) 2023, Twilio, Inc. <https://www.twilio.com/help/contact>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Use the following dependency in your project to grab via Maven:
<dependency>
<groupId>com.twilio.sdk</groupId>
<artifactId>twilio</artifactId>
<version>9.X.X</version>
<version>10.X.X</version>
<scope>compile</scope>
</dependency>
```

or Gradle:

```groovy
implementation "com.twilio.sdk:twilio:9.X.X"
implementation "com.twilio.sdk:twilio:10.X.X"
```

If you want to compile it yourself, here's how:
Expand Down
8 changes: 8 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

[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

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.
We're pleased to inform you that version 10.0.0 adds support for the application/json content type in the request body.

[2022-09-21] 8.x.x to 9.x.x
-----------------------------
### Overview
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>9.6.2</version>
<version>9.16.0</version>
<description>Twilio Java Helper Library</description>
<url>https://www.twilio.com</url>
<licenses>
Expand All @@ -19,7 +19,7 @@
<url>[email protected]:twilio/twilio-java.git</url>
<connection>scm:git:[email protected]:twilio/twilio-java.git</connection>
<developerConnection>scm:git:[email protected]:twilio/twilio-java.git</developerConnection>
<tag>9.6.2</tag>
<tag>9.16.0</tag>
</scm>
<developers>
<developer>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/twilio/Domains.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public enum Domains {
IPMESSAGING("ip-messaging"),
LOOKUPS("lookups"),
MEDIA("media"),
PREVIEWMESSAGING("preview.messaging"),
MESSAGING("messaging"),
MICROVISOR("microvisor"),
MONITOR("monitor"),
Expand Down
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 @@ -21,7 +21,7 @@
*/
public class Twilio {

public static final String VERSION = "9.6.2";
public static final String VERSION = "9.16.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 Expand Up @@ -241,7 +241,7 @@ public static void setExecutorService(final ExecutorService executorService) {
}

/**
* Validate that we can connect to the new SSL certificate posted on api.twilio.com.
* Validate that we can connect to the new SSL certificate posted on tls-test.twilio.com
*
* @throws CertificateValidationException if the connection fails
*/
Expand All @@ -252,7 +252,7 @@ public static void validateSslCertificate() {


public static void validateSslCertificate(NetworkHttpClient client) {
final Request request = new Request(HttpMethod.GET, "https://api.twilio.com:8443");
final Request request = new Request(HttpMethod.GET, "https://tls-test.twilio.com:443");
try {
final Response response = client.makeRequest(request);

Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/twilio/constant/EnumConstants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.twilio.constant;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

public class EnumConstants {

@Getter
@RequiredArgsConstructor
public enum ContentType {
JSON("application/json"),
FORM_URLENCODED("application/x-www-form-urlencoded");

private final String value;
}
}
Loading
Loading