Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.4.0
18.4.1
5 changes: 5 additions & 0 deletions lib/stripe/api_requestor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/stripe/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Stripe
VERSION = "18.4.0"
VERSION = "18.4.1"
end