Django-cast

Latest version: v0.2.32

Safety actively analyzes 627248 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.2.26

Use a web component for the image gallery. Have a proper build pipeline
for the web components Javascript and some tests. Have a working htmx layout
for the gallery. It's still a bit slower compared to the web component, but
it's a start.

- 114 Use web component for image gallery
- Some cleanup regarding javascript paths etc. - using a global cast prefix for example
- 116 Gallery layout using htmx for bootstrap4 and 5 themes

0.2.25

Use the original image if no renditions are generated. Includes now a
management command to sync renditions. Revisited how the renditions are
passed to the template.

- 112 If no renditions are generated, use the original image as the default rendition
- 113 Management command to sync renditions
- Changed tox.ini to include Django 5.0 and removed Django 4.0

0.2.24

Responsive images using the `picture` element and some smaller fixes.

- Make title link to detail and strip dash from date link in bootstrap4
template thanks neingeist
- Re-added the `o` ordering parameter to make it possible to order by
visible date
- Upgraded Python Version for GitHub Actions to 3.12
- 108 Fixed test coverage for `cast/filters.py`
- 109 Responsive images revisited
- picture element and avif format for images
- images now have an `alt` attribute
- using `srcset` in combination with `sizes` attributes for smaller images
- removed `wagtail_srcset` dependency
- 110 Fixed mypy errors by putting a workaround in place

0.2.23

Added Python 3.12 support, dropped Python 3.9 support.

* Workaround for missing comment form error messages 107 (thanks petermeissner)
* Python Version support (+3.12 -3.9) 106
* A little bit more documentation for database restore 56

0.2.22

Resolved a significant bug in theme selection. If you picked a theme
stored in your session, the system would mistakenly apply a pre-selected
theme for HTML fragments rendered through the JSON API. This was due
to the real theme choice not being correctly passed from the JSON API
to the Wagtail page, resulting in a completely dysfunctional Vue theme.

* Bugfix theme selection 105
* Fixed mypy issues by django-stubs update + one small fix 101
* Improved documentation for theme selection 105
* Got rid of ProxyRequest in favor of a simple HtmlField 105
* Fixed searching for name instead of slug when filtering tags 100
* Added a `has_selectable_themes` flag to the context of blog pages to make it easy to decide whether a theme selector can be showed 105

0.2.21

Make it possible to select a new theme on the website and store the selection result in the session.

- Added a snippet viewset to be able to do CRUD on tags via wagtail admin 100
- Let users select a theme for the site and store the choice in the session 105
- Added a new api endpoint to get the list of available themes and update the selected theme 105

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.