Skip to content

Releases: hashicorp/vault-ruby

v0.20.0

04 Feb 18:58

Choose a tag to compare

What's New in v0.20.0

Improvements

  • Added cluster_address field to LeaderStatus response from sys/leader endpoint [GH-204]
  • Updated AppRole set_role documentation to include modern parameters like secret_id_bound_cidrs, token_bound_cidrs, and token_policies [GH-220]
  • Added support for custom mount paths in AppRole authentication via mount: option [GH-292]

Bug Fixes

  • Fixed encode_path incorrectly encoding hyphens (-), which caused 403 errors on Vault 1.15+ [GH-350, GH-343]
  • Fixed FrozenError when loading the gem with OpenSSL 4.0.0+ by removing modification of OpenSSL::SSL::SSLContext::DEFAULT_PARAMS. Modern Ruby (3.1+) already has secure SSL defaults. [GH-366, GH-381]
  • Fixed Vault.logical.read throwing NoMethodError when Vault responds with HTTP 204 (No Content). Now correctly returns nil for empty responses. [GH-241]

v0.19.0

03 Dec 19:45

Choose a tag to compare

What's Changed

  • Add patch_metadata method to kv api by @hortoncd in #277
  • defaults: add support for a token file environment variable by @matiasbertani in #291
  • Set minimum ruby version to 3.1 by @nevans in #352
  • Use upstream net-http-persistent, connection_pool (un-vendored) by @nevans in #345
  • Replace deprecated JSON.fast_generate by @nevans in #349
  • http client's shutdown should be lock-protected by @fxposter in #329

Full Changelog: v0.18.2...v0.19.0