Django-idom

Latest version: v3.0.1

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

Scan your dependencies

Page 1 of 3

3.0.0

2. Run `idom update-html-usages <DIR>` to update your `idom.html.*` calls to the new syntax
3. Run `python manage.py migrate` to create the new Django-IDOM database entries

---

Added

- The `idom` client will automatically configure itself to debug mode depending on `settings.py:DEBUG`.
- `use_connection` hook for returning the browser's active `Connection`

Changed

- It is now mandatory to run `manage.py migrate` after installing IDOM.
- Bumped the minimum IDOM version to 1.0.0
- Due to IDOM 1.0.0, `idom.html.*`, HTML properties are now `snake_case` `**kwargs` rather than a `dict` of values.
- You can auto-convert to the new style using `idom update-html-usages <DIR>`.
- The `component` template tag now supports both positional and keyword arguments.
- The `component` template tag now supports non-serializable arguments.
- `IDOM_WS_MAX_RECONNECT_TIMEOUT` setting has been renamed to `IDOM_RECONNECT_MAX`.

Removed

- `django_idom.hooks.use_websocket` has been removed. The similar replacement is `django_idom.hooks.use_connection`.
- `django_idom.types.IdomWebsocket` has been removed. The similar replacement is `django_idom.types.Connection`

Fixed

- `view_to_component` will now retain any HTML that was defined in a `<head>` tag.
- React client is now set to `production` rather than `development`.
- `use_query` will now utilize `field.related_name` when postprocessing many-to-one relationships

Security

- Fixed a potential method of component template tag argument spoofing.
- Exception information will no longer be displayed on the page, based on the value of `settings.py:DEBUG`.

3.0.0a4

- Bump IDOM to `1.0.0a6`

3.0.0a3

- Bump idom to `1.0.0a5`
- Prevent `db_cleanup` from causing startup failure on any `DatabaseError`, rather than just `OperationalError(DatabaseError)`
- `IDOM_DATABASE` setting
- `IDOM_CACHE` setting

3.0.0a2

- Bumps IDOM to `1.0.0a3`

3.0.0a1

This is Django-IDOM's biggest update yet!

To upgrade from previous version you will need to...

2.2.1

Fixed

- Fixed bug where `use_query` would not recursively fetch many-to-one relationships.
- IDOM preloader will now print out the exception stack when failing to import a module.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.