Skip to content

Commit 6f3b911

Browse files
committed
fluent 0.9.0
1 parent 122c041 commit 6f3b911

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## fluent 0.9.0 (October 23, 2018)
4+
5+
This release brings support for version 0.7 of the Fluent Syntax spec. The
6+
API remains unchanged. Files written in valid Syntax 0.6 may not parse
7+
correctly in this release. See the summary of backwards-incompatible changes
8+
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+
```properties
17+
emails = { $unread_email_count ->
18+
[one] You have one unread email.
19+
*[other] You have { $unread_email_count } unread emails.
20+
}
21+
```
22+
23+
Consult the [changelog](https://github.com/projectfluent/fluent/releases/tag/v0.7.0) to learn about other changes in Syntax 0.7.
24+
25+
### Backward-incompatible changes:
26+
27+
- Variant keys can now be either `NumberLiterals` (as previously) or
28+
`Identifiers`. The `VariantName` node class has been removed. Variant keys
29+
with spaces in them produce syntax errors, e.g. `[New York]`.
30+
- `CR` is not a valid EOL character anymore. Please use `LF` or `CRLF`.
31+
- `Tab` is not recognized as syntax whitespace. It can only be used in
32+
translation content.
33+
34+
335
## fluent 0.8.0 (July 24, 2018)
436

537
- Implement support for Fluent Syntax 0.6. (#69)

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.8.0',
6+
version='0.9.0',
77
description='Localization library for expressive translations.',
88
author='Mozilla',
99
author_email='l10n-drivers@mozilla.org',

0 commit comments

Comments
 (0)