Skip to content

Commit d308f1f

Browse files
committed
fluent 0.6.0
- Implement Fluent Syntax 0.5. - Add support for terms. - Add support for `#`, `##` and `###` comments. - Remove support for tags. - Add support for `=` after the identifier in message and term defintions. - Forbid newlines in string expressions. - Allow trailing comma in call expression argument lists. In fluent 0.6.x the new Syntax 0.5 is supported alongside the old Syntax 0.4. This should make migrations easier. `FluentParser` will correctly parse Syntax 0.4 comments (prefixed with `//`), sections and message definitions without the `=` after the identifier. The one exception are tags which are no longer supported. Please use attributed defined on terms instead. `FluentSerializer` always serializes using the new Syntax 0.5. - Expose `FluentSerializer.serialize_expression`. - Fix Bug 1428000 - Migrate: only annotate affected files (#34)
1 parent 32bca38 commit d308f1f

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

CHANGELOG.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
11
# Changelog
22

3-
## Unreleased
43

5-
-
4+
## fluent 0.6.0 (January 31, 2018)
5+
6+
- Implement Fluent Syntax 0.5.
7+
8+
- Add support for terms.
9+
- Add support for `#`, `##` and `###` comments.
10+
- Remove support for tags.
11+
- Add support for `=` after the identifier in message and term
12+
defintions.
13+
- Forbid newlines in string expressions.
14+
- Allow trailing comma in call expression argument lists.
15+
16+
In fluent-syntax 0.6.x the new Syntax 0.5 is supported alongside the old
17+
Syntax 0.4. This should make migrations easier.
18+
19+
`FluentParser` will correctly parse Syntax 0.4 comments (prefixed with
20+
`//`), sections and message definitions without the `=` after the
21+
identifier. The one exception are tags which are no longer supported.
22+
Please use attributed defined on terms instead.
23+
24+
`FluentSerializer` always serializes using the new Syntax 0.5.
25+
26+
- Expose `FluentSerializer.serializeExpression`. (#134)
27+
28+
- Fix Bug 1428000 - Migrate: only annotate affected files (#34)
29+
630

731
## fluent 0.4.4 (November 29, 2017)
832

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup
44

55
setup(name='fluent',
6-
version='0.4.4',
6+
version='0.6.0',
77
description='Localization library for expressive translations.',
88
author='Mozilla',
99
author_email='l10n-drivers@mozilla.org',

0 commit comments

Comments
 (0)