Django-ftl

Latest version: v0.12.1

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

Scan your dependencies

0.12

+++++++++++++++++

* Switch to the new APIs available in ``fluent_compiler`` 0.2.
* Performance improvements - large reduction in the percentage overhead
introduced by django-ftl (compared to raw ``fluent_compiler`` performance).
* Undocumented ``MessageFinderBase`` class has changed slightly: its ``load``
method now returns a ``fluent_compiler.resource.FtlResource`` object instead
of a string. If you used a custom ``finder`` for ``Bundle`` you may need to
update it for this change.

0.11

+++++++++++++++++

* Switched to using ``fluent_compiler`` as backend instead of experimental branch
in ``fluent.runtime``. This means **import changes are required**:

* ``fluent_number`` and ``fluent_date``, if you are using them, should be
imported from ``fluent_compiler.types`` instead of ``fluent.runtime.types``

* Added ``Bundle.check_all`` method.
* Django 3.0 support
* Dropped support for Python 3.4 (it may work, but recent versions of lxml
do not install on it, which made running tests harder).

0.10

+++++++++++++++++

* Upgraded to more recent version of fluent.runtime (0.1 with modifications)
* Fixed ``use_isolating`` behavior (BDI characters are now inserted for HTML messages)
* Thread-safety fixes for loading bundles.
* Corrected order of using 'locales' directories found via ``INSTALLED_APPS`` to
be consistent with normal Django convention.

0.9.1

++++++++++++++++++

* Changed development autoreload mechanism to not interfere with Django's
development server autoreload.
* Bug fix for case when invalid mode is specified in template tag.
* Various fixes and improvements to middlewares (plus tests)
* Thread-safe Bundle
* Method for configuring ``ftlmsg`` via context processor.

0.9

++++++++++++++++

* Working version
* Depends on our version of python-fluent

0.0.1

++++++++++++++++++

* First release on PyPI - empty placeholder package


Release process
===============

* Tests, including flake8, isort and check-manifest

* Update HISTORY.rst, removing "(in development)"

* Update the version number, removing the ``-dev1`` part

* src/django_ftl/__init__.py
* docs/conf.py

* Commit

* Release to PyPI::

./release.sh

* Tag the release e.g.::

git tag v0.1.0

* Update the version numbers again, moving to the next release, and adding "-dev1"

* Add new section to HISTORY.rst

* ``git push --tags``

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.