Skip to content

Commit 8c4afcc

Browse files
committed
fluent-syntax 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-syntax 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. - Add `AST.Placeable` (#64) Added in Syntax Spec 0.4, `AST.Placeable` provides exact span data about the opening and closing brace of placeables. - Expose `FluentSerializer.serializeExpression`. (#134) - Serialize standalone comments with surrounding white-space. - Allow blank lines inside of messages. (#76) - Trim trailing newline from Comments. (#77)
1 parent ae1b55a commit 8c4afcc

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

fluent-syntax/CHANGELOG.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,40 @@
11
# Changelog
22

3-
## Unreleased
3+
## fluent-syntax 0.6.0 (January 31, 2018)
4+
5+
- Implement Fluent Syntax 0.5.
6+
7+
- Add support for terms.
8+
- Add support for `#`, `##` and `###` comments.
9+
- Remove support for tags.
10+
- Add support for `=` after the identifier in message and term
11+
defintions.
12+
- Forbid newlines in string expressions.
13+
- Allow trailing comma in call expression argument lists.
14+
15+
In fluent-syntax 0.6.x the new Syntax 0.5 is supported alongside the old
16+
Syntax 0.4. This should make migrations easier.
17+
18+
`FluentParser` will correctly parse Syntax 0.4 comments (prefixed with
19+
`//`), sections and message definitions without the `=` after the
20+
identifier. The one exception are tags which are no longer supported.
21+
Please use attributed defined on terms instead.
22+
23+
`FluentSerializer` always serializes using the new Syntax 0.5.
24+
25+
- Add `AST.Placeable` (#64)
26+
27+
Added in Syntax Spec 0.4, `AST.Placeable` provides exact span data about
28+
the opening and closing brace of placeables.
29+
30+
- Expose `FluentSerializer.serializeExpression`. (#134)
31+
32+
- Serialize standalone comments with surrounding white-space.
33+
34+
- Allow blank lines inside of messages. (#76)
35+
36+
- Trim trailing newline from Comments. (#77)
437

5-
-
638

739
## fluent-syntax 0.5.0 (June 23rd, 2017)
840

fluent-syntax/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fluent-syntax",
33
"description": "AST and parser for Fluent",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"homepage": "http://projectfluent.org",
66
"author": "Mozilla <[email protected]>",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)