stagehand 3.21.0 → 3.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6323bad966eabb92ea6461cf51513992a9a5ab53a20c2c59a3c926a09db69f58
4
- data.tar.gz: 93e96e355f774540da45305016f480d525d8efd500fa7f72d997591db6460d92
3
+ metadata.gz: f1bc9d8650ee68ad37899e357f32adbcf730548e4cb63adaca651688685c2302
4
+ data.tar.gz: 7c63c466e3c0e3e5e92c619442ad71b418fbaf62195a6442007b26a3508c9311
5
5
  SHA512:
6
- metadata.gz: 2f7d789b0cb10ef1cec433e586e00612c8c2597ee9061369214d116277ad0cac52ff35e0cebb13b96e91398e2e6380354c713479f07384ad64cdd581b8a4e8c2
7
- data.tar.gz: ccb32a0e15484d6ccdd7142cd711734d386a42ee68eaa02f69225f5541df166fcb7e79682dd4c47933de4407588e9688027adb2ce3644daa599305a89ed4146b
6
+ metadata.gz: e3822c93f4a4b53ee6d6657161f867a0b85bd5b7d910ab2067006df59fd2d858123648a1c1615985af5d6514902f21641832c1c2b524288c5c1bf35400ff2fdb
7
+ data.tar.gz: c66b6e2ccea992228eeca8df1de405176c66ce4558de321f652745dab53096d533540d4ba63f56c1f416279b7ce669d8f528771b381566590df1f1e31f5628ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.21.1 (2026-10-23)
4
+
5
+ Full Changelog: [v3.21.0...v3.21.1](https://github.com/browserbase/stagehand-ruby/compare/v3.21.0...v3.21.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **security:** default local-server downloads to [server v3.7.7](https://github.com/browserbase/stagehand/releases/tag/stagehand-server-v3/v3.7.7), which includes Node.js 24.22.1 and Undici 7.30.1 with the October 2026 security fixes. Upgrade the gem and restart applications to download the patched binary into a new gem-versioned cache directory. Explicit `STAGEHAND_SERVER_VERSION` and `STAGEHAND_SEA_BINARY` overrides remain supported; update any override that selects an older server or custom binary separately.
10
+
3
11
  ## 3.21.0 (2026-05-27)
4
12
 
5
13
  Full Changelog: [v3.20.0...v3.21.0](https://github.com/browserbase/stagehand-ruby/compare/v3.20.0...v3.21.0)
@@ -11,6 +11,8 @@ module Stagehand
11
11
  module Local
12
12
  STAGEHAND_REPO = "browserbase/stagehand"
13
13
  DEFAULT_USER_AGENT = "stagehand-ruby/local"
14
+ # Includes the October 2026 Node.js and Undici security fixes.
15
+ DEFAULT_SERVER_VERSION = "stagehand-server-v3/v3.7.7"
14
16
  DEFAULT_HOST = "127.0.0.1"
15
17
  DEFAULT_READY_TIMEOUT_S = 30.0
16
18
  DOWNLOAD_TIMEOUT_S = 600
@@ -101,7 +103,7 @@ module Stagehand
101
103
  return ensure_executable(cache_path) if File.file?(cache_path)
102
104
 
103
105
  version = ENV["STAGEHAND_SERVER_VERSION"].to_s
104
- version = "latest" if version.empty?
106
+ version = DEFAULT_SERVER_VERSION if version.empty?
105
107
  tag = resolve_version(version)
106
108
  download_binary(tag, cache_path)
107
109
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stagehand
4
- VERSION = "3.21.0"
4
+ VERSION = "3.21.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stagehand
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.21.0
4
+ version: 3.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stagehand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-29 00:00:00.000000000 Z
11
+ date: 2026-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi