plain.observer 0.7.0__py3-none-any.whl → 0.8.0__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 +14 -0
- plain/observer/toolbar.py +4 -4
- {plain_observer-0.7.0.dist-info → plain_observer-0.8.0.dist-info}/METADATA +1 -1
- {plain_observer-0.7.0.dist-info → plain_observer-0.8.0.dist-info}/RECORD +6 -6
- {plain_observer-0.7.0.dist-info → plain_observer-0.8.0.dist-info}/WHEEL +0 -0
- {plain_observer-0.7.0.dist-info → plain_observer-0.8.0.dist-info}/licenses/LICENSE +0 -0
plain/observer/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.0](https://github.com/dropseed/plain/releases/plain-observer@0.8.0) (2025-09-30)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- The toolbar panel class has been renamed from `ToolbarPanel` to `ToolbarItem` for better clarity and consistency ([79654db](https://github.com/dropseed/plain/commit/79654db))
|
|
8
|
+
- The `template_name` attribute has been renamed to `panel_template_name` in toolbar items ([79654db](https://github.com/dropseed/plain/commit/79654db))
|
|
9
|
+
- The registration decorator has been renamed from `register_toolbar_panel` to `register_toolbar_item` ([79654db](https://github.com/dropseed/plain/commit/79654db))
|
|
10
|
+
|
|
11
|
+
### Upgrade instructions
|
|
12
|
+
|
|
13
|
+
- If you have custom toolbar panels, rename your class from inheriting `ToolbarPanel` to `ToolbarItem`
|
|
14
|
+
- If you use the `template_name` attribute in your toolbar items, rename it to `panel_template_name`
|
|
15
|
+
- If you use the `@register_toolbar_panel` decorator, change it to `@register_toolbar_item`
|
|
16
|
+
|
|
3
17
|
## [0.7.0](https://github.com/dropseed/plain/releases/plain-observer@0.7.0) (2025-09-12)
|
|
4
18
|
|
|
5
19
|
### What's changed
|
plain/observer/toolbar.py
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from functools import cached_property
|
|
2
2
|
|
|
3
|
-
from plain.toolbar import
|
|
3
|
+
from plain.toolbar import ToolbarItem, register_toolbar_item
|
|
4
4
|
|
|
5
5
|
from .core import Observer
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
@
|
|
9
|
-
class
|
|
8
|
+
@register_toolbar_item
|
|
9
|
+
class ObserverToolbarItem(ToolbarItem):
|
|
10
10
|
name = "Observer"
|
|
11
|
-
|
|
11
|
+
panel_template_name = "toolbar/observer.html"
|
|
12
12
|
button_template_name = "toolbar/observer_button.html"
|
|
13
13
|
|
|
14
14
|
@cached_property
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
plain/observer/CHANGELOG.md,sha256=
|
|
1
|
+
plain/observer/CHANGELOG.md,sha256=UuA2X1ZQ6Hm2SUdL8wBWXIELnIThcqd_I3NjuYO8mDE,11124
|
|
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=EDpi_6oszXd_wVeD0pSo85FQ1-yNP6W01yWwe3gmX7A,3383
|
|
@@ -9,7 +9,7 @@ plain/observer/default_settings.py,sha256=JN2jT2wfa6f80EqU0p4Ox_47xyxL-Ym5-_pftY
|
|
|
9
9
|
plain/observer/logging.py,sha256=5_fcmUE0x2lg7968V4lhduaTbRLCr8w-ooRFo9BC1ms,2795
|
|
10
10
|
plain/observer/models.py,sha256=eri5KiZR-4HI3uFr4c2-YRhP_HOXFAE_LcHFVpYEGrk,17094
|
|
11
11
|
plain/observer/otel.py,sha256=Qz_2tPlodXp4iL2gspzOdVqBrEmvsmUcI7XN1oWYYGA,16156
|
|
12
|
-
plain/observer/toolbar.py,sha256=
|
|
12
|
+
plain/observer/toolbar.py,sha256=U9ZS8nhCYNdUjYJ6AF9WB6aYhIC3-ffCudXieOcVbzU,618
|
|
13
13
|
plain/observer/urls.py,sha256=oLJoDjB7YMUx8z-MGql_xXSXkfacVKFp-aHNXaKzs38,376
|
|
14
14
|
plain/observer/views.py,sha256=3__2UuSFEVQZVgh_wOIE_AknsdnZd8qzkQB8SgCraXc,4947
|
|
15
15
|
plain/observer/migrations/0001_initial.py,sha256=HVoSrd5V-IOqD1adADIAzqMH8xMlPwyLOFH6JcGFniI,3312
|
|
@@ -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.
|
|
31
|
-
plain_observer-0.
|
|
32
|
-
plain_observer-0.
|
|
33
|
-
plain_observer-0.
|
|
30
|
+
plain_observer-0.8.0.dist-info/METADATA,sha256=FJyO-MjrZVUmDix7oEGoXmaCpPFXc4iTk24Xam_8glw,1386
|
|
31
|
+
plain_observer-0.8.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
32
|
+
plain_observer-0.8.0.dist-info/licenses/LICENSE,sha256=YZdq6Pz8ivjs97eSVLRmoGDI1hjEikX6N49DfM0DWio,1500
|
|
33
|
+
plain_observer-0.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|