From aabce2bc2b08e595baf56c8bf63069a2e0ca69e3 Mon Sep 17 00:00:00 2001 From: Chris Arcand Date: Wed, 3 Dec 2025 13:23:49 -0600 Subject: [PATCH] Prep for v0.19.0 --- .github/workflows/run-tests.yml | 2 +- CHANGELOG.md | 25 +++++++++++++++++++++++++ README.md | 6 +++--- lib/vault/version.rb | 2 +- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 746486cd..b450254f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,4 +1,4 @@ -name: hashicorp/vault-ruby/run-tests +name: Tests on: push: branches: diff --git a/CHANGELOG.md b/CHANGELOG.md index af380fed..d5caa04c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ ## v?.??.? (Unreleased) +## v0.19.0 (December 3, 2025) + +BREAKING CHANGES + +- Set minimum Ruby version to 3.1. All EOL Ruby versions are no longer supported. [GH-352] + +IMPROVEMENTS + +- Upgraded vendored `net-http-persistent` from 3.0.0 to upstream gem 4.0.2+, which includes: + - Fixes compatibility with `connection-pool` 2.4 + - Supports TLS min/max and IPv6 + - Fixes a memory leak in connection pooling + - Many bugfixes [GH-345] +- Upgraded vendored `connection-pool` from 2.2.0 to upstream gem 2.4+, which includes: + - Fixes argument forwarding for Ruby 2.7+ + - Automatically drops all connections after fork [GH-345] +- Added dependency on `base64` gem for Ruby 3.4 compatibility [GH-352] +- Added Ruby 3.3 and 3.4 to CI matrix [GH-352] +- Added modern Vault versions (1.16, 1.19, 1.20, 1.21) to CI matrix [GH-352] +- Replaced deprecated `JSON.fast_generate` with `JSON.generate` [GH-349] + +BUG FIXES + +- Fixed HTTP client shutdown to be lock-protected, ensuring thread-safe access to `@nhp` [GH-329] + ## v0.18.1 (September 14, 2023) BUG FIXES diff --git a/README.md b/README.md index 9aa77869..f5efb1d9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Vault Ruby Client [![Build Status](https://circleci.com/gh/hashicorp/vault-ruby.svg?style=shield)](https://circleci.com/gh/hashicorp/vault-ruby) +Vault Ruby Client [![Build Status](https://github.com/hashicorp/vault-ruby/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/hashicorp/vault-ruby/actions/workflows/run-tests.yml) ================= Vault is the official Ruby client for interacting with [Vault](https://vaultproject.io) by HashiCorp. @@ -9,9 +9,9 @@ Vault Ruby client for the proper documentation.** Quick Start ----------- -Install Ruby 2.0+: [Guide](https://www.ruby-lang.org/en/documentation/installation/). +Install Ruby 3.1+: [Guide](https://www.ruby-lang.org/en/documentation/installation/). -> Please note that as of Vault Ruby version 0.14.0 versions of Ruby prior to 2.0 are no longer supported. +> Please note that as of Vault Ruby version 0.19.0, the minimum required Ruby version is 3.1. All EOL Ruby versions are no longer supported. Install via Rubygems: diff --git a/lib/vault/version.rb b/lib/vault/version.rb index efc413a7..cb89dab3 100644 --- a/lib/vault/version.rb +++ b/lib/vault/version.rb @@ -2,5 +2,5 @@ # SPDX-License-Identifier: MPL-2.0 module Vault - VERSION = "0.18.2" + VERSION = "0.19.0" end