From 61018ccfb35b5de7d4a41c4872d6eab34e516e6c Mon Sep 17 00:00:00 2001 From: wuyangfan Date: Mon, 25 May 2026 11:02:18 +0800 Subject: [PATCH] docs: note removal of MaxJsonResponseSize setting Document that the legacy MaxJsonResponseSize setting was removed with MiniProfiler.Settings and has no direct MiniProfilerOptions replacement. Fixes #677 Co-authored-by: Cursor --- docs/HowTo/UpgradeFromV3.md | 3 +++ docs/Releases.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/HowTo/UpgradeFromV3.md b/docs/HowTo/UpgradeFromV3.md index f5abe7793..9766da044 100644 --- a/docs/HowTo/UpgradeFromV3.md +++ b/docs/HowTo/UpgradeFromV3.md @@ -36,3 +36,6 @@ MiniProfiler V4 has major breaking changes in layout compared to V3 due to needi * `MiniProfilerExtensions.Step(this MiniProfiler profiler, string name, ProfileLevel level)` * `MiniProfiler.Stop()` (now an instance method: `MiniProfiler.Current?.Stop()`) * UI templating has been removed. While Stylesheets and the `.tmpl` are still replaceable, the `share` and `includes` templates are now much more optimized code. Given the very few people customizing these (was anyone using those pieces?), they certainly weren't worth the performance tradeoffs. If there's a loud demand for them to come back, we'll find a more efficient way to do it. + +#### Settings Removed After V4 +* `MiniProfiler.Settings.MaxJsonResponseSize` — removed with the legacy settings API. Profiler JSON is no longer truncated server-side; there is no direct replacement on `MiniProfilerOptions`. diff --git a/docs/Releases.md b/docs/Releases.md index 0bf084300..7f26c6281 100644 --- a/docs/Releases.md +++ b/docs/Releases.md @@ -6,7 +6,8 @@ layout: "default" This page tracks major changes included in any update starting with version 4.0.0.3 #### Unreleased -No pending unreleased changes. +- **Removed**: + - `MiniProfiler.Settings.MaxJsonResponseSize` was removed with the legacy `MiniProfiler.Settings` API. JSON responses are no longer truncated server-side; use storage/backend limits or client-side handling if large profiler payloads are a concern ([#677](https://github.com/MiniProfiler/dotnet/issues/677)). #### Version 4.5.4 - **New**: