Django-idom

Latest version: v3.0.1

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

Scan your dependencies

Page 3 of 3

1.0.0

Added

- Django-specific hooks! `use_websocket`, `use_scope`, and `use_location` are now available within the `django_idom.hooks` module.
- Documentation has been placed into a formal docs webpage.
- Logging for when a component fails to import, or if no components were found within Django.

Changed

- `idom_component` template tag has been renamed to `component`
- Bumped the minimum IDOM version to 0.38.0

Removed

- `websocket` parameter for components has been removed. Functionally, it is replaced with `django_idom.hooks.use_websocket`.

0.0.5

Changed

- Bumped the minimum IDOM version to 0.37.2

Fixed

- ModuleNotFoundError: No module named `idom.core.proto` caused by IDOM 0.37.2

0.0.4

Changed

- Bumped the minimum IDOM client version to 0.37.1

0.0.3

Changed

- Bumped the minimum IDOM client version to 0.36.3

0.0.2

Added

- Ability to declare the HTML class of the top-level component `div`
- `name = ...` parameter to IDOM HTTP paths for use with `django.urls.reverse()`
- Cache versioning to automatically invalidate old web module files from the cache backend
- Automatic pre-population of the IDOM component registry
- Type hinting for `IdomWebsocket`

Changed

- Fetching web modules from disk and/or cache is now fully async
- Static files are now contained within a `django_idom/` parent folder
- Upgraded IDOM to version `0.36.0`
- Minimum Django version required is now `4.0`
- Minimum Python version required is now `3.8`

Removed

- `IDOM_WEB_MODULES_PATH` has been replaced with Django `include(...)`
- `IDOM_WS_MAX_RECONNECT_DELAY` has been renamed to `IDOM_WS_MAX_RECONNECT_TIMEOUT`
- `idom_web_modules` cache backend has been renamed to `idom`

Fixed

- Increase test timeout values to prevent false positives
- Windows compatibility for building Django-IDOM

Security

- Fixed potential directory travesal attack on the IDOM web modules URL

0.0.1

Not secure
Initial release of `django-idom`

`django-idom` allows Django to integrate with [IDOM](https://github.com/idom-team/idom),
a package inspired by [ReactJS](https://reactjs.org/) for creating responsive web
interfaces in pure Python.

The initial release contains all the basic features requires to install IDOM into existing Django applications using the `INSTALLED_APPS` list and some other basic configurations that are describe in more detail within the README.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.