- Added support for Django 5 and Python 3.12
- Dropped support for Django < 2.0, added support for most recent version
- Dropped support for Python 3.6, added support for most recent versions
- Disabled BIDI isolation character for HTML messages - see #6
- Modernized packaging and tests, added more linters/black formatting
- Dropped support for Python 2.7
- Added support for Django 3.2
- Added support for custom functions to the Bundle constructor
- Dropped useless mandatory configuration of
mode
parameter for template tags - it now defaults to'server'
which is the only allowed option anyway.
- Fixed broken (and undocumented)
check_all
method.
- 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: itsload
method now returns afluent_compiler.resource.FtlResource
object instead of a string. If you used a customfinder
forBundle
you may need to update it for this change.
- Switched to using
fluent_compiler
as backend instead of experimental branch influent.runtime
. This means import changes are required:fluent_number
andfluent_date
, if you are using them, should be imported fromfluent_compiler.types
instead offluent.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).
- 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.
- 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.
- Working version
- Depends on our version of python-fluent
- First release on PyPI - empty placeholder package