Skip to content

Commit 62215e9

Browse files
vinzroot
andauthored
Version 6.0.0-v2.1-24.2.00.00 release (#286)
Co-authored-by: root <[email protected]>
1 parent a608813 commit 62215e9

File tree

6 files changed

+103
-30
lines changed

6 files changed

+103
-30
lines changed

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,79 @@
11
# DocuSign Java Client Changelog
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

4+
## [v6.0.0] - eSignature API v2.1-24.2.00.00 - 2024-07-25
5+
### Breaking Changes
6+
7+
<details>
8+
<summary>API Changes (Click to expand)</summary>
9+
10+
<div style="margin-left: 20px;">
11+
12+
<br/>
13+
Added support for version v2.1-24.2.00.00 of the Docusign ESignature API.
14+
15+
## Endpoint-Specific Changes
16+
17+
### Updated [Envelopes: get](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/get/)
18+
Added new optional query parameter named `include_anchor_tab_locations` of type string.
19+
20+
### Updated [Envelopes: update](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/update/)
21+
Added new optional query parameter named `recycle_on_void` of type string.
22+
23+
### Updated [EnvelopeViews : createCorrect](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createcorrect/)
24+
Request body object `correctViewRequest` has been changed to `envelopeViewRequest`.
25+
26+
## Model Changes
27+
28+
### Updated existing models
29+
30+
### `accountInformation`
31+
32+
- **Added fields:**
33+
- `freeEnvelopeSendsRemainingForAdvancedDocGen`
34+
35+
### `accountSettingsInformation`
36+
37+
- **Added fields:**
38+
- `defaultSigningResponsiveView`
39+
- `defaultSigningResponsiveViewMetadata`
40+
- `dss_SCOREFDN_196_Rebrand_DocuSignIsNotAVerb`
41+
- `enableAdditionalAdvancedWebFormsFeatures`
42+
- `enableAdditionalAdvancedWebFormsFeaturesMetadata`
43+
44+
- **Removed fields:**
45+
- `enableSaveAsEnvelopeCustomFieldInWebForms`
46+
- `enableSaveAsEnvelopeCustomFieldInWebFormsMetadata`
47+
48+
### `bulksendingCopyDocGenFormField`
49+
50+
- **Added field:**
51+
- `rowValues`
52+
53+
### `notaryRecipient`
54+
55+
- **Added field:**
56+
- `canNotaryCorrectEnvelope`
57+
58+
### `tabAccountSettings`
59+
60+
- **Added field:**
61+
- `enableTabAgreementDetails`
62+
- `enableTabAgreementDetailsMetadata`
63+
64+
65+
### Newly added Models
66+
67+
- `bulkSendingCopyDocGenFormFieldRowValue`
68+
69+
</div>
70+
</details>
71+
- Deprecation of OLTU library: The OLTU library for handling OAuth is no longer used.
72+
73+
### Other Changes
74+
- Upgradation of OWASP for vulnerability check of dependencies.
75+
- Updated the SDK release version.
76+
477
## [v6.0.0-RC2] - eSignature API v2.1-24.2.00.00 - 2024-07-12
578
### Changed
679
- Deprecation of OLTU library: The OLTU library for handling OAuth is no longer used.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This client SDK is provided as open source, which enables you to customize its f
5757
<dependency>
5858
<groupId>com.docusign</groupId>
5959
<artifactId>docusign-esign-java</artifactId>
60-
<version>6.0.0-RC2</version>
60+
<version>6.0.0</version>
6161
</dependency>
6262
```
6363
8. If your project is still open, restart Eclipse.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<artifactId>docusign-esign-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-esign-java</name>
8-
<version>6.0.0-RC2</version>
8+
<version>6.0.0</version>
99
<url>https://developers.docusign.com</url>
10-
<description>The official DocuSign eSignature JAVA client is based on version 2.1 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.</description>
10+
<description>The official Docusign eSignature JAVA client is based on version 2.1 of the Docusign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.</description>
1111

1212
<prerequisites>
1313
<maven>2.2.0</maven>

src/main/java/com/docusign/esign/client/ApiClient.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ApiClient() {
9595
String javaVersion = System.getProperty("java.version");
9696

9797
// Set default User-Agent.
98-
setUserAgent("Swagger-Codegen/v2.1/6.0.0-RC2/Java/" + javaVersion);
98+
setUserAgent("Swagger-Codegen/v2.1/6.0.0/Java/" + javaVersion);
9999

100100
// Setup authentications (key: authentication name, value: authentication).
101101
authentications = new HashMap<String, Authentication>();
@@ -633,7 +633,7 @@ public ApiClient setOAuthBasePath(String oAuthBasePath) {
633633
*
634634
* @param clientId OAuth2 client ID: Identifies the client making the request.
635635
* Client applications may be scoped to a limited set of system access.
636-
* @param clientSecret the secret key you generated when you set up the integration in DocuSign Admin console.
636+
* @param clientSecret the secret key you generated when you set up the integration in Docusign Admin console.
637637
* @param code The authorization code that you received from the <i>getAuthorizationUri</i> callback.
638638
* @return OAuth.OAuthToken object.
639639
* @throws ApiException if the HTTP call status is different than 2xx.
@@ -782,13 +782,13 @@ public String getJWTUri(String clientId, String redirectURI, String oAuthBasePat
782782
}
783783

784784
/**
785-
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign.
785+
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from Docusign.
786786
* @param publicKeyFilename the filename of the RSA public key
787787
* @param privateKeyFilename the filename of the RSA private key
788-
* @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
788+
* @param oAuthBasePath Docusign OAuth base path (account-d.docusign.com for the developer sandbox
789789
and account.docusign.com for the production platform)
790-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
791-
* @param userId DocuSign user Id to be impersonated (This is a UUID)
790+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
791+
* @param userId Docusign user Id to be impersonated (This is a UUID)
792792
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
793793
* @throws ApiException if there is an error while exchanging the JWT with an access token
794794
* @throws IOException if there is an issue with either the public or private file
@@ -852,9 +852,9 @@ public String getJWTUri(String clientId, String redirectURI, String oAuthBasePat
852852
}
853853

854854
/**
855-
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign.
856-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
857-
* @param userId DocuSign user Id to be impersonated (This is a UUID)
855+
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from Docusign.
856+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
857+
* @param userId Docusign user Id to be impersonated (This is a UUID)
858858
* @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope.
859859
* @param rsaPrivateKey the byte contents of the RSA private key
860860
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
@@ -926,8 +926,8 @@ public OAuth.OAuthToken requestJWTUserToken(String clientId, String userId, java
926926

927927
/**
928928
* <b>RESERVED FOR PARTNERS</b> Request JWT Application Token.
929-
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from DocuSign
930-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
929+
* Configures the current instance of ApiClient with a fresh OAuth JWT access token from Docusign
930+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
931931
* @param scopes the list of requested scopes. Values include {@link OAuth#Scope_SIGNATURE}, {@link OAuth#Scope_EXTENDED}, {@link OAuth#Scope_IMPERSONATION}. You can also pass any advanced scope.
932932
* @param rsaPrivateKey the byte contents of the RSA private key
933933
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
@@ -1423,7 +1423,7 @@ public <T> T invokeAPI(String path, String method, List<Pair> queryParams, List<
14231423
}
14241424
}
14251425

1426-
// Add DocuSign Tracking Header
1426+
// Add Docusign Tracking Header
14271427
invocationBuilder = invocationBuilder.header("X-DocuSign-SDK", "Java");
14281428

14291429
if (body == null && formParams.isEmpty()) {

src/main/java/com/docusign/esign/client/auth/JWTUtils.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public class JWTUtils {
3434
* Helper method to create a JWT token for the JWT flow.
3535
*
3636
* @param rsaPrivateKey the byte contents of the RSA private key
37-
* @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
37+
* @param oAuthBasePath Docusign OAuth base path (account-d.docusign.com for the developer sandbox
3838
* and account.docusign.com for the production platform)
39-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
40-
* @param userId DocuSign user Id to be impersonated (This is a UUID)
39+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
40+
* @param userId Docusign user Id to be impersonated (This is a UUID)
4141
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
4242
* @param scopes space-separated string that represents the list of scopes to grant to the OAuth
4343
* token.
@@ -88,10 +88,10 @@ public static String generateJWTAssertionFromByteArray(
8888
*
8989
* @param publicKeyFilename the filename of the RSA public key
9090
* @param privateKeyFilename the filename of the RSA private key
91-
* @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
91+
* @param oAuthBasePath Docusign OAuth base path (account-d.docusign.com for the developer sandbox
9292
* and account.docusign.com for the production platform)
93-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
94-
* @param userId DocuSign user Id to be impersonated (This is a UUID)
93+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
94+
* @param userId Docusign user Id to be impersonated (This is a UUID)
9595
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
9696
* @return a fresh JWT token
9797
* @throws JWTCreationException if not able to create a JWT token from the input parameters
@@ -113,10 +113,10 @@ public static String generateJWTAssertion(
113113
*
114114
* @param publicKeyFilename the filename of the RSA public key
115115
* @param privateKeyFilename the filename of the RSA private key
116-
* @param oAuthBasePath DocuSign OAuth base path (account-d.docusign.com for the developer sandbox
116+
* @param oAuthBasePath Docusign OAuth base path (account-d.docusign.com for the developer sandbox
117117
* and account.docusign.com for the production platform)
118-
* @param clientId DocuSign OAuth Client Id (AKA Integrator Key)
119-
* @param userId DocuSign user Id to be impersonated (This is a UUID)
118+
* @param clientId Docusign OAuth Client Id (AKA Integrator Key)
119+
* @param userId Docusign user Id to be impersonated (This is a UUID)
120120
* @param expiresIn number of seconds remaining before the JWT assertion is considered as invalid
121121
* @param scopes space-separated string that represents the list of scopes to grant to the OAuth
122122
* token.

src/main/java/com/docusign/esign/client/auth/OAuth.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ public <T> T deserialize(Response response, GenericType<T> returnType) throws Ap
493493
/**
494494
*
495495
* OAuthToken model with the following properties.
496-
* <br><b>accessToken</b>: the token you will use in the Authorization header of calls to the DocuSign API.
496+
* <br><b>accessToken</b>: the token you will use in the Authorization header of calls to the Docusign API.
497497
* <br><b>tokenType</b>: this is the type of the accessToken. It is usually "Bearer".
498498
* <br><b>refreshToken</b>: a token you can use to get a new accessToken without requiring user interaction.
499499
* <br><b>expiresIn</b>: the number of seconds before the accessToken expires.
@@ -746,8 +746,8 @@ private String toIndentedString(java.lang.Object o) {
746746
/**
747747
*
748748
* Organization model with the below properties.
749-
* <br><b>organizationId</b>: the organization ID GUID if DocuSign Org Admin is enabled.
750-
* <br><b>links</b>: this is list of organization direct links associated with the DocuSign account.
749+
* <br><b>organizationId</b>: the organization ID GUID if Docusign Org Admin is enabled.
750+
* <br><b>links</b>: this is list of organization direct links associated with the Docusign account.
751751
*
752752
*/
753753
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -848,8 +848,8 @@ private String toIndentedString(java.lang.Object o) {
848848
* <br><b>isDefault</b>: whether this is the default account, when the user has access to multiple accounts.
849849
* <br><b>accountName</b>: the human-readable name of the account.
850850
* <br><b>baseUri</b>: the base URI associated with this account.
851-
* It also tells which DocuSign data center the account is hosted on.
852-
* <br><b>organization</b>: If DocuSign Org Admin is enabled on this account,
851+
* It also tells which Docusign data center the account is hosted on.
852+
* <br><b>organization</b>: If Docusign Org Admin is enabled on this account,
853853
* this property contains the organization information.
854854
*
855855
*/
@@ -1015,7 +1015,7 @@ private String toIndentedString(java.lang.Object o) {
10151015
*
10161016
* UserInfo model with the below properties.
10171017
* <br><b>sub</b>: the user ID GUID.
1018-
* <br><b>accounts</b>: this is list of DocuSign accounts associated with the current user.
1018+
* <br><b>accounts</b>: this is list of Docusign accounts associated with the current user.
10191019
* <br><b>name</b>: the user's full name.
10201020
* <br><b>givenName</b>: the user's given name.
10211021
* <br><b>familyName</b>: the user's family name.

0 commit comments

Comments
 (0)