File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## fluent-syntax 0.9.0 (October 23, 2018)
4
+
5
+ This release of ` fluent-syntax ` brings support for version 0.7 of the
6
+ Fluent Syntax spec. The API remains unchanged. Files written in valid
7
+ Syntax 0.6 may not parse correctly in this release. See the summary of
8
+ backwards-incompatible changes below.
9
+
10
+ - Implement Fluent Syntax 0.7. (#287 )
11
+
12
+ The major new feature of Syntax 0.7 is the relaxation of the indentation
13
+ requirement for all non-text elements of patterns. It's finally possible
14
+ to leave the closing brace of select expressions unindented:
15
+
16
+ emails = { $unread_email_count ->
17
+ [one] You have one unread email.
18
+ *[other] You have { $unread_email_count } unread emails.
19
+ }
20
+
21
+ Consult the [ changelog] ( https://github.com/projectfluent/fluent/releases/tag/v0.7.0 )
22
+ to learn about other changes in Syntax 0.7.
23
+
24
+ ### Backward-incompatible changes:
25
+
26
+ - Variant keys can now be either ` NumberLiterals ` (as previously) or
27
+ ` Identifiers ` . The ` VariantName ` node class has been removed. Variant
28
+ keys with spaces in them produce syntax errors, e.g. ` [New York] ` .
29
+ - ` CR ` is not a valid EOL character anymore. Please use ` LF ` or ` CRLF ` .
30
+ - ` Tab ` is not recognized as syntax whitespace. It can only be used in
31
+ translation content.
32
+
3
33
## fluent-syntax 0.8.1 (August 1, 2018)
4
34
5
35
### Bug fixes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fluent-syntax" ,
3
3
"description" : " AST and parser for Fluent" ,
4
- "version" : " 0.8.1 " ,
4
+ "version" : " 0.9.0 " ,
5
5
"homepage" : " http://projectfluent.org" ,
6
6
"author" :
" Mozilla <[email protected] >" ,
7
7
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments