File tree 2 files changed +33
-1
lines changed
2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
35
# # fluent 0.8.0 (July 24, 2018)
4
36
5
37
- Implement support for Fluent Syntax 0.6. (# 69)
Original file line number Diff line number Diff line change 3
3
from setuptools import setup
4
4
5
5
setup (name = 'fluent' ,
6
- version = '0.8 .0' ,
6
+ version = '0.9 .0' ,
7
7
description = 'Localization library for expressive translations.' ,
8
8
author = 'Mozilla' ,
9
9
author_email = 'l10n-drivers@mozilla.org' ,
You can’t perform that action at this time.
0 commit comments