rails-profiler 0.44.21 → 0.44.24

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: 4e8274bd0fb2cb58fdfd37a2e93aecd9097b76700926326862373201a5ffb806
4
- data.tar.gz: 6e639fb12156b9ae0729a64ffbb62f40611484b8e7258503f1e44a9021a7472d
3
+ metadata.gz: 1729fcad234995351945e11bd293601f63841d946c14e6e2fbc95f30f9caf2f6
4
+ data.tar.gz: b823de0bc5c361f1ca33bd11e9f971f44dde64db2edaf893041a94def6afd21e
5
5
  SHA512:
6
- metadata.gz: 80093b790074db0100eff63bb0b795d010dd40dc885c1ed44b3d7009b6717223faf648e5ef3903181897dbc4a15b958ff11777381faf26e601bb748d54923ebe
7
- data.tar.gz: 8b219ed177c7427e2d0c4750652c1403f49e37205779ac486aa3c931d3e952f3501003bd0578c1c49f4111573b9491a023418776327847c7664578376677b72e
6
+ metadata.gz: 9f91e65367aa8085f1c000b8c7430683adaceb4a428cf7a136cdb599495fee5a0868df4f94bfab6398b564ad9e4c0b27059ca2940cc19f9fc79ff4f96e9386d4
7
+ data.tar.gz: 89e7752d3d1a346469c12ea74d1545e7c7f239a98a2b542892b3cb3962ac1b42584577f3b9aebdcc3610e16e23b4272336d42509803b01197ffa344cbe2304b9
data/CHANGELOG.md CHANGED
@@ -19,6 +19,37 @@ every commit of every tag interval is accounted for one way or the other.
19
19
 
20
20
  ## [Unreleased]
21
21
 
22
+ ## [0.44.24] - 2026-10-26
23
+
24
+ <!-- stamped -->
25
+
26
+ ### Security
27
+
28
+ - **Secrets:** Refuse cluster secrets and peer tokens surrounded by spaces or newlines at boot, which break HTTP requests. `trailing` newlines cause `ArgumentError` in `Net::HTTP` and trailing spaces cause systematic 403 errors. Refs #74
29
+ - **Redaction:** Mask `peer_token` by value in captured data (headers, bodies, params) alongside `cluster_secret`, preventing credential leakage across profiles and logs. Refs #74. A secret or token padded with spaces stays masked.
30
+ - **Secrets:** A padded `cluster_secret` stays required (still refused) when `cluster_require_secret = false`, instead of silently disabling authentication. Refs #74
31
+ - **Environment:** Protect additional environment variables from override via the Env tab and MCP tools: `LOCALDOMAIN`, `RES_OPTIONS`, `HOSTALIASES`, `NODE_EXTRA_CA_CERTS` and `TMPDIR`. These variables control hostname resolution and certificate store location. Refs #74
32
+ - **CORS:** Warn at boot when `cors_allowed_origins` contains wildcard `"*"`, which allows any website to access the profiler if a visitor browses it. Recommend using specific origins instead. Refs #74
33
+
34
+ ## [0.44.23] - 2026-10-25
35
+
36
+ <!-- stamped -->
37
+
38
+ ### Fixed
39
+
40
+ - **MCP:** `get_profile` and `get_profile_http` tools no longer crash when rendering in-flight HTTP requests with `nil` duration, safely converting to 0.0ms for comparison and display, and a `nil` status is shown as an error.
41
+ - **Cluster:** `SlaveProxy#request` now catches `SocketError`, `SystemCallError`, `Net::OpenTimeout`, `Net::ReadTimeout`, `OpenSSL::SSL::SSLError` and `IOError` and re-raises a `Profiler::Error` naming the slave, so a tool reading from an unreachable slave gets a normal error response instead of an internal `json-rpc` failure (matching `Peers::PeerProxy#get_json`).
42
+ - **Tasks:** `rake profiler:mcp` now defaults to `:stdio` transport instead of configuration-dependent behavior, aligning with the documented interface; `MCP_TRANSPORT` environment variable still overrides.
43
+
44
+ ## [0.44.22] - 2026-10-25
45
+
46
+ <!-- stamped -->
47
+
48
+ ### Fixed
49
+
50
+ - **Test Runner:** test output now streams to the browser in real time instead of waiting for 256 bytes to accumulate.
51
+ - **Test Runner:** a rejected SSE stream (e.g. a 404 on the fallback poll) no longer leaves the page blank; the response is validated before replacing the current run.
52
+
22
53
  ## [0.44.21] - 2026-10-25
23
54
 
24
55
  <!-- stamped -->