Yafowil.yaml

Latest version: v2.0

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

Scan your dependencies

Page 1 of 3

2.1

----------------

- Nothing changed yet.

2.0

----------------

- Fix parsing of ``builders`` and ``display_renderers`` in custom parts.
[rnix]

- Fix signature of ``yafowil.yaml.tests.test_vocab``. Property callbacks always
gets passed ``widget`` and ``data`` as of yafowil 3.0.0.
[rnix]

- Parse values of attributes (data-Attributes) if type() is dict.
HTML5 Data-Attributes with i18n or callables are possible now.
[2silver]

**Breaking changes:**

- Add ``python:`` expressions. Needed for cases where property callbacks not
accept ``widget`` and ``data`` keyword arguments, e.g. ``datatype``. This is
necessary because ``callable_value`` function in yafowil 3.0 no longer calls
callable without arguments as fallback.
[rnix]

1.3.1

------------------

- Pass ``yaml.SafeLoader`` loader to ``yaml.load`` to prevent arbitrary code
execution.
[rnix]

- Cleanup.
[rnix]

1.3

----------------

- Python 3 compatibility.
[rnix]

- Convert doctests to unittests.
[rnix]

1.2

----------------

- Feature: Support definitions written in JSON too. Since YAML and JSON are
100% comaptible exact the same structure applies.
[jensens, 2014-11-13]

1.1

---

- Widget definitions in yaml may point to other yaml files for form nesting
using ``nest`` property.
[rnix, 2014-07-18]

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.