Chameleon

Latest version: v4.6.0

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

Scan your dependencies

Page 2 of 19

4.4.4

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

- Fix a PyPy compatibility issue having to do with determining the set
of versions when some packages (e.g. `cffi`) would not carry a
version.

4.4.3

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

- Remove `zope.interface`.

- Fix an issue where `auto_reload` is enabled and a file is loaded
from a package that wasn't zip-compressed.
(`402 <https://github.com/malthe/chameleon/issues/402>`_)

4.4.2

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

- Fix brown bag release.

4.4.1

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

- Fix brown bag release.

4.4.0

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

- Add optional parameter ``package_name`` which allows loading a
template relative to a package.

- Drop support for Python 3.7.

- Fix regression where Chameleon would not load templates correctly on
Windows.

- Fix names of dependencies for ``importlib_resources`` and
``importlib_metadata``.
(`394 <https://github.com/malthe/chameleon/pull/394>`_)

4.3.0

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

- Local variable scope is now iterable, completing dict interface.
(`390 <https://github.com/malthe/chameleon/pull/390>`_)

- Minor optimizations to rendering logic.

- Implicit translation now provides the translation context, domain,
and target language to the translation function (if applicable). Previously,
the target language was provided, but this did not respect a change via
`i18n:target`.
(`369 <https://github.com/malthe/chameleon/issues/369>`_)

- Replace ``pkg_resources`` with newer and faster ``importlib.resources`` and
``importlib.metadata``. Just importing ``pkg_resources`` becomes slower and
slower the more packages are installed.

Page 2 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.