Skip to content

Commit

Permalink
fluent 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stasm committed Oct 23, 2018
1 parent 122c041 commit 6f3b911
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## fluent 0.9.0 (October 23, 2018)

This release brings support for version 0.7 of the Fluent Syntax spec. The
API remains unchanged. Files written in valid Syntax 0.6 may not parse
correctly in this release. See the summary of backwards-incompatible changes
below.

- Implement Fluent Syntax 0.7. (#287)

The major new feature of Syntax 0.7 is the relaxation of the indentation
requirement for all non-text elements of patterns. It's finally possible
to leave the closing brace of select expressions unindented:

```properties
emails = { $unread_email_count ->
[one] You have one unread email.
*[other] You have { $unread_email_count } unread emails.
}
```

Consult the [changelog](https://github.com/projectfluent/fluent/releases/tag/v0.7.0) to learn about other changes in Syntax 0.7.

### Backward-incompatible changes:

- Variant keys can now be either `NumberLiterals` (as previously) or
`Identifiers`. The `VariantName` node class has been removed. Variant keys
with spaces in them produce syntax errors, e.g. `[New York]`.
- `CR` is not a valid EOL character anymore. Please use `LF` or `CRLF`.
- `Tab` is not recognized as syntax whitespace. It can only be used in
translation content.


## fluent 0.8.0 (July 24, 2018)

- Implement support for Fluent Syntax 0.6. (#69)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='fluent',
version='0.8.0',
version='0.9.0',
description='Localization library for expressive translations.',
author='Mozilla',
author_email='l10n-drivers@mozilla.org',
Expand Down

0 comments on commit 6f3b911

Please sign in to comment.