Skip to content

Commit 504372f

Browse files
Release 2.6.0 (#45)
1 parent 1f47cc4 commit 504372f

32 files changed

Lines changed: 371 additions & 63 deletions

.github/workflows/github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
java-version: 11
4949

5050
- name: Upload Artifacts
51-
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel --no-configuration-cache --stacktrace
51+
run: ./gradlew publishToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace
5252
env:
5353
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
5454
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
@@ -59,7 +59,7 @@ jobs:
5959
run: echo "PACKAGE_VERSION=$(cat VERSION)" >> $GITHUB_ENV
6060

6161
- name: Publish Release to Maven Central
62-
run: ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
62+
run: ./gradlew releaseRepository --no-daemon --no-parallel
6363
if: "!endsWith(env.PACKAGE_VERSION, '-SNAPSHOT')"
6464
env:
6565
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Add this dependency to your project's POM:
5656
<dependency>
5757
<groupId>com.dropbox.sign</groupId>
5858
<artifactId>dropbox-sign</artifactId>
59-
<version>2.5.0</version>
59+
<version>2.6.0</version>
6060
<scope>compile</scope>
6161
</dependency>
6262
```
@@ -72,7 +72,7 @@ Add this dependency to your project's build file:
7272
}
7373
7474
dependencies {
75-
implementation "com.dropbox.sign:dropbox-sign:2.5.0"
75+
implementation "com.dropbox.sign:dropbox-sign:2.6.0"
7676
}
7777
```
7878

@@ -86,7 +86,7 @@ mvn clean package
8686

8787
Then manually install the following JARs:
8888

89-
- `target/dropbox-sign-2.5.0.jar`
89+
- `target/dropbox-sign-2.6.0.jar`
9090
- `target/lib/*.jar`
9191

9292
## Getting Started
@@ -453,7 +453,7 @@ apisupport@hellosign.com
453453
This Java package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
454454

455455
- API version: `3.0.0`
456-
- Package version: `2.5.0`
456+
- Package version: `2.6.0`
457457
- Build package: `org.openapitools.codegen.languages.JavaClientCodegen`
458458

459459

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.0
1+
2.6.0

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212

1313
plugins {
14-
id 'com.vanniktech.maven.publish' version '0.24.0'
14+
id 'com.vanniktech.maven.publish' version '0.34.0'
1515
id 'com.diffplug.spotless' version '6.25.0'
1616
}
1717

@@ -21,7 +21,7 @@ apply plugin: 'signing'
2121

2222
group = 'com.dropbox.sign'
2323
archivesBaseName = 'dropbox-sign'
24-
version = '2.5.0'
24+
version = '2.6.0'
2525
sourceCompatibility = JavaVersion.VERSION_1_8
2626
targetCompatibility = JavaVersion.VERSION_1_8
2727

@@ -42,17 +42,17 @@ if (JavaVersion.current().isJava8Compatible()) {
4242
}
4343

4444
task javadocJar(type: Jar) {
45-
classifier = 'javadoc'
45+
archiveClassifier.set('javadoc')
4646
from javadoc
4747
}
4848

4949
task sourcesJar(type: Jar) {
50-
classifier = 'sources'
50+
archiveClassifier.set('sources')
5151
from sourceSets.main.allSource
5252
}
5353

5454
task fatJar(type: Jar) {
55-
classifier = 'all'
55+
archiveClassifier.set('all')
5656
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
5757
from {
5858
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.dropbox.sign",
44
name := "dropbox-sign",
5-
version := "2.5.0",
5+
version := "2.6.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
Compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/OAuthTokenRefreshRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
|------------ | ------------- | ------------- | -------------|
1111
| `grantType`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | |
1212
| `refreshToken`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
13-
| `clientId` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
14-
| `clientSecret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
13+
| `clientId` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
14+
| `clientSecret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
1515

1616

1717

docs/ReportCreateRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
---- | -----
2121
| USER_ACTIVITY | &quot;user_activity&quot; |
2222
| DOCUMENT_STATUS | &quot;document_status&quot; |
23+
| SMS_ACTIVITY | &quot;sms_activity&quot; |
2324

2425

2526

docs/ReportResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Contains information about the report request.
2121
---- | -----
2222
| USER_ACTIVITY | &quot;user_activity&quot; |
2323
| DOCUMENT_STATUS | &quot;document_status&quot; |
24+
| SMS_ACTIVITY | &quot;sms_activity&quot; |
2425

2526

2627

docs/TemplateResponseDocumentFormFieldText.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This class extends `TemplateResponseDocumentFormFieldBase`
1414
| `originalFontSize` | ```Integer``` | Original font size used in this form field&#39;s text. | |
1515
| `fontFamily` | ```String``` | Font family used in this form field&#39;s text. | |
1616
| `validationType` | [```ValidationTypeEnum```](#ValidationTypeEnum) | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
17+
| `validationCustomRegex` | ```String``` | When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field. | |
18+
| `validationCustomRegexFormatLabel` | ```String``` | When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern. | |
1719
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
1820

1921

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#target = android
77
GROUP=com.dropbox.sign
88
POM_ARTIFACT_ID=dropbox-sign
9-
VERSION_NAME=2.5.0
9+
VERSION_NAME=2.6.0
1010

1111
POM_NAME=Dropbox Sign Java SDK
1212
POM_DESCRIPTION=Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
@@ -24,8 +24,8 @@ POM_DEVELOPER_ID=dropbox-sign-api-team
2424
POM_DEVELOPER_NAME=Dropbox Sign API Team
2525
POM_DEVELOPER_URL=https://hellosign.com
2626

27-
SONATYPE_HOST=S01
28-
RELEASE_SIGNING_ENABLED=true
27+
mavenCentralPublishing=true
28+
signAllPublications=true
2929

3030
SONATYPE_CONNECT_TIMEOUT_SECONDS=300
3131
SONATYPE_CLOSE_TIMEOUT_SECONDS=900

0 commit comments

Comments
 (0)