Chameleon

Latest version: v4.5.4

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

Scan your dependencies

Page 3 of 19

4.1.0

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

- Boolean attributes (those configured using the optional
`boolean_attributes` parameter) now work with $-expression
interpolation.

Unlike content and regular attributes, a special check for a falsy
value is now done for boolean attributes, such that boolean logic
can be used for interpolation expressions (only a truthy value will
include the attribute).

This reverts a change in behavior introduced in 3.8.0.

Additionally, dynamic attributes now respect the boolean attributes
configuration as well.

4.0.1

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

- Fix format spec applying for f-strings.
(`376 <https://github.com/malthe/chameleon/issues/376>`_)

4.0.0

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

- Drop support for Python 2.7, 3.5, 3.6.

- Add support for set- and dict comprehensions
(`367 <https://github.com/malthe/chameleon/issues/367>`_)

- Remove the following functions resp. modules:

+ ``.utils.text_()``
+ ``.utils.unescape()``
+ ``.compat``

3.10.2

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

- Fix handling of eager compilation with subclassing (e.g. Pyramid integration).

3.10.1

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

- Fix __str__ method of chameleon.exc.TemplateError
(`356 <https://github.com/malthe/chameleon/issues/356>`_)

3.10.0

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

- Make scope class dict-like
(`305 <https://github.com/malthe/chameleon/issues/305>`_)

- Work in FIPS enabled environments
(`345 <https://github.com/malthe/chameleon/issues/345>`_)

- Fix tab handling issue
(`350 <https://github.com/malthe/chameleon/issues/350>`_)

Page 3 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.