Skip to content

Releases: stklcode/jvaultconnector

v1.0.1

21 Nov 11:09
v1.0.1
Compare
Choose a tag to compare

Fix

  • Make HTTPVaultConnectorBuilder#withPort(Integer) null-safe (#56)
  • Make system-lambda dependency test-only (#58)

Test

  • Tested against Vault 1.9.0

v1.0.0

02 Oct 14:46
v1.0.0
Compare
Choose a tag to compare

Breaking

  • Requires Java 11 or later
  • Builder invocation has changed, use HTTPVaultConnector.builder()....build() (#50)

Removal

  • Remove deprecated VaultConnectorFactory in favor of VaultConnectorBuilder with identical API
  • Remove deprecated AppRoleBuilder and TokenBuilder in favor of AppRole.Builder and Token.Builder
  • Remove deprecated Period, Policy and Policies methods from AppRole in favor of Token-prefixed versions
  • Remove deprecated SecretResponse#getValue() method, use get("value") instead
  • Remove deprecated convenience methods for interaction with "secret" mount (#53)

Improvements

  • Use pre-sized map objects for fixed-size payloads
  • Remove Apache HTTP Client dependency in favor of Java 11 HTTP (#44) (#47)
  • Introduce Java module descriptor (#55)

Test

  • Tested against Vault 1.8.3

v0.9.5

28 Jul 17:50
v0.9.5
Compare
Choose a tag to compare

Deprecations

  • Deprecate {read,write,delete}Secret() convenience methods. Use {read,write,delete}("secret/...") instead (#52)
  • Deprecated builder invocation VaultConnectorBuilder.http() in favor of HTTPVaultConnector.builder() (#51)
  • Deprecated de.stklcode.jvault.connector.builder.HTTPVaultConnectorBuilder in favor of de.stklcode.jvault.connector.HTTPVaultConnectorBuilder (only package changed) (#51)

Old builders will be removed in 1.0

Improvements

  • Minor dependency updates

Test

  • Tested against Vault 1.8.0

v0.9.4

06 Jun 10:31
v0.9.4
Compare
Choose a tag to compare

Deprecations

  • AppRole.Builder#wit0hTokenPeriod() is deprecated in favor of #withTokenPeriod() (#49)

Improvements

  • Minor dependency updates

Test

  • Tested against Vault 1.7.2

v0.9.3

02 Apr 10:03
v0.9.3
Compare
Choose a tag to compare

Improvements

  • Use pre-sized map objects for fixed-size payloads
  • Minor dependency updates
  • Unit test adjustments for JDK 16 build environments

Test

  • Tested against Vault 1.7.0

v0.9.2

09 Mar 17:51
v0.9.2
Compare
Choose a tag to compare

Fixes

  • Only initialize custom trust managers, if CA certificate is actually provided (#43)

Improvements

  • Minor dependency updates

v0.9.1

03 Jan 11:17
v0.9.1
Compare
Choose a tag to compare

Improvements

  • Dependency updates

Test

  • Tested against Vault 1.6.1

v0.9.0

29 Apr 15:28
v0.9.0
Compare
Choose a tag to compare

Fixes

  • Correctly parse Map field for token metadata (#34)
  • Correctly map token policies on token lookup (#35)

Features

  • Support for token types (#26)
  • Support for token role handling (#27) (#37)

Improvements

  • Added entity_id, token_policies, token_type and orphan flags to auth response
  • Added entity_id, expire_time, explicit_max_ttl, issue_time, renewable and type flags to token data
  • Added explicit_max_ttl, period and entity_alias flags to Token model (#41)
  • Added enable_local_secret_ids, token_bound_cidrs, token_explicit_max_ttl, token_no_default_policy,
    token_num_uses, token_period and token_type flags to AppRole model
  • Minor dependency updates

Deprecations

  • AppRole#getPolicies() and #setPolicies() are deprecated in favor of #getTokenPolicies() and #setTokenPolicies()
  • AppRole#getPeriod() is deprecated in favor of #getTokenPeriod()
  • AppRoleBuilder and TokenBuilder in favor of AppRole.Builder and Token.Builder
  • All-arg constructors of AppRole and Token in favor of .builder()....build() introduced in 0.8

Removals

  • Deprecated methods AppRole#getBoundCidrList(), #setBoundCidrList() and getBoundCidrListString() have been removed.

Test

  • Tested against Vault 1.4.0

v0.8.2

20 Oct 12:27
Compare
Choose a tag to compare

Fixes

  • Fixed token lookup (#31)

Improvements

  • Updated dependencies

Test

  • Tested against Vault 1.2.3

v0.8.1

16 Aug 18:31
v0.8.1
Compare
Choose a tag to compare

Fixes

  • Removed compile dependency to JUnit library (#30)

Improvements

  • Updated ependencies

Test

  • Tested against Vault 1.2.2