Releases: projectfluent/python-fluent
fluent.runtime 0.4.0
fluent.syntax 0.19.0
fluent.syntax 0.18.1
-
Fix serialization of multiline patterns starting with special characters. (#156)
The built-in behavior of
FluentSerializeris to serialize multiline
patterns starting on a new line:key = Foo BarThis used to lead to syntax errors if the pattern started with one of the
special characters in the Fluent Syntax: a curly brace, a period, an
asterisk, or a square bracket, and if it was originally written with the
first line on the same line as the identifier:key = *Foo BarSuch a pattern must not be serialized as following, because the asterisk
has a special meaning if placed at the beginning of a line.# Syntax Error key = *Foo Bar
The fix preserves the original layout of the pattern, i.e. it is now
serialized starting inline with the identifier
fluent.syntax 0.18.0
- Documentation is now on https://projectfluent.org/python-fluent/fluent.syntax/.
- Removal of deprecated
BaseNode.traversemethod. - Refactor
VisitorandTransformerintofluent.syntax.visitor(from.ast)
fluent.runtime 0.3.1
Updated documentation and package metadata.
fluent.pygments 1.0
Documentation and package metadata updated.
fluent.runtime 0.3.0
- Added
fluent.runtime.FluentResourceandfluent.runtime.FluentBundle.add_resource. - Removed
fluent.runtime.FluentBundle.add_messages. - Replaced
bundle.format()withbundle.format_pattern(bundle.get_message().value). - Added
fluent.runtime.FluentLocalizationas main entrypoint for applications.
fluent.syntax 0.17.0
-
Parser fix for whitespace before call arguments.
This includes the fixes for projectfluent/fluent#281.
fluent.runtime 0.2.0
- Release a version with compatibility with the latest
fluent.syntax0.17.0. - First release with Fluent Syntax 1.0
- Next release should revise APIs to be aligned with other implementations.
fluent.pygments 0.1.0
Initial release of fluent.pygments.
Use this module to add syntax highlighting to documentation written in Sphinx and other tools that use pygments underneath.