plain.observer 0.10.0__py3-none-any.whl → 0.10.1__py3-none-any.whl
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.
Potentially problematic release.
This version of plain.observer might be problematic. Click here for more details.
- plain/observer/CHANGELOG.md +10 -0
- plain/observer/views.py +2 -2
- {plain_observer-0.10.0.dist-info → plain_observer-0.10.1.dist-info}/METADATA +1 -1
- {plain_observer-0.10.0.dist-info → plain_observer-0.10.1.dist-info}/RECORD +6 -6
- {plain_observer-0.10.0.dist-info → plain_observer-0.10.1.dist-info}/WHEEL +0 -0
- {plain_observer-0.10.0.dist-info → plain_observer-0.10.1.dist-info}/licenses/LICENSE +0 -0
plain/observer/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.1](https://github.com/dropseed/plain/releases/plain-observer@0.10.1) (2025-10-08)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Fixed content negotiation priority in trace detail and shared views to prefer HTML over JSON by default ([00212835aa](https://github.com/dropseed/plain/commit/00212835aa))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
3
13
|
## [0.10.0](https://github.com/dropseed/plain/releases/plain-observer@0.10.0) (2025-10-07)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
plain/observer/views.py
CHANGED
|
@@ -95,7 +95,7 @@ class ObserverTraceDetailView(AuthViewMixin, HTMXViewMixin, DetailView):
|
|
|
95
95
|
|
|
96
96
|
def get(self) -> Response | dict[str, Any]:
|
|
97
97
|
"""Return trace data as HTML, JSON, or logs based on content negotiation."""
|
|
98
|
-
preferred = self.request.get_preferred_type("
|
|
98
|
+
preferred = self.request.get_preferred_type("text/html", "application/json")
|
|
99
99
|
if (
|
|
100
100
|
preferred == "application/json"
|
|
101
101
|
or self.request.query_params.get("format") == "json"
|
|
@@ -152,7 +152,7 @@ class ObserverTraceSharedView(DetailView):
|
|
|
152
152
|
|
|
153
153
|
def get(self) -> Response:
|
|
154
154
|
"""Return trace data as HTML or JSON based on content negotiation."""
|
|
155
|
-
preferred = self.request.get_preferred_type("
|
|
155
|
+
preferred = self.request.get_preferred_type("text/html", "application/json")
|
|
156
156
|
if (
|
|
157
157
|
preferred == "application/json"
|
|
158
158
|
or self.request.query_params.get("format") == "json"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
plain/observer/CHANGELOG.md,sha256=
|
|
1
|
+
plain/observer/CHANGELOG.md,sha256=IXLAThjkA3UlFLMgIn0lei4Q_VFwxDjbC2Pl2xyW9pU,13178
|
|
2
2
|
plain/observer/README.md,sha256=39RA17fgcyOkqeIWBOAg4Be6YZjoiDzK5PVOG-nseuY,988
|
|
3
3
|
plain/observer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
plain/observer/admin.py,sha256=mSwJWfA9svhjZCzwqjD82Fv_iV9iENUtUiefV1s3lSE,3590
|
|
@@ -11,7 +11,7 @@ plain/observer/models.py,sha256=6hyPAjK-Uq24n-2TkN0eHW8xcDIMUprMAFMY6rlLXiI,1836
|
|
|
11
11
|
plain/observer/otel.py,sha256=9srHheffXhw8EX8MLAHNZO56lEtSHn51wKPkwYKtnh4,17566
|
|
12
12
|
plain/observer/toolbar.py,sha256=VZlMC2UJH0NfIh_AOWOQ18G9Ix-TZ4IivmkkHh8ndxw,707
|
|
13
13
|
plain/observer/urls.py,sha256=oLJoDjB7YMUx8z-MGql_xXSXkfacVKFp-aHNXaKzs38,376
|
|
14
|
-
plain/observer/views.py,sha256=
|
|
14
|
+
plain/observer/views.py,sha256=y7z0Q9g0n3D78e3bG1XUu258loi-EL3uRIcUeQKyRbI,5385
|
|
15
15
|
plain/observer/migrations/0001_initial.py,sha256=HVoSrd5V-IOqD1adADIAzqMH8xMlPwyLOFH6JcGFniI,3312
|
|
16
16
|
plain/observer/migrations/0002_trace_share_created_at_trace_share_id_trace_summary_and_more.py,sha256=lgFqdn66zq7AoCvkC3MIvLXiE_Omup5EEMDSe1jpKOg,1765
|
|
17
17
|
plain/observer/migrations/0003_span_plainobserv_span_id_e7ade3_idx.py,sha256=54G8GXi-PiFbcTU-HrXO14UN9PxhjDCY05TA9HHkkmk,527
|
|
@@ -27,7 +27,7 @@ plain/observer/templates/observer/partials/log.html,sha256=Vpp0j-GLBfwTBFyZp_cv0
|
|
|
27
27
|
plain/observer/templates/observer/partials/span.html,sha256=PaWZONsABwlS7mdKsJlYbhMSOzidq_WyOp6ifvFUgmM,18672
|
|
28
28
|
plain/observer/templates/toolbar/observer.html,sha256=uaDKiWR7EYqC1kEXE-uHDlE7nfFEMR_zmOgvlKwQHJ4,1365
|
|
29
29
|
plain/observer/templates/toolbar/observer_button.html,sha256=FMBJHKMGqpHWs-3Ei2PBCdVYZ_6vFw6-eKH_i4jQu-Q,1215
|
|
30
|
-
plain_observer-0.10.
|
|
31
|
-
plain_observer-0.10.
|
|
32
|
-
plain_observer-0.10.
|
|
33
|
-
plain_observer-0.10.
|
|
30
|
+
plain_observer-0.10.1.dist-info/METADATA,sha256=1abBSTaSWHc3pJe1N84Z2HDU2CNYs_CYT3lK0YzIKrc,1387
|
|
31
|
+
plain_observer-0.10.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
32
|
+
plain_observer-0.10.1.dist-info/licenses/LICENSE,sha256=YZdq6Pz8ivjs97eSVLRmoGDI1hjEikX6N49DfM0DWio,1500
|
|
33
|
+
plain_observer-0.10.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|