Skip to content

Commit 29c20df

Browse files
author
Majid Mallis
committed
Released version 2.4.1
1 parent baa2094 commit 29c20df

File tree

11 files changed

+38
-23
lines changed

11 files changed

+38
-23
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
77
### Changed
88
- Updated the package with the latest API monthly release.
99

10+
## [2.4.1] - 2018-03-21
11+
### Updated
12+
- README code example description.
13+
14+
### Removed
15+
- README mention of direct binaries download. Users should use Maven or Gradle repos to download binaries. See Issue[`#53`](https://github.com/docusign/docusign-java-client/issues/53).
16+
17+
### Fixed
18+
- PR [`#57`](https://github.com/docusign/docusign-java-client/pull/57): Avoid NPE in OAuth updateAccessToken().
19+
- PR [`#58`](https://github.com/docusign/docusign-java-client/pull/58): Return ClientHandlerException(), for non 200 response codes, in updateAccessToken().
20+
- PR [`#59`](https://github.com/docusign/docusign-java-client/pull/59): Return ApiException(), for non 2xx response codes, in invokeAPI().
21+
- PR [`#60`](https://github.com/docusign/docusign-java-client/pull/60): RFC conform handling for grant_type=refresh_token without code.
22+
- PR [`#61`](https://github.com/docusign/docusign-java-client/pull/61): Check and set refresh_token in body of OAuth request.
23+
1024
## [2.4.0] - 2017-11-06
1125
### Added
1226
- Support for Seals.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this dependency to your project's POM:
2121
<dependency>
2222
<groupId>com.docusign</groupId>
2323
<artifactId>docusign-esign-java</artifactId>
24-
<version>2.4.0</version>
24+
<version>2.4.1</version>
2525
</dependency>
2626
```
2727

@@ -30,7 +30,7 @@ Add this dependency to your project's POM:
3030
Add this dependency to your project's build file:
3131

3232
```groovy
33-
compile "com.docusign:docusign-esign-java:2.4.0"
33+
compile "com.docusign:docusign-esign-java:2.4.1"
3434
```
3535

3636
#### Dependencies
@@ -72,8 +72,8 @@ android {
7272

7373
This client is available through the following Java package managers:
7474

75-
- [Nexus Repository Manager](https://oss.sonatype.org/#nexus-search;quick~docusign-esign-java) (oss.sonatype.org). You can search for com.docusign or docusign-esign-java. The current version is 2.4.0.
76-
- [JFrog Bintray](https://bintray.com/dsdevcenter/maven/docusign-esign-java) (bintray.com). You can search for com.docusign or docusign-esign-java. The current version is 2.4.0.
75+
- [Nexus Repository Manager](https://oss.sonatype.org/#nexus-search;quick~docusign-esign-java) (oss.sonatype.org). You can search for com.docusign or docusign-esign-java. The current version is 2.4.1.
76+
- [JFrog Bintray](https://bintray.com/dsdevcenter/maven/docusign-esign-java) (bintray.com). You can search for com.docusign or docusign-esign-java. The current version is 2.4.1.
7777

7878

7979
Usage

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.docusign'
5-
version = '2.4.0'
5+
version = '2.4.1'
66

77
buildscript {
88
repositories {

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>docusign-esign-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-esign-java</name>
8-
<version>2.4.0</version>
8+
<version>2.4.1</version>
99
<description>The official DocuSign eSignature JAVA client is based on version 2 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>
1010
<url>https://www.docusign.com/developer-center</url>
1111

@@ -19,6 +19,7 @@
1919
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
2020
</snapshotRepository>
2121
<repository>
22+
<id>ossrh2</id>
2223
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
2324
</repository>
2425
</distributionManagement>

src/test/java/SdkUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class SdkUnitTests {
5252

5353
public static final String SignTest1File = "/src/test/docs/SignTest1.pdf";
5454
public static final String TemplateId = "cf2a46c2-xxxx-xxxx-xxxx-752547b1a419";
55-
public String EnvelopeId = "df3242e8-9b24-4c3f-861f-125d99957384";
55+
public String EnvelopeId = "a8a4fac1-ec18-443a-98f0-f8ad0cc23d42";
5656
// JUnit 4.12 runs test cases in parallel, so the envelope ID needs to be initiated as well.
5757

5858
// private JSON json = new JSON();
445 Bytes
Binary file not shown.
702 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven
2-
#Thu Nov 09 17:12:15 PST 2017
3-
version=2.4.0
2+
#Wed Mar 21 11:55:03 PDT 2018
3+
version=2.4.1
44
groupId=com.docusign
55
artifactId=docusign-esign-java
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-------------------------------------------------------------------------------
22
Test set: SdkUnitTests
33
-------------------------------------------------------------------------------
4-
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.683 sec
4+
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.879 sec

target/surefire-reports/TEST-SdkUnitTests.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
2-
<testsuite failures="0" time="71.683" errors="0" skipped="0" tests="10" name="SdkUnitTests">
2+
<testsuite failures="0" time="51.879" errors="0" skipped="0" tests="10" name="SdkUnitTests">
33
<properties>
44
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
55
<property name="sun.boot.library.path" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib"/>
@@ -35,7 +35,7 @@
3535
<property name="os.version" value="10.11.6"/>
3636
<property name="http.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
3737
<property name="user.home" value="/Users/majid.mallis"/>
38-
<property name="user.timezone" value="US/Pacific"/>
38+
<property name="user.timezone" value="America/Los_Angeles"/>
3939
<property name="java.awt.printerjob" value="sun.lwawt.macosx.CPrinterJob"/>
4040
<property name="java.specification.version" value="1.7"/>
4141
<property name="file.encoding" value="UTF-8"/>
@@ -44,7 +44,7 @@
4444
<property name="java.vm.specification.version" value="1.7"/>
4545
<property name="sun.arch.data.model" value="64"/>
4646
<property name="java.home" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre"/>
47-
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean deploy"/>
47+
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher clean deploy -P release"/>
4848
<property name="java.specification.vendor" value="Oracle Corporation"/>
4949
<property name="user.language" value="en"/>
5050
<property name="awt.toolkit" value="sun.lwawt.macosx.LWCToolkit"/>
@@ -62,14 +62,14 @@
6262
<property name="ftp.nonProxyHosts" value="local|*.local|169.254/16|*.169.254/16"/>
6363
<property name="sun.cpu.isalist" value=""/>
6464
</properties>
65-
<testcase time="2.847" classname="SdkUnitTests" name="OAuthLoginTest"/>
66-
<testcase time="7.286" classname="SdkUnitTests" name="CreateTemplateTest"/>
67-
<testcase time="6.222" classname="SdkUnitTests" name="LoginTest"/>
68-
<testcase time="8.872" classname="SdkUnitTests" name="ResendEnvelopeTest"/>
69-
<testcase time="7.629" classname="SdkUnitTests" name="RequestSignatureFromTemplate"/>
70-
<testcase time="8.078" classname="SdkUnitTests" name="EmbeddedSigningTest"/>
71-
<testcase time="7.779" classname="SdkUnitTests" name="RequestASignatureTest"/>
72-
<testcase time="8.73" classname="SdkUnitTests" name="GetDiagnosticLogsTest"/>
73-
<testcase time="6.383" classname="SdkUnitTests" name="ListDocumentsTest"/>
74-
<testcase time="7.857" classname="SdkUnitTests" name="DownLoadEnvelopeDocumentsTest"/>
65+
<testcase time="6.667" classname="SdkUnitTests" name="ResendEnvelopeTest"/>
66+
<testcase time="5.681" classname="SdkUnitTests" name="RequestSignatureFromTemplate"/>
67+
<testcase time="1.757" classname="SdkUnitTests" name="OAuthLoginTest"/>
68+
<testcase time="4.25" classname="SdkUnitTests" name="LoginTest"/>
69+
<testcase time="5.703" classname="SdkUnitTests" name="EmbeddedSigningTest"/>
70+
<testcase time="6.526" classname="SdkUnitTests" name="GetDiagnosticLogsTest"/>
71+
<testcase time="5.143" classname="SdkUnitTests" name="CreateTemplateTest"/>
72+
<testcase time="5.983" classname="SdkUnitTests" name="DownLoadEnvelopeDocumentsTest"/>
73+
<testcase time="4.346" classname="SdkUnitTests" name="ListDocumentsTest"/>
74+
<testcase time="5.823" classname="SdkUnitTests" name="RequestASignatureTest"/>
7575
</testsuite>

0 commit comments

Comments
 (0)