From 5b1fc8f3ff809e132781a2d36b7b69fa80e15b5d Mon Sep 17 00:00:00 2001 From: David Brownman <109395161+xavdid-stripe@users.noreply.github.com> Date: Fri, 6 Mar 2026 12:24:22 -0800 Subject: [PATCH 1/2] add new agent keys (#1807) --- lib/stripe/api_requestor.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/stripe/api_requestor.rb b/lib/stripe/api_requestor.rb index b67c11d82..cf375dc5f 100644 --- a/lib/stripe/api_requestor.rb +++ b/lib/stripe/api_requestor.rb @@ -1093,13 +1093,18 @@ def self.uname_from_system_ver end AI_AGENTS = [ + # aiAgents: The beginning of the section generated from our OpenAPI spec %w[ANTIGRAVITY_CLI_ALIAS antigravity], %w[CLAUDECODE claude_code], %w[CLINE_ACTIVE cline], %w[CODEX_SANDBOX codex_cli], + %w[CODEX_THREAD_ID codex_cli], + %w[CODEX_SANDBOX_NETWORK_DISABLED codex_cli], + %w[CODEX_CI codex_cli], %w[CURSOR_AGENT cursor], %w[GEMINI_CLI gemini_cli], %w[OPENCODE open_code], + # aiAgents: The end of the section generated from our OpenAPI spec ].freeze def self.detect_ai_agent(env = ENV) From 1a8a9f0306d881e6d1cc8b1569a1082c03440179 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Fri, 6 Mar 2026 14:52:46 -0800 Subject: [PATCH 2/2] Bump version to 18.4.1 --- CHANGELOG.md | 4 ++++ VERSION | 2 +- lib/stripe/version.rb | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86fe2a9bb..2d1eb74f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## 18.4.1 - 2026-03-06 +* [#1805](https://github.com/stripe/stripe-ruby/pull/1805) Add Stripe-Request-Trigger header +* [#1803](https://github.com/stripe/stripe-ruby/pull/1803) Add agent information to UserAgent + ## 18.4.0 - 2026-02-25 This release changes the pinned API version to `2026-02-25.clover`. diff --git a/VERSION b/VERSION index 5b9720f0a..de473bd69 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -18.4.0 +18.4.1 diff --git a/lib/stripe/version.rb b/lib/stripe/version.rb index 9568724b1..b3da947d9 100644 --- a/lib/stripe/version.rb +++ b/lib/stripe/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Stripe - VERSION = "18.4.0" + VERSION = "18.4.1" end