Skip to content

Commit fe75bdf

Browse files
committed
fluent 0.9.1
1 parent 5bbf09e commit fe75bdf

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

fluent/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## fluent 0.9.1 (October 23, 2018)
4+
5+
- Forbid messages with `null` values and no attributes. (#299)
6+
7+
Fix a parser behavior which caused it to parse messages without values
8+
nor attributes as `"message-id": null`. This skewed the return values of
9+
`FluentBundle.hasMessage` which would report `true` for messages which
10+
were `null`. This, in turn, would break code which assumed
11+
`FluentBundle.getMessage` would always return non-`null` values if it was
12+
guarded by a call to `hasMessage` first.
13+
14+
315
## fluent 0.9.0 (October 23, 2018)
416

517
This release of `fluent` brings support for version 0.7 of the Fluent Syntax

fluent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fluent",
33
"description": "Localization library for expressive translations.",
4-
"version": "0.9.0",
4+
"version": "0.9.1",
55
"homepage": "http://projectfluent.org",
66
"author": "Mozilla <[email protected]>",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)