Skip to content

Commit a423bf5

Browse files
committed
Upgrades Gradle to 3.3, bumps version number to 2.0.0 (release)
1 parent e928fa1 commit a423bf5

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The driver is available from Maven Central, for all modern Java build systems.
1515
Gradle:
1616
```
1717
dependencies {
18-
compile('com.bettercloud:vault-java-driver:1.2.0')
18+
compile('com.bettercloud:vault-java-driver:2.0.0')
1919
}
2020
```
2121

@@ -24,7 +24,7 @@ Maven:
2424
<dependency>
2525
<groupId>com.bettercloud</groupId>
2626
<artifactId>vault-java-driver</artifactId>
27-
<version>1.2.0</version>
27+
<version>2.0.0</version>
2828
</dependency>
2929
```
3030

@@ -112,6 +112,7 @@ final String value = vault.logical()
112112
* `auth()`: Exposes methods for working with Vault's various auth backends (e.g. to programmatically retrieve a token
113113
by authenticating with a username and password).
114114
* `pki()`: Operations on the PKI backend (e.g. create and delete roles, issue certificate credentials).
115+
* `debug()`: Health check endpoints.
115116

116117
The driver DSL also allows you to specify retry logic, by chaining the `withRetries()` ahead of accessing the endpoint
117118
implementation:
@@ -134,15 +135,15 @@ Note that changes to the major version (i.e. the first number) represent possibl
134135
may require modifications in your code to migrate. Changes to the minor version (i.e. the second number)
135136
should represent non-breaking changes. The third number represents any very minor bugfix patches.
136137

137-
* **2.0.0 (in progress)**:
138+
* **2.0.0**: This is breaking-change release, with numerous deprecated items cleaned up.
139+
* Adds support for authentication via the AppRole auth backend.
140+
* Adds support for renewing secret leases.
138141
* Removes the `com.bettercloud.vault.api.Sys` class, deprecated in the 1.2.0 release.
139142
* Removes the `com.bettercloud.vault.api.Auth.loginByUsernamePassword` method, deprecated in the 1.2.0 release.
140143
* Removes the fields `leaseId`, `leaseDuration`, and `renewable` from the `VaultResponse` base class, instead
141144
including them only in the subclasses for specific response types where they are found.
142145
* Changes the `com.bettercloud.vault.response.AuthReponse` class field `authLeaseDuration` from type `int` to `long`.
143146
* Refactors and removes various deprecated `private` methods, with no change to the exposed API.
144-
* Adds support for authentication via the AppRole auth backend.
145-
* Adds support for renewing secret leases.
146147
* **1.2.0**: This is a substantial release, with numerous additions. It's a minor version number only because there
147148
should be no breaking changes. The changes include the following:
148149
* Switches from Vault 0.5.x to 0.6.x for automated tests.
@@ -200,7 +201,7 @@ License
200201
-------
201202
The MIT License (MIT)
202203

203-
Copyright (c) 2016 BetterCloud
204+
Copyright (c) 2016-2017 BetterCloud
204205

205206
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
206207
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'signing'
44

55
group 'com.bettercloud'
66
archivesBaseName = 'vault-java-driver'
7-
version '2.0.0-SNAPSHOT'
7+
version '2.0.0'
88
ext.isReleaseVersion = !version.endsWith('SNAPSHOT')
99

1010
sourceCompatibility = 1.7
@@ -21,7 +21,7 @@ dependencies {
2121
}
2222

2323
task wrapper(type: Wrapper) {
24-
gradleVersion = '2.14.1'
24+
gradleVersion = '3.3'
2525
}
2626

2727
task javadocJar(type: Jar, dependsOn: javadoc) {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Oct 06 10:34:11 EDT 2016
1+
#Mon Feb 06 12:49:32 EST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

0 commit comments

Comments
 (0)