Skip to content

Commit 2079882

Browse files
committed
fluent-syntax 0.9.0
1 parent be66cd0 commit 2079882

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

fluent-syntax/CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

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+
333
## fluent-syntax 0.8.1 (August 1, 2018)
434

535
### Bug fixes

fluent-syntax/package.json

+1-1
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.8.1",
4+
"version": "0.9.0",
55
"homepage": "http://projectfluent.org",
66
"author": "Mozilla <[email protected]>",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)