Iommi

Latest version: v7.2.0

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

Scan your dependencies

Page 7 of 15

5.0.0

~~~~~~~~~~~~~~~~~~

* Dependencies tri.declarative and tri.struct are merged into iommi and are thus no longer required. You should remove them from your project and fix your imports to only import from iommi if you had imports from `tri_struct` or `tri_declarative`.

* Fixes for how style definitions are merged. This fixes an issue where select2 wasn't used properly in table filters.

* Refurbished priority for settings on refinable objects. E.g style settings can now overwrite things declared by
shortcuts.

* Fixed paginator and select2/choice/radio control when django is configured to use thousands separator

* Drop Field parameters `choice_to_option` and `empty_choice_tuple`

* Drop `Style` parameter `assets`. Assets parameters now strictly go in `root__assets`

* Silenced deprecation warning from Django for app configs

* Improved error messages

* Workaround for crash deep in pytest internals when using synthetic traceback

* Separate `Form.edit` from `auto__` machinery

* Introduced new decorator `with_defaults` for giving parameters in shortcuts in a more natural way.

* Introduced new decorator `superinvoking_classmethod` to enable a classmethod to call a base class implementation
with the same name. Useful when declaring more specific shortcuts when customizing using inheritance.

4.7.0

~~~~~~~~~~~~~~~~~~

* Improved exceptions: you now get an exception frame that points to the declaration if you use the declarative style. This makes it much easier to know what code is responsible for a crash.

* Fixed CSV rendering endpoint and added an example for it

* `EditTable` is no longer experimental!

* Fix rendering of choices in filter select widgets from CharField with choices

* Bulk editing: fields should be default None, even if the model has a default value

* Fixed rendering of disabled checkbox

4.6.0

~~~~~~~~~~~~~~~~~~

* Chinese translation

* Base style no longer includes the select2 assets

* h_tag should be possible to set to None and to set include=False

* Fixed default handling for get_sql_debug

* Fixed issue where you couldn't set non-editable input tag to 'input'

* Fix auto rowspan. It was broken if you did multiple bind() on the same object

* Live edit improvements: Handle slower pages MUCH better, and editing of classes works

* Fixed styling for non-editable select2

4.5.1

~~~~~~~~~~~~~~~~~~

* Minor fix for SQL tracing when function names could not be retrieved

4.5.0

~~~~~~~~~~~~~~~~~~

* Path decoding feature added. See https://docs.iommi.rocks/en/latest/path.html

* New style: `bootstrap5`. Thanks to Nigel Metheringham!

* Expose `perform_dispatch` for legacy FBVs. See https://docs.iommi.rocks/en/latest/legacy_fbv.html for how to use it.

* Forms: Some asserts to make `redirect`/`redirect_to` more fool proof

* Forms: A little check to make setting `search_fields` on a `Field` more fool proof

4.4.0

~~~~~~~~~~~~~~~~~~

* Send full state of current form when doing ajax select2 callback, enabling more advanced filtering

* Fixed bug where `auto__include=['fk__charfield']` crashes

* Fixed bug where style application on an object only had an effect on the child objects

* `Form.delete` will now show a nice error message if the object can't be deleted due to restricted rows

* `EditTable`: Add row feature added

* `EditTable`: Delete row feature added

* `EditTable`: `field` on an `EditColumn` now match the behavior of `field` for a normal `Form`

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.