plain.htmx 0.11.0__py3-none-any.whl → 0.11.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.
plain/htmx/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # plain-htmx changelog
2
2
 
3
+ ## [0.11.1](https://github.com/dropseed/plain/releases/plain-htmx@0.11.1) (2025-10-31)
4
+
5
+ ### What's changed
6
+
7
+ - Added CSP nonce support to all htmx script tags for improved Content Security Policy compatibility ([10f642a](https://github.com/dropseed/plain/commit/10f642a097))
8
+
9
+ ### Upgrade instructions
10
+
11
+ - No changes required
12
+
3
13
  ## [0.11.0](https://github.com/dropseed/plain/releases/plain-htmx@0.11.0) (2025-10-29)
4
14
 
5
15
  ### What's changed
@@ -1,18 +1,18 @@
1
1
  {%- if DEBUG -%}
2
- <script src="{{ asset('htmx/vendor/src/htmx.js') }}" defer></script>
2
+ <script src="{{ asset('htmx/vendor/src/htmx.js') }}" defer nonce="{{ csp_nonce }}"></script>
3
3
  {%- else -%}
4
- <script src="{{ asset('htmx/vendor/src/htmx.min.js') }}" defer></script>
4
+ <script src="{{ asset('htmx/vendor/src/htmx.min.js') }}" defer nonce="{{ csp_nonce }}"></script>
5
5
  {%- endif -%}
6
6
 
7
7
  {%- if DEBUG -%}
8
- <script src="{{ asset('htmx/vendor/idiomorph/idiomorph.js') }}" defer></script>
8
+ <script src="{{ asset('htmx/vendor/idiomorph/idiomorph.js') }}" defer nonce="{{ csp_nonce }}"></script>
9
9
  {%- else -%}
10
- <script src="{{ asset('htmx/vendor/idiomorph/idiomorph.min.js') }}" defer></script>
10
+ <script src="{{ asset('htmx/vendor/idiomorph/idiomorph.min.js') }}" defer nonce="{{ csp_nonce }}"></script>
11
11
  {%- endif -%}
12
- <script src="{{ asset('htmx/vendor/idiomorph/idiomorph-htmx.js') }}" defer></script>
12
+ <script src="{{ asset('htmx/vendor/idiomorph/idiomorph-htmx.js') }}" defer nonce="{{ csp_nonce }}"></script>
13
13
 
14
14
  {%- for extension in extensions -%}
15
- <script src="{{ asset('htmx/vendor/src/ext/' ~ extension ~ '.js') }}" defer></script>
15
+ <script src="{{ asset('htmx/vendor/src/ext/' ~ extension ~ '.js') }}" defer nonce="{{ csp_nonce }}"></script>
16
16
  {%- endfor -%}
17
17
 
18
- <script src="{{ asset('htmx/plainhtmx.js') }}" defer data-csp-nonce="{{ csp_nonce }}"></script>
18
+ <script src="{{ asset('htmx/plainhtmx.js') }}" defer nonce="{{ csp_nonce }}" data-csp-nonce="{{ csp_nonce }}"></script>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.htmx
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: Integrate HTMX with templates and views.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- plain/htmx/CHANGELOG.md,sha256=RVR38ExgmwEVq8GqsZzggsTIN0zd4O095obt0g3z_so,2830
1
+ plain/htmx/CHANGELOG.md,sha256=dHCuLFXDG7xJYRUmB5v1P1b6iZvQt1LvKnIZuqOoCd0,3154
2
2
  plain/htmx/README.md,sha256=C9H_66JD9tykCiTbKjZFAzX7MkVrym58wsEaA1wjxqY,12690
3
3
  plain/htmx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  plain/htmx/templates.py,sha256=NUAubXV_FR3RDTbokof4TEwZocDStR6hk-YJR3HFAhI,6595
@@ -43,8 +43,8 @@ plain/htmx/assets/htmx/vendor/src/ext/response-targets.js,sha256=TYKCHq9lyFGnL6u
43
43
  plain/htmx/assets/htmx/vendor/src/ext/restored.js,sha256=0td3Ga2ZIcVdFKJm6FoCXTm245EVOqQtfJ9Y5ry2Agw,874
44
44
  plain/htmx/assets/htmx/vendor/src/ext/sse.js,sha256=ju2N9N81ASa-ncT6JJbm65iQ4y9iAqKXRuPDwOcATBM,10320
45
45
  plain/htmx/assets/htmx/vendor/src/ext/ws.js,sha256=KMVp1yOrFb6ncZUprsnN3OPRpmV9GG0YBuLSW1wekMc,13899
46
- plain/htmx/templates/htmx/js.html,sha256=ZHD4IjufD4tTUZB_TEDCACgZwXBzYDHJa7PmfQcJeOg,715
47
- plain_htmx-0.11.0.dist-info/METADATA,sha256=-yzxTILvGDFDNq2Y73ETcpU6QRvBF6depPovxaHRxdQ,12999
48
- plain_htmx-0.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
49
- plain_htmx-0.11.0.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
50
- plain_htmx-0.11.0.dist-info/RECORD,,
46
+ plain/htmx/templates/htmx/js.html,sha256=4G-EW1NWhqzXVtgND5rqkOmwgCO8XEGfvJTw4gy_BSA,883
47
+ plain_htmx-0.11.1.dist-info/METADATA,sha256=8fofO14AXHMzYy1uWyO5fiDCwRwh2aYu-IkGZOMG6jU,12999
48
+ plain_htmx-0.11.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
49
+ plain_htmx-0.11.1.dist-info/licenses/LICENSE,sha256=cvKM3OlqHx3ijD6e34zsSUkPvzl-ya3Dd63A6EHL94U,1500
50
+ plain_htmx-0.11.1.dist-info/RECORD,,