@@ -15,7 +15,7 @@ The driver is available from Maven Central, for all modern Java build systems.
1515Gradle:
1616```
1717dependencies {
18- compile('com.bettercloud:vault-java-driver:1.2 .0')
18+ compile('com.bettercloud:vault-java-driver:2.0 .0')
1919}
2020```
2121
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
116117The driver DSL also allows you to specify retry logic, by chaining the ` withRetries() ` ahead of accessing the endpoint
117118implementation:
@@ -134,15 +135,15 @@ Note that changes to the major version (i.e. the first number) represent possibl
134135may require modifications in your code to migrate. Changes to the minor version (i.e. the second number)
135136should 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-------
201202The MIT License (MIT)
202203
203- Copyright (c) 2016 BetterCloud
204+ Copyright (c) 2016-2017 BetterCloud
204205
205206Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
206207documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
0 commit comments