rails-profiler 0.45.0 → 0.45.2
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 +4 -4
- data/CHANGELOG.md +16 -0
- data/app/assets/builds/profiler.js +5 -5
- data/lib/profiler/console_profiler.rb +12 -1
- data/lib/profiler/instrumentation/net_http_instrumentation.rb +28 -10
- data/lib/profiler/instrumentation/pry_instrumentation.rb +19 -0
- data/lib/profiler/railtie.rb +11 -2
- data/lib/profiler/redaction.rb +39 -1
- data/lib/profiler/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e77f6e8c5a2b0148fc9288da73e9c9f464e57e3fadad34df3c5e96b7d8af2de
|
|
4
|
+
data.tar.gz: 6877c02a32028e0c501bf0ac4e0249b91d97c7865b94ccbba9fe497ebfa3eebd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2e27e15a4774ffbf717c7f76e8f6ff8f46001e452e59adfcfdfb9219ec3fd9611e19790ba061c846c964f71a1c1787e3486b3fcdc3e60fe89bbe68244289c9d
|
|
7
|
+
data.tar.gz: a9c1be674583b25ba7a2a6d901b36e76ac188c19be8f219c2a607fe280bb37b77022c3ca91a2b69f5c58508582267613f9e72a8eb004dd6eb645f5dcddc9265b
|
data/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,22 @@ every commit of every tag interval is accounted for one way or the other.
|
|
|
19
19
|
|
|
20
20
|
## [Unreleased]
|
|
21
21
|
|
|
22
|
+
## [0.45.2] - 2026-10-27
|
|
23
|
+
|
|
24
|
+
<!-- stamped -->
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **HTTP capture:** A JSON, NDJSON or form body longer than `max_captured_body_bytes` is now redacted whole and the result cut to the limit, so a large response or request shows its first bytes with sensitive values masked instead of a single `[FILTERED: unparseable ... body]` mask. A body whose whole text is not available (inflation stopped at the limit, a partly read `body_stream`) or that exceeds 8 MiB is masked with a `[FILTERED: truncated ... body, kept N of M bytes, ...]` label that says it was truncated, and only a genuinely invalid JSON keeps the `unparseable` label.
|
|
29
|
+
|
|
30
|
+
## [0.45.1] - 2026-10-27
|
|
31
|
+
|
|
32
|
+
<!-- stamped -->
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **Console:** `rails console` no longer crashes at start with `uninitialized constant Profiler::Railtie::IRB` when the application uses Pry (`pry-rails`), and expressions evaluated in Pry are now profiled like those evaluated in IRB. When both are loaded, each expression is recorded once.
|
|
37
|
+
|
|
22
38
|
## [0.45.0] - 2026-10-27
|
|
23
39
|
|
|
24
40
|
<!-- stamped -->
|