|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -## Unreleased |
| 3 | +## fluent 0.7.0 (July 24, 2018) |
| 4 | + |
| 5 | + - Implement support for Fluent Syntax 0.6. |
| 6 | + |
| 7 | + Syntax 0.6 keeps the syntax unchanged and makes many small changes to the |
| 8 | + previousl underspecified areas of the spec. The runtime parser now |
| 9 | + supports Unicode escapes and properly trims whitespace in TextElements. |
| 10 | + |
| 11 | + - Add `FluentResource`. (#244) |
| 12 | + |
| 13 | + `FluentResource` is a class representing a parsed Fluent document. It was |
| 14 | + added with caching in mind. It's now possible to parse a Fluent document |
| 15 | + inton an instance of `FluentResouce` once and use it to construct new |
| 16 | + `MessageContexts`. For this end, `MessageContext` now has the |
| 17 | + `addResource` method which takes an instance of `FluentResource`. |
| 18 | + |
| 19 | + - Add the `transform` option to `MessageContext`. (#213) |
| 20 | + |
| 21 | + `MessageContext` now accepts a new option, `transform`, which may be a |
| 22 | + function. If passed it will be used to transform the string parts of |
| 23 | + patterns. This may be used to implement programmatic transformations of |
| 24 | + translations, e.g. to create pseudo-localizations. |
4 | 25 |
|
5 | 26 | - Drop support for IE and old evergreen browsers. (#133)
|
6 | 27 |
|
7 | 28 | Currently supported are: Firefox 52+, Chrome 55+, Edge 15+, Safari 10.1+,
|
8 | 29 | iOS Safari 10.3+ and node 8.9+.
|
9 | 30 |
|
10 |
| - - Move CachedSyncIterable and CachedAsyncIterable to an external dependency. |
| 31 | + - Move `CachedSyncIterable` and `CachedAsyncIterable` to a dependency. |
11 | 32 |
|
12 |
| - They are now available from the `cached-iterable` package. |
| 33 | + They are now available from the `cached-iterable` package. `fluent` |
| 34 | + depends on it for running tests. |
13 | 35 |
|
14 | 36 | ## fluent 0.6.4 (April 11, 2018)
|
15 | 37 |
|
|
0 commit comments